libgpac  0.5.0
Typedefs | Functions
rtp_streamer.h File Reference

RTP streamer functions (packetizer and RTP socket). More...

#include <gpac/ietf.h>
#include <gpac/isomedia.h>

Typedefs

typedef struct __rtp_streamer GF_RTPStreamer
 

Functions

GF_RTPStreamer * gf_rtp_streamer_new (u32 streamType, u32 oti, u32 timeScale, const char *ip_dest, u16 port, u32 MTU, u8 TTL, const char *ifce_addr, u32 flags, char *dsi, u32 dsi_len)
 RTP Streamer constructor.
 
GF_RTPStreamer * gf_rtp_streamer_new_extended (u32 streamType, u32 oti, u32 timeScale, const char *ip_dest, u16 port, u32 MTU, u8 TTL, const char *ifce_addr, u32 flags, char *dsi, u32 dsi_len, u32 PayloadType, u32 sample_rate, u32 nb_ch, Bool is_crypted, u32 IV_length, u32 KI_length, u32 MinSize, u32 MaxSize, u32 avgTS, u32 maxDTSDelta, u32 const_dur, u32 bandwidth, u32 max_ptime, u32 au_sn_len)
 
void gf_rtp_streamer_del (GF_RTPStreamer *streamer)
 RTP file streamer destructor.
 
GF_Err gf_rtp_streamer_append_sdp (GF_RTPStreamer *rtp, u16 ESID, char *dsi, u32 dsi_len, char *KMS_URI, char **out_sdp_buffer)
 gets the SDP file
 
GF_Err gf_rtp_streamer_append_sdp_extended (GF_RTPStreamer *rtp, u16 ESID, char *dsi, u32 dsi_len, GF_ISOFile *isofile, u32 isotrack, char *KMS_URI, u32 width, u32 height, char **out_sdp_buffer)
 
GF_Err gf_rtp_streamer_send_au (GF_RTPStreamer *rtp, char *data, u32 size, u64 cts, u64 dts, Bool is_rap)
 
GF_Err gf_rtp_streamer_send_au_with_sn (GF_RTPStreamer *rtp, char *data, u32 size, u64 cts, u64 dts, Bool is_rap, u32 inc_au_sn)
 
GF_Err gf_rtp_streamer_send_data (GF_RTPStreamer *rtp, char *data, u32 size, u32 fullsize, u64 cts, u64 dts, Bool is_rap, Bool au_start, Bool au_end, u32 au_sn, u32 sampleDuration, u32 sampleDescIndex)
 
char * gf_rtp_streamer_format_sdp_header (char *app_name, char *ip_dest, char *session_name, char *iod64)
 
void gf_rtp_streamer_disable_auto_rtcp (GF_RTPStreamer *streamer)
 
GF_Err gf_rtp_streamer_send_rtcp (GF_RTPStreamer *streamer, Bool force_ts, u32 rtp_ts)
 

Detailed Description

>