GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
ietf.h File Reference
#include <gpac/list.h>
#include <gpac/bitstream.h>
#include <gpac/sync_layer.h>
#include <gpac/network.h>
+ Include dependency graph for ietf.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  GF_RTSPRange
 
struct  GF_RTSPTransport
 
struct  GF_RTSPCommand
 
struct  GF_RTPInfo
 
struct  GF_RTSPResponse
 
struct  GF_RTPHeader
 
struct  GF_RTPMap
 
struct  GF_X_Attribute
 
struct  GF_SDPBandwidth
 
struct  GF_SDPTiming
 
struct  GF_SDPConnection
 
struct  GF_SDP_FMTP
 
struct  GF_SDPMedia
 
struct  GF_SDPInfo
 
struct  GP_RTPSLMap
 
struct  GP_RTPPacketizer
 
struct  GF_RTPDepacketizer
 

Macros

#define GF_RTSP_VERSION   "RTSP/1.0"
 
#define GF_RTSP_PROFILE_RTP_AVP   "RTP/AVP"
 
#define GF_RTSP_PROFILE_RTP_AVP_TCP   "RTP/AVP/TCP"
 
#define GF_RTSP_PROFILE_UDP   "udp"
 
#define GF_RTSP_DESCRIBE   "DESCRIBE"
 
#define GF_RTSP_SETUP   "SETUP"
 
#define GF_RTSP_PLAY   "PLAY"
 
#define GF_RTSP_PAUSE   "PAUSE"
 
#define GF_RTSP_RECORD   "RECORD"
 
#define GF_RTSP_TEARDOWN   "TEARDOWN"
 
#define GF_RTSP_GET_PARAMETER   "GET_PARAMETER"
 
#define GF_RTSP_SET_PARAMETER   "SET_PARAMETER"
 
#define GF_RTSP_OPTIONS   "OPTIONS"
 
#define GF_RTSP_ANNOUNCE   "ANNOUNCE"
 
#define GF_RTSP_REDIRECTE   "REDIRECT"
 
#define GF_SDP_MAX_TIMEOFFSET   10
 

Enumerations

enum  {
  NC_RTSP_Continue = 100, NC_RTSP_OK = 200, NC_RTSP_Created = 201, NC_RTSP_Low_on_Storage_Space = 250,
  NC_RTSP_Multiple_Choice = 300, NC_RTSP_Moved_Permanently = 301, NC_RTSP_Moved_Temporarily = 302, NC_RTSP_See_Other = 303,
  NC_RTSP_Use_Proxy = 305, NC_RTSP_Bad_Request = 400, NC_RTSP_Unauthorized = 401, NC_RTSP_Payment_Required = 402,
  NC_RTSP_Forbidden = 403, NC_RTSP_Not_Found = 404, NC_RTSP_Method_Not_Allowed = 405, NC_RTSP_Not_Acceptable = 406,
  NC_RTSP_Proxy_Authentication_Required = 407, NC_RTSP_Request_Timeout = 408, NC_RTSP_Gone = 410, NC_RTSP_Length_Required = 411,
  NC_RTSP_Precondition_Failed = 412, NC_RTSP_Request_Entity_Too_Large = 413, NC_RTSP_Request_URI_Too_Long = 414, NC_RTSP_Unsupported_Media_Type = 415,
  NC_RTSP_Invalid_parameter = 451, NC_RTSP_Illegal_Conference_Identifier = 452, NC_RTSP_Not_Enough_Bandwidth = 453, NC_RTSP_Session_Not_Found = 454,
  NC_RTSP_Method_Not_Valid_In_This_State = 455, NC_RTSP_Header_Field_Not_Valid = 456, NC_RTSP_Invalid_Range = 457, NC_RTSP_Parameter_Is_ReadOnly = 458,
  NC_RTSP_Aggregate_Operation_Not_Allowed = 459, NC_RTSP_Only_Aggregate_Operation_Allowed = 460, NC_RTSP_Unsupported_Transport = 461, NC_RTSP_Destination_Unreachable = 462,
  NC_RTSP_Internal_Server_Error = 500, NC_RTSP_Not_Implemented = 501, NC_RTSP_Bad_Gateway = 502, NC_RTSP_Service_Unavailable = 503,
  NC_RTSP_Gateway_Timeout = 504, NC_RTSP_RTSP_Version_Not_Supported = 505, NC_RTSP_Option_not_support = 551
}
 
enum  { GF_RTSP_STATE_INIT = 0, GF_RTSP_STATE_WAITING, GF_RTSP_STATE_WAIT_FOR_CONTROL, GF_RTSP_STATE_INVALIDATED }
 
enum  {
  GF_RTCP_INFO_NAME = 0, GF_RTCP_INFO_EMAIL, GF_RTCP_INFO_PHONE, GF_RTCP_INFO_LOCATION,
  GF_RTCP_INFO_TOOL, GF_RTCP_INFO_NOTE, GF_RTCP_INFO_PRIV
}
 
