libgpac
Documentation of the core library of GPAC
live.c File Reference
#include "mp4box.h"
#include <gpac/scene_engine.h>
#include <gpac/rtp_streamer.h>
#include <gpac/mpegts.h>
+ Include dependency graph for live.c:

Data Structures

struct  RTPChannel
 
struct  LiveSession
 

Functions

RTPChannelnext_carousel (LiveSession *sess, u32 *timeout)
 
static void live_session_callback (void *calling_object, u16 ESID, u8 *data, u32 size, u64 ts)
 
static void live_session_send_carousel (LiveSession *livesess, RTPChannel *ch)
 
static Bool live_session_setup (LiveSession *livesess, char *ip, u16 port, u32 path_mtu, u32 ttl, char *ifce_addr, char *sdp_name)
 
void live_session_shutdown (LiveSession *livesess)
 
static RTPChannelset_broadcast_params (LiveSession *livesess, u16 esid, u32 period, u32 ts_delta, u16 aggregate_on_stream, Bool adjust_carousel_time, Bool force_rap, Bool aggregate_au, Bool discard_pending, Bool signal_rap, u32 signal_critical, Bool version_inc)
 
int live_session (int argc, char **argv)
 

Variables

char szBuf [8192]
 

Data Structure Documentation

◆ RTPChannel

struct RTPChannel
Data Fields
GF_RTPStreamer * rtp
Bool manual_rtcp
u16 ESID
u8 * carousel_data
u32 carousel_size
u32 carousel_alloc
u32 last_carousel_time
u64 carousel_ts
u64 time_at_carousel_store
u32 timescale
u32 init_time
u32 carousel_period
u32 ts_delta
u16 aggregate_on_stream
Bool adjust_carousel_time
Bool discard
Bool aggregate
Bool rap
Bool m2ts_vers_inc
u32 critical

◆ LiveSession

struct LiveSession
Data Fields
GF_SceneEngine * seng
Bool force_carousel
Bool carousel_generation
GF_List * streams
u32 start_time
Bool critical

Function Documentation

◆ next_carousel()

RTPChannel* next_carousel ( LiveSession sess,
u32 timeout 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ live_session_callback()

static void live_session_callback ( void *  calling_object,
u16  ESID,
u8 data,
u32  size,
u64  ts 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ live_session_send_carousel()

static void live_session_send_carousel ( LiveSession livesess,
RTPChannel ch 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ live_session_setup()

static Bool live_session_setup ( LiveSession livesess,
char *  ip,
u16  port,
u32  path_mtu,
u32  ttl,
char *  ifce_addr,
char *  sdp_name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ live_session_shutdown()

void live_session_shutdown ( LiveSession livesess)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_broadcast_params()

static RTPChannel* set_broadcast_params ( LiveSession livesess,
u16  esid,
u32  period,
u32  ts_delta,
u16  aggregate_on_stream,
Bool  adjust_carousel_time,
Bool  force_rap,
Bool  aggregate_au,
Bool  discard_pending,
Bool  signal_rap,
u32  signal_critical,
Bool  version_inc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ live_session()

int live_session ( int  argc,
char **  argv 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ szBuf

char szBuf[8192]