libgpac
Documentation of the core library of GPAC
|
Tools for real-time streaming over IP using RTP/RTCP/RTSP/SDP . More...
#include <gpac/list.h>
#include <gpac/bitstream.h>
#include <gpac/sync_layer.h>
#include <gpac/network.h>
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 | GF_RTPStaticMap |
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_REDIRECT "REDIRECT" |
#define | GF_RTSP_TUNNEL_POST -1000 |
#define | GF_SDP_MAX_TIMEOFFSET 10 |
Typedefs | |
typedef struct _tag_rtsp_session | GF_RTSPSession |
typedef GF_Err(* | gf_rtsp_interleave_callback) (GF_RTSPSession *sess, void *cbk_ptr, u8 *buffer, u32 bufferSize, Bool IsRTCP) |
typedef struct __tag_rtp_channel | GF_RTPChannel |
typedef GF_Err(* | gf_rtp_tcp_callback) (void *cbk1, void *cbk2, Bool is_rtcp, u8 *pck, u32 pck_size) |
typedef struct __tag_rtp_packetizer | GP_RTPPacketizer |
typedef void(* | gf_rtp_packet_cbk) (void *udta, u8 *payload, u32 size, GF_SLHeader *hdr, GF_Err e) |
typedef struct __tag_rtp_depacketizer | GF_RTPDepacketizer |
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 | { 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) , GP_RTP_PCK_FORCE_STATIC_ID = (1<<13) } |
enum | { GF_RTP_PAYT_PCMU = 0 , GF_RTP_PAYT_GSM , GF_RTP_PAYT_G723 , GF_RTP_PAYT_DVI4_8K , GF_RTP_PAYT_DVI4_16K , GF_RTP_PAYT_LPC , GF_RTP_PAYT_PCMA , GF_RTP_PAYT_G722 , GF_RTP_PAYT_L16_STEREO , GF_RTP_PAYT_L16_MONO , GF_RTP_PAYT_QCELP_BASIC , GF_RTP_PAYT_CN , GF_RTP_PAYT_MPEG12_AUDIO , GF_RTP_PAYT_G728 , GF_RTP_PAYT_DVI4_11K , GF_RTP_PAYT_DVI4_22K , GF_RTP_PAYT_G729 , GF_RTP_PAYT_CelB = 25 , GF_RTP_PAYT_JPEG = 26 , GF_RTP_PAYT_nv = 28 , GF_RTP_PAYT_H261 = 31 , GF_RTP_PAYT_MPEG12_VIDEO = 32 , GF_RTP_PAYT_MP2T = 33 , GF_RTP_PAYT_H263 = 34 , GF_RTP_PAYT_LAST_STATIC_DEFINED = 35 , GF_RTP_PAYT_UNKNOWN = 128 , GF_RTP_PAYT_MPEG4 , 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_AC3 , GF_RTP_PAYT_EAC3 , GF_RTP_PAYT_H264_SVC , GF_RTP_PAYT_HEVC , GF_RTP_PAYT_LHVC , GF_RTP_PAYT_VVC , GF_RTP_PAYT_OPUS } |
enum | { GF_RTP_NEW_AU = (1) , GF_RTP_AMR_ALIGN = (1<<1) , GF_RTP_M4V_CHECK_RAP = (1<<2) , 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) } |
>