enum  {
  GP_RTP_PCK_FORCE_MPEG4 = (1), GP_RTP_PCK_USE_MULTI = (1<<1), GP_RTP_PCK_USE_INTERLEAVING = (1<<2), GP_RTP_PCK_USE_STATIC_ID = (1<<3),
  GP_RTP_PCK_SIGNAL_RAP = (1<<4), GP_RTP_PCK_SIGNAL_AU_IDX = (1<<5), GP_RTP_PCK_SIGNAL_SIZE = (1<<6), GP_RTP_PCK_SIGNAL_TS = (1<<7),
  GP_RTP_PCK_SYSTEMS_CAROUSEL = (1<<8), GP_RTP_PCK_USE_LATM_AAC = (1<<9), GP_RTP_PCK_SELECTIVE_ENCRYPTION = (1<<10), GP_RTP_PCK_KEY_IDX_PER_AU = (1<<11),
  GP_RTP_DIMS_COMPRESSED = (1<<12)
}
 
enum  {
  GF_RTP_PAYT_UNKNOWN, GF_RTP_PAYT_MPEG4, GF_RTP_PAYT_MPEG12_VIDEO, GF_RTP_PAYT_MPEG12_AUDIO,
  GF_RTP_PAYT_H263, GF_RTP_PAYT_AMR, GF_RTP_PAYT_AMR_WB, GF_RTP_PAYT_QCELP,
  GF_RTP_PAYT_EVRC_SMV, GF_RTP_PAYT_3GPP_TEXT, GF_RTP_PAYT_H264_AVC, GF_RTP_PAYT_LATM,
  GF_RTP_PAYT_3GPP_DIMS, GF_RTP_PAYT_AC3, GF_RTP_PAYT_H264_SVC, GF_RTP_PAYT_HEVC
}
 
enum  {
  GF_RTP_NEW_AU = (1), GF_RTP_AMR_ALIGN = (1<<1), GF_RTP_M4V_CHECK_RAP = (1<<2), GF_RTP_UNRELIABLE_M = (1<<3),
  GF_RTP_AVC_WAIT_RAP = (1<<4), GF_RTP_HAS_ISMACRYP = (1<<5), GF_RTP_ISMA_SEL_ENC = (1<<6), GF_RTP_ISMA_HAS_KEY_IDX = (1<<7),
  GF_RTP_AVC_USE_ANNEX_B = (1<<8)
}
 

Functions

const char * gf_rtsp_nc_to_string (u32 ErrCode)
 
GF_RTSPRangegf_rtsp_range_parse (char *range_buf)
 
GF_RTSPRangegf_rtsp_range_new ()
 
void gf_rtsp_range_del (GF_RTSPRange *range)
 
GF_RTSPTransportgf_rtsp_transport_clone (GF_RTSPTransport *original)
 
void gf_rtsp_transport_del (GF_RTSPTransport *transp)
 
GF_RTSPCommandgf_rtsp_command_new ()
 
void gf_rtsp_command_del (GF_RTSPCommand *com)
 
void gf_rtsp_command_reset (GF_RTSPCommand *com)
 
GF_RTSPResponsegf_rtsp_response_new ()
 
void gf_rtsp_response_del (GF_RTSPResponse *rsp)
 
void gf_rtsp_response_reset (GF_RTSPResponse *rsp)
 
GF_RTSPSession * gf_rtsp_session_new (char *sURL, u16 DefaultPort)
 
void gf_rtsp_session_del (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_set_buffer_size (GF_RTSPSession *sess, u32 BufferSize)
 
void gf_rtsp_set_mobile_ip (GF_RTSPSession *sess, char *MobileIP)
 
void gf_rtsp_session_reset (GF_RTSPSession *sess, Bool ResetConnection)
 
u32 gf_rtsp_is_my_session (GF_RTSPSession *sess, char *url)
 
const char * gf_rtsp_get_last_session_id (GF_RTSPSession *sess)
 
char * gf_rtsp_get_server_name (GF_RTSPSession *sess)
 
char * gf_rtsp_get_service_name (GF_RTSPSession *sess)
 
u16 gf_rtsp_get_session_port (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_get_response (GF_RTSPSession *sess, GF_RTSPResponse *rsp)
 
u32 gf_rtsp_get_session_state (GF_RTSPSession *sess)
 
char * gf_rtsp_get_last_request (GF_RTSPSession *sess)
 
void gf_rtsp_reset_aggregation (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_send_command (GF_RTSPSession *sess, GF_RTSPCommand *com)
 
GF_Err gf_rtsp_set_interleave_callback (GF_RTSPSession *sess, GF_Err(*SignalData)(GF_RTSPSession *sess, void *cbk_ptr, char *buffer, u32 bufferSize, Bool IsRTCP))
 
GF_Err gf_rtsp_session_read (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_register_interleave (GF_RTSPSession *sess, void *the_ch, u8 LowInterID, u8 HighInterID)
 
u32 gf_rtsp_unregister_interleave (GF_RTSPSession *sess, u8 LowInterID)
 
GF_RTSPSession * gf_rtsp_session_new_server (GF_Socket *rtsp_listener)
 
GF_Err gf_rtsp_get_command (GF_RTSPSession *sess, GF_RTSPCommand *com)
 
GF_Err gf_rtsp_load_service_name (GF_RTSPSession *sess, char *URL)
 
char * gf_rtsp_generate_session_id (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_send_response (GF_RTSPSession *sess, GF_RTSPResponse *rsp)
 
GF_Err gf_rtsp_get_session_ip (GF_RTSPSession *sess, char *buffer)
 
u8 gf_rtsp_get_next_interleave_id (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_get_remote_address (GF_RTSPSession *sess, char *buffer)
 
GF_RTPChannel * gf_rtp_new ()
 
void gf_rtp_del (GF_RTPChannel *ch)
 
GF_Err gf_rtp_setup_transport (GF_RTPChannel *ch, GF_RTSPTransport *trans_info, const char *remote_address)
 
GF_Err gf_rtp_set_ports (GF_RTPChannel *ch, u16 first_port)
 
GF_Err gf_rtp_setup_payload (GF_RTPChannel *ch, GF_RTPMap *map)
 
void gf_rtp_enable_nat_keepalive (GF_RTPChannel *ch, u32 nat_timeout)
 
GF_Err gf_rtp_initialize (GF_RTPChannel *ch, u32 UDPBufferSize, Bool IsSource, u32 PathMTU, u32 ReorederingSize, u32 MaxReorderDelay, char *local_interface_ip)
 
GF_Err gf_rtp_stop (GF_RTPChannel *ch)
 
GF_Err gf_rtp_set_info_rtp (GF_RTPChannel *ch, u32 seq_num, u32 rtp_time, u32 ssrc)
 
Double gf_rtp_get_current_time (GF_RTPChannel *ch)
 
void gf_rtp_reset_buffers (GF_RTPChannel *ch)
 
u32 gf_rtp_read_rtp (GF_RTPChannel *ch, char *buffer, u32 buffer_size)
 
u32 gf_rtp_read_rtcp (GF_RTPChannel *ch, char *buffer, u32 buffer_size)
 
GF_Err gf_rtp_decode_rtp (GF_RTPChannel *ch, char *pck, u32 pck_size, GF_RTPHeader *rtp_hdr, u32 *PayloadStart)
 
GF_Err gf_rtp_decode_rtcp (GF_RTPChannel *ch, char *pck, u32 pck_size, Bool *has_sr)
 
GF_Err gf_rtp_send_rtcp_report (GF_RTPChannel *ch, GF_Err(*RTP_TCPCallback)(void *cbk, char *pck, u32 pck_size), void *rtsp_cbk)
 
GF_Err gf_rtp_send_bye (GF_RTPChannel *ch, GF_Err(*RTP_TCPCallback)(void *cbk, char *pck, u32 pck_size), void *rtsp_cbk)
 
GF_Err gf_rtp_send_packet (GF_RTPChannel *ch, GF_RTPHeader *rtp_hdr, char *pck, u32 pck_size, Bool fast_send)
 
GF_Err gf_rtp_set_info_rtcp (GF_RTPChannel *ch, u32 InfoCode, char *info_string)
 
u32 gf_rtp_is_unicast (GF_RTPChannel *ch)
 
u32 gf_rtp_is_interleaved (GF_RTPChannel *ch)
 
u32 gf_rtp_get_clockrate (GF_RTPChannel *ch)
 
u32 gf_rtp_is_active (GF_RTPChannel *ch)
 
u8 gf_rtp_get_low_interleave_id (GF_RTPChannel *ch)
 
u8 gf_rtp_get_hight_interleave_id (GF_RTPChannel *ch)
 
GF_RTSPTransportgf_rtp_get_transport (GF_RTPChannel *ch)
 
u32 gf_rtp_get_local_ssrc (GF_RTPChannel *ch)
 
Float gf_rtp_get_loss (GF_RTPChannel *ch)
 
u32 gf_rtp_get_tcp_bytes_sent (GF_RTPChannel *ch)
 
void gf_rtp_get_ports (GF_RTPChannel *ch, u16 *rtp_port, u16 *rtcp_port)
 
GF_SDPInfogf_sdp_info_new ()
 
void gf_sdp_info_del (GF_SDPInfo *sdp)
 
void gf_sdp_info_reset (GF_SDPInfo *sdp)
 
GF_Err gf_sdp_info_parse (GF_SDPInfo *sdp, char *sdp_text, u32 text_size)
 
GF_Err gf_sdp_info_check (GF_SDPInfo *sdp)
 
GF_Err gf_sdp_info_write (GF_SDPInfo *sdp, char **out_str_buf)
 
GF_SDPMediagf_sdp_media_new ()
 
void gf_sdp_media_del (GF_SDPMedia *media)
 
GF_SDPConnectiongf_sdp_conn_new ()
 
void gf_sdp_conn_del (GF_SDPConnection *conn)
 
GF_SDP_FMTPgf_sdp_fmtp_new ()
 
void gf_sdp_fmtp_del (GF_SDP_FMTP *fmtp)
 
GP_RTPPacketizer * gf_rtp_builder_new (u32 rtp_payt, GF_SLConfig *slc, u32 flags, void *cbk_obj, void(*OnNewPacket)(void *cbk, GF_RTPHeader *header), void(*OnPacketDone)(void *cbk, GF_RTPHeader *header), void(*OnDataReference)(void *cbk, u32 payload_size, u32 offset_from_orig), void(*OnData)(void *cbk, char *data, u32 data_size, Bool is_head))
 
void gf_rtp_builder_del (GP_RTPPacketizer *builder)
 
void gf_rtp_builder_init (GP_RTPPacketizer *builder, u8 PayloadType, u32 MaxPayloadSize, u32 max_ptime, u32 StreamType, u32 OTI, u32 PL_ID, u32 avgSize, u32 maxSize, u32 avgTS, u32 maxDTS, u32 IV_length, u32 KI_length, char *pref_mode)
 
void gp_rtp_builder_set_cryp_info (GP_RTPPacketizer *builder, u64 IV, char *key_indicator, Bool is_encrypted)
 
GF_Err gf_rtp_builder_process (GP_RTPPacketizer *builder, char *data, u32 data_size, u8 IsAUEnd, u32 FullAUSize, u32 duration, u8 descIndex)
 
GF_Err gf_rtp_builder_format_sdp (GP_RTPPacketizer *builder, char *payload_name, char *sdpLine, char *dsi, u32 dsi_size)
 
Bool gf_rtp_builder_get_payload_name (GP_RTPPacketizer *builder, char *szPayloadName, char *szMediaName)
 
GF_RTPDepacketizer * gf_rtp_depacketizer_new (GF_SDPMedia *media, void(*sl_packet_cbk)(void *udta, char *payload, u32 size, GF_SLHeader *hdr, GF_Err e), void *udta)
 
void gf_rtp_depacketizer_del (GF_RTPDepacketizer *rtp)
 
void gf_rtp_depacketizer_reset (GF_RTPDepacketizer *rtp, Bool full_reset)
 
void gf_rtp_depacketizer_process (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, char *payload, u32 size)
 
void gf_rtp_depacketizer_get_slconfig (GF_RTPDepacketizer *rtp, GF_SLConfig *sl)
 

Data Structure Documentation

struct GF_RTSPRange
+ Collaboration diagram for GF_RTSPRange:
Data Fields
Double start
Double end
u32 UseSMPTE
Double FPS
struct GF_RTSPTransport
+ Collaboration diagram for GF_RTSPTransport:
Data Fields
Bool IsUnicast
char * destination
char * source
Bool IsRecord
Bool Append
Bool IsInterleaved
Bool rtpID
Bool rtcpID
u32 MulticastLayers
u8 TTL
u16 port_first
u16 port_last
u16 client_port_first
u16 client_port_last
u32 SSRC
char * Profile
struct GF_RTSPCommand
+ Collaboration diagram for GF_RTSPCommand:
Data Fields
char * Accept
char * Accept_Encoding
char * Accept_Language
char * Authorization
u32 Bandwidth
u32 Blocksize
char * Cache_Control
char * Conference
char * Connection
u32 Content_Length
u32 CSeq
char * From
char * Proxy_Authorization
char * Proxy_Require
GF_RTSPRange * Range
char * Referer
Double Scale
char * Session
Double Speed
GF_List * Transports
char * User_Agent
char * method
GF_List * Xtensions
char * body
char * ControlString
void * user_data
char * service_name
u32 StatusCode
struct GF_RTPInfo
+ Collaboration diagram for GF_RTPInfo:
Data Fields
char * url
u32 seq
u32 rtp_time
u32 ssrc
struct GF_RTSPResponse
+ Collaboration diagram for GF_RTSPResponse:
Data Fields
u32 ResponseCode
char * ResponseInfo
char * Accept
char * Accept_Encoding
char * Accept_Language
char * Allow
char * Authorization
u32 Bandwidth
u32 Blocksize
char * Cache_Control
char * Conference
char * Connection
char * Content_Base
char * Content_Encoding
char * Content_Language
u32 Content_Length
char * Content_Location
char * Content_Type
u32 CSeq
char * Date
char * Expires
char * From
char * Host
char * If_Match
char * If_Modified_Since
char * Last_Modified
char * Location
char * Proxy_Authenticate
char * Proxy_Require
char * Public
GF_RTSPRange * Range
char * Referer
char * Require
char * Retry_After
GF_List * RTP_Infos
Double Scale
char * Server
char * Session
u32 SessionTimeOut
Double Speed
char * Timestamp
GF_List * Transports
char * Unsupported
char * User_Agent
char * Vary
char * Via
char * WWW_Authenticate
GF_List * Xtensions
char * body
struct GF_RTPHeader
+ Collaboration diagram for GF_RTPHeader:
Data Fields
u8 Version
u8 Padding
u8 Extension
u8 CSRCCount
u8 Marker
u8 PayloadType
u16 SequenceNumber
u32 TimeStamp
u32 SSRC
u32 CSRC[16]
struct GF_RTPMap
+ Collaboration diagram for GF_RTPMap:
Data Fields
u32 PayloadType
char * payload_name
u32 ClockRate
u32 AudioChannels
struct GF_X_Attribute
+ Collaboration diagram for GF_X_Attribute:
Data Fields
char * Name
char * Value
struct GF_SDPBandwidth
+ Collaboration diagram for GF_SDPBandwidth:
Data Fields
char * name
u32 value
struct GF_SDPTiming
+ Collaboration diagram for GF_SDPTiming:
Data Fields
u32 StartTime
u32 StopTime
u32 RepeatInterval
u32 ActiveDuration
u32 OffsetFromStart[10]
u32 NbRepeatOffsets
u32 AdjustmentTime[10]
s32 AdjustmentOffset[10]
u32 NbZoneOffsets
struct GF_SDPConnection
+ Collaboration diagram for GF_SDPConnection:
Data Fields
char * net_type
char * add_type
char * host
s32 TTL
u32 add_count
struct GF_SDP_FMTP
+ Collaboration diagram for GF_SDP_FMTP:
Data Fields
u32 PayloadType
GF_List * Attributes
struct GF_SDPMedia
+ Collaboration diagram for GF_SDPMedia:
Data Fields
u32 Type
u32 PortNumber
u32 NumPorts
char * Profile
GF_List * Connections
GF_List * RTPMaps
GF_List * FMTP
char * fmt_list
GF_List * Attributes
char * k_method
char * k_key
GF_List * Bandwidths
u32 PacketTime
u32 SendReceive
char * orientation
char * sdplang
char * lang
Double FrameRate
s32 Quality
struct GF_SDPInfo
+ Collaboration diagram for GF_SDPInfo:
Data Fields
u32 Version
char * o_username
char * o_session_id
char * o_version
char * o_address
char * o_net_type
char * o_add_type
char * s_session_name
char * i_description
char * u_uri
char * e_email
char * p_phone
GF_SDPConnection * c_connection
GF_List * b_bandwidth
GF_List * Timing
char * k_method
char * k_key
char * a_cat
char * a_keywds
char * a_tool
u32 a_SendReceive
char * a_type
char * a_charset
char * a_sdplang
char * a_lang
GF_List * Attributes
GF_List * media_desc
struct GP_RTPSLMap
+ Collaboration diagram for GP_RTPSLMap:
Data Fields
char mode[30]
char * config
u32 configSize
u8 StreamType
u32 PL_ID
u16 rvc_predef
char * rvc_config
u32 rvc_config_size
u32 ConstantSize
u32 ConstantDuration
u8 ObjectTypeIndication
u32 maxDisplacement
u32 deinterleaveBufferSize
u32 SizeLength
u32 IndexLength
u32 IndexDeltaLength
u32 DTSDeltaLength
u32 CTSDeltaLength
Bool RandomAccessIndication
u32 StreamStateIndication
u32 AuxiliaryDataSizeLength
u8 IV_length
u8 IV_delta_length
u8 KI_length
u32 auh_first_min_len
u32 auh_min_len

Macro Definition Documentation

#define GF_RTSP_VERSION   "RTSP/1.0"
#define GF_RTSP_PROFILE_RTP_AVP   "RTP/AVP"
#define GF_RTSP_PROFILE_RTP_AVP_TCP   "RTP/AVP/TCP"
#define GF_RTSP_PROFILE_UDP   "udp"
#define GF_RTSP_DESCRIBE   "DESCRIBE"
#define GF_RTSP_SETUP   "SETUP"
#define GF_RTSP_PLAY   "PLAY"
#define GF_RTSP_PAUSE   "PAUSE"
#define GF_RTSP_RECORD   "RECORD"
#define GF_RTSP_TEARDOWN   "TEARDOWN"
#define GF_RTSP_GET_PARAMETER   "GET_PARAMETER"
#define GF_RTSP_SET_PARAMETER   "SET_PARAMETER"
#define GF_RTSP_OPTIONS   "OPTIONS"
#define GF_RTSP_ANNOUNCE   "ANNOUNCE"
#define GF_RTSP_REDIRECTE   "REDIRECT"
#define GF_SDP_MAX_TIMEOFFSET   10

Enumeration Type Documentation

anonymous enum
Enumerator
NC_RTSP_Continue 
NC_RTSP_OK 
NC_RTSP_Created 
NC_RTSP_Low_on_Storage_Space 
NC_RTSP_Multiple_Choice 
NC_RTSP_Moved_Permanently 
NC_RTSP_Moved_Temporarily 
NC_RTSP_See_Other 
NC_RTSP_Use_Proxy 
NC_RTSP_Bad_Request 
NC_RTSP_Unauthorized 
NC_RTSP_Payment_Required 
NC_RTSP_Forbidden 
NC_RTSP_Not_Found 
NC_RTSP_Method_Not_Allowed 
NC_RTSP_Not_Acceptable 
NC_RTSP_Proxy_Authentication_Required 
NC_RTSP_Request_Timeout 
NC_RTSP_Gone 
NC_RTSP_Length_Required 
NC_RTSP_Precondition_Failed 
NC_RTSP_Request_Entity_Too_Large 
NC_RTSP_Request_URI_Too_Long 
NC_RTSP_Unsupported_Media_Type 
NC_RTSP_Invalid_parameter 
NC_RTSP_Illegal_Conference_Identifier 
NC_RTSP_Not_Enough_Bandwidth 
NC_RTSP_Session_Not_Found 
NC_RTSP_Method_Not_Valid_In_This_State 
NC_RTSP_Header_Field_Not_Valid 
NC_RTSP_Invalid_Range 
NC_RTSP_Parameter_Is_ReadOnly 
NC_RTSP_Aggregate_Operation_Not_Allowed 
NC_RTSP_Only_Aggregate_Operation_Allowed 
NC_RTSP_Unsupported_Transport 
NC_RTSP_Destination_Unreachable 
NC_RTSP_Internal_Server_Error 
NC_RTSP_Not_Implemented 
NC_RTSP_Bad_Gateway 
NC_RTSP_Service_Unavailable 
NC_RTSP_Gateway_Timeout 
NC_RTSP_RTSP_Version_Not_Supported 
NC_RTSP_Option_not_support 
anonymous enum
Enumerator
GF_RTSP_STATE_INIT 
GF_RTSP_STATE_WAITING 
GF_RTSP_STATE_WAIT_FOR_CONTROL 
GF_RTSP_STATE_INVALIDATED 
anonymous enum
Enumerator
GF_RTCP_INFO_NAME 
GF_RTCP_INFO_EMAIL 
GF_RTCP_INFO_PHONE 
GF_RTCP_INFO_LOCATION 
GF_RTCP_INFO_TOOL 
GF_RTCP_INFO_NOTE 
GF_RTCP_INFO_PRIV 
anonymous enum
Enumerator
GP_RTP_PCK_FORCE_MPEG4 
GP_RTP_PCK_USE_MULTI 
GP_RTP_PCK_USE_INTERLEAVING 
GP_RTP_PCK_USE_STATIC_ID 
GP_RTP_PCK_SIGNAL_RAP 
GP_RTP_PCK_SIGNAL_AU_IDX 
GP_RTP_PCK_SIGNAL_SIZE 
GP_RTP_PCK_SIGNAL_TS 
GP_RTP_PCK_SYSTEMS_CAROUSEL 
GP_RTP_PCK_USE_LATM_AAC 
GP_RTP_PCK_SELECTIVE_ENCRYPTION 
GP_RTP_PCK_KEY_IDX_PER_AU 
GP_RTP_DIMS_COMPRESSED 
anonymous enum
Enumerator
GF_RTP_PAYT_UNKNOWN 
GF_RTP_PAYT_MPEG4 
GF_RTP_PAYT_MPEG12_VIDEO 
GF_RTP_PAYT_MPEG12_AUDIO 
GF_RTP_PAYT_H263 
GF_RTP_PAYT_AMR 
GF_RTP_PAYT_AMR_WB 
GF_RTP_PAYT_QCELP 
GF_RTP_PAYT_EVRC_SMV 
GF_RTP_PAYT_3GPP_TEXT 
GF_RTP_PAYT_H264_AVC 
GF_RTP_PAYT_LATM 
GF_RTP_PAYT_3GPP_DIMS 
GF_RTP_PAYT_AC3 
GF_RTP_PAYT_H264_SVC 
GF_RTP_PAYT_HEVC 
anonymous enum
Enumerator
GF_RTP_NEW_AU 
GF_RTP_AMR_ALIGN 
GF_RTP_M4V_CHECK_RAP 
GF_RTP_UNRELIABLE_M 
GF_RTP_AVC_WAIT_RAP 
GF_RTP_HAS_ISMACRYP 
GF_RTP_ISMA_SEL_ENC 
GF_RTP_ISMA_HAS_KEY_IDX 
GF_RTP_AVC_USE_ANNEX_B 

Function Documentation

const char* gf_rtsp_nc_to_string ( u32  ErrCode)

+ Here is the caller graph for this function:

GF_RTSPRange* gf_rtsp_range_parse ( char *  range_buf)

+ Here is the caller graph for this function:

GF_RTSPRange* gf_rtsp_range_new ( )

+ Here is the caller graph for this function:

void gf_rtsp_range_del ( GF_RTSPRange range)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_RTSPTransport* gf_rtsp_transport_clone ( GF_RTSPTransport original)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtsp_transport_del ( GF_RTSPTransport transp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_RTSPCommand* gf_rtsp_command_new ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtsp_command_del ( GF_RTSPCommand com)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtsp_command_reset ( GF_RTSPCommand com)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_RTSPResponse* gf_rtsp_response_new ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtsp_response_del ( GF_RTSPResponse rsp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtsp_response_reset ( GF_RTSPResponse rsp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_RTSPSession* gf_rtsp_session_new ( char *  sURL,
u16  DefaultPort 
)

+ Here is the caller graph for this function:

void gf_rtsp_session_del ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtsp_set_buffer_size ( GF_RTSPSession *  sess,
u32  BufferSize 
)

+ Here is the caller graph for this function:

void gf_rtsp_set_mobile_ip ( GF_RTSPSession *  sess,
char *  MobileIP 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtsp_session_reset ( GF_RTSPSession *  sess,
Bool  ResetConnection 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_rtsp_is_my_session ( GF_RTSPSession *  sess,
char *  url 
)

+ Here is the caller graph for this function:

const char* gf_rtsp_get_last_session_id ( GF_RTSPSession *  sess)
char* gf_rtsp_get_server_name ( GF_RTSPSession *  sess)

+ Here is the caller graph for this function:

char* gf_rtsp_get_service_name ( GF_RTSPSession *  sess)

+ Here is the caller graph for this function:

u16 gf_rtsp_get_session_port ( GF_RTSPSession *  sess)

+ Here is the caller graph for this function:

GF_Err gf_rtsp_get_response ( GF_RTSPSession *  sess,
GF_RTSPResponse rsp 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_rtsp_get_session_state ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

char* gf_rtsp_get_last_request ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

void gf_rtsp_reset_aggregation ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtsp_send_command ( GF_RTSPSession *  sess,
GF_RTSPCommand com 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtsp_set_interleave_callback ( GF_RTSPSession *  sess,
GF_Err(*)(GF_RTSPSession *sess, void *cbk_ptr, char *buffer, u32 bufferSize, Bool IsRTCP)  SignalData 
)

+ Here is the caller graph for this function:

GF_Err gf_rtsp_session_read ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtsp_register_interleave ( GF_RTSPSession *  sess,
void *  the_ch,
u8  LowInterID,
u8  HighInterID 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_rtsp_unregister_interleave ( GF_RTSPSession *  sess,
u8  LowInterID 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_RTSPSession* gf_rtsp_session_new_server ( GF_Socket *  rtsp_listener)

+ Here is the call graph for this function:

GF_Err gf_rtsp_get_command ( GF_RTSPSession *  sess,
GF_RTSPCommand com 
)

+ Here is the call graph for this function:

GF_Err gf_rtsp_load_service_name ( GF_RTSPSession *  sess,
char *  URL 
)

+ Here is the call graph for this function:

char* gf_rtsp_generate_session_id ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

GF_Err gf_rtsp_send_response ( GF_RTSPSession *  sess,
GF_RTSPResponse rsp 
)

+ Here is the call graph for this function:

GF_Err gf_rtsp_get_session_ip ( GF_RTSPSession *  sess,
char *  buffer 
)

+ Here is the call graph for this function:

u8 gf_rtsp_get_next_interleave_id ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

GF_Err gf_rtsp_get_remote_address ( GF_RTSPSession *  sess,
char *  buffer 
)

+ Here is the call graph for this function:

GF_RTPChannel* gf_rtp_new ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtp_del ( GF_RTPChannel *  ch)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_setup_transport ( GF_RTPChannel *  ch,
GF_RTSPTransport trans_info,
const char *  remote_address 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_set_ports ( GF_RTPChannel *  ch,
u16  first_port 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_setup_payload ( GF_RTPChannel *  ch,
GF_RTPMap map 
)

+ Here is the caller graph for this function:

void gf_rtp_enable_nat_keepalive ( GF_RTPChannel *  ch,
u32  nat_timeout 
)

+ Here is the caller graph for this function:

GF_Err gf_rtp_initialize ( GF_RTPChannel *  ch,
u32  UDPBufferSize,
Bool  IsSource,
u32  PathMTU,
u32  ReorederingSize,
u32  MaxReorderDelay,
char *  local_interface_ip 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_stop ( GF_RTPChannel *  ch)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_set_info_rtp ( GF_RTPChannel *  ch,
u32  seq_num,
u32  rtp_time,
u32  ssrc 
)

+ Here is the caller graph for this function:

Double gf_rtp_get_current_time ( GF_RTPChannel *  ch)

+ Here is the caller graph for this function:

void gf_rtp_reset_buffers ( GF_RTPChannel *  ch)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_rtp_read_rtp ( GF_RTPChannel *  ch,
char *  buffer,
u32  buffer_size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_rtp_read_rtcp ( GF_RTPChannel *  ch,
char *  buffer,
u32  buffer_size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_decode_rtp ( GF_RTPChannel *  ch,
char *  pck,
u32  pck_size,
GF_RTPHeader rtp_hdr,
u32 PayloadStart 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_decode_rtcp ( GF_RTPChannel *  ch,
char *  pck,
u32  pck_size,
Bool has_sr 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_send_rtcp_report ( GF_RTPChannel *  ch,
GF_Err(*)(void *cbk, char *pck, u32 pck_size)  RTP_TCPCallback,
void *  rtsp_cbk 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_send_bye ( GF_RTPChannel *  ch,
GF_Err(*)(void *cbk, char *pck, u32 pck_size)  RTP_TCPCallback,
void *  rtsp_cbk 
)

+ Here is the call graph for this function:

GF_Err gf_rtp_send_packet ( GF_RTPChannel *  ch,
GF_RTPHeader rtp_hdr,
char *  pck,
u32  pck_size,
Bool  fast_send 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_set_info_rtcp ( GF_RTPChannel *  ch,
u32  InfoCode,
char *  info_string 
)

+ Here is the call graph for this function:

u32 gf_rtp_is_unicast ( GF_RTPChannel *  ch)

+ Here is the caller graph for this function:

u32 gf_rtp_is_interleaved ( GF_RTPChannel *  ch)

+ Here is the caller graph for this function:

u32 gf_rtp_get_clockrate ( GF_RTPChannel *  ch)

+ Here is the caller graph for this function:

u32 gf_rtp_is_active ( GF_RTPChannel *  ch)
u8 gf_rtp_get_low_interleave_id ( GF_RTPChannel *  ch)

+ Here is the caller graph for this function:

u8 gf_rtp_get_hight_interleave_id ( GF_RTPChannel *  ch)

+ Here is the caller graph for this function:

GF_RTSPTransport* gf_rtp_get_transport ( GF_RTPChannel *  ch)

+ Here is the caller graph for this function:

u32 gf_rtp_get_local_ssrc ( GF_RTPChannel *  ch)
Float gf_rtp_get_loss ( GF_RTPChannel *  ch)

+ Here is the caller graph for this function:

u32 gf_rtp_get_tcp_bytes_sent ( GF_RTPChannel *  ch)

+ Here is the caller graph for this function:

void gf_rtp_get_ports ( GF_RTPChannel *  ch,
u16 rtp_port,
u16 rtcp_port 
)

+ Here is the caller graph for this function:

GF_SDPInfo* gf_sdp_info_new ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sdp_info_del ( GF_SDPInfo sdp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sdp_info_reset ( GF_SDPInfo sdp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sdp_info_parse ( GF_SDPInfo sdp,
char *  sdp_text,
u32  text_size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sdp_info_check ( GF_SDPInfo sdp)

media->PortNumber ||

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sdp_info_write ( GF_SDPInfo sdp,
char **  out_str_buf 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SDPMedia* gf_sdp_media_new ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sdp_media_del ( GF_SDPMedia media)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SDPConnection* gf_sdp_conn_new ( )

+ Here is the caller graph for this function:

void gf_sdp_conn_del ( GF_SDPConnection conn)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SDP_FMTP* gf_sdp_fmtp_new ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sdp_fmtp_del ( GF_SDP_FMTP fmtp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GP_RTPPacketizer* gf_rtp_builder_new ( u32  rtp_payt,
GF_SLConfig slc,
u32  flags,
void *  cbk_obj,
void(*)(void *cbk, GF_RTPHeader *header)  OnNewPacket,
void(*)(void *cbk, GF_RTPHeader *header)  OnPacketDone,
void(*)(void *cbk, u32 payload_size, u32 offset_from_orig)  OnDataReference,
void(*)(void *cbk, char *data, u32 data_size, Bool is_head)  OnData 
)

+ Here is the caller graph for this function:

void gf_rtp_builder_del ( GP_RTPPacketizer *  builder)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtp_builder_init ( GP_RTPPacketizer *  builder,
u8  PayloadType,
u32  MaxPayloadSize,
u32  max_ptime,
u32  StreamType,
u32  OTI,
u32  PL_ID,
u32  avgSize,
u32  maxSize,
u32  avgTS,
u32  maxDTS,
u32  IV_length,
u32  KI_length,
char *  pref_mode 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gp_rtp_builder_set_cryp_info ( GP_RTPPacketizer *  builder,
u64  IV,
char *  key_indicator,
Bool  is_encrypted 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_builder_process ( GP_RTPPacketizer *  builder,
char *  data,
u32  data_size,
u8  IsAUEnd,
u32  FullAUSize,
u32  duration,
u8  descIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_builder_format_sdp ( GP_RTPPacketizer *  builder,
char *  payload_name,
char *  sdpLine,
char *  dsi,
u32  dsi_size 
)

+ Here is the caller graph for this function:

Bool gf_rtp_builder_get_payload_name ( GP_RTPPacketizer *  builder,
char *  szPayloadName,
char *  szMediaName 
)

+ Here is the caller graph for this function:

GF_RTPDepacketizer* gf_rtp_depacketizer_new ( GF_SDPMedia media,
void(*)(void *udta, char *payload, u32 size, GF_SLHeader *hdr, GF_Err e)  sl_packet_cbk,
void *  udta 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtp_depacketizer_del ( GF_RTPDepacketizer *  rtp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtp_depacketizer_reset ( GF_RTPDepacketizer *  rtp,
Bool  full_reset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtp_depacketizer_process ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
char *  payload,
u32  size 
)

+ Here is the caller graph for this function:

void gf_rtp_depacketizer_get_slconfig ( GF_RTPDepacketizer *  rtp,
GF_SLConfig sl 
)

+ Here is the caller graph for this function: