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
live.c File Reference
#include <gpac/constants.h>
#include <gpac/isomedia.h>
#include <gpac/scene_engine.h>
#include <gpac/filestreamer.h>
#include <gpac/rtp_streamer.h>
#include <gpac/mpegts.h>
#include <gpac/internal/ietf_dev.h>
+ Include dependency graph for live.c:

Data Structures

struct  RTPChannel
 
struct  LiveSession
 

Functions

void PrintStreamerUsage ()
 
static void on_logs (void *cbk, u32 ll, u32 lm, const char *fmt, va_list list)
 
int stream_file_rtp (int argc, char **argv)
 
void PrintLiveUsage ()
 
RTPChannelnext_carousel (LiveSession *sess, u32 *timeout)
 
static void live_session_callback (void *calling_object, u16 ESID, char *data, u32 size, u64 ts)
 
static void live_session_send_carousel (LiveSession *livesess, RTPChannel *ch)
 
static void 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)
 
u32 grab_live_m2ts (const char *grab_m2ts, const char *outName)
 

Data Structure Documentation

struct RTPChannel
+ Collaboration diagram for RTPChannel:
Data Fields
GF_RTPStreamer * rtp
Bool manual_rtcp
u16 ESID
char * 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
struct LiveSession
+ Collaboration diagram for LiveSession:
Data Fields
GF_SceneEngine * seng
Bool force_carousel
Bool carousel_generation
GF_List * streams
u32 start_time
Bool critical

Function Documentation

void PrintStreamerUsage ( )

+ Here is the caller graph for this function:

static void on_logs ( void *  cbk,
u32  ll,
u32  lm,
const char *  fmt,
va_list  list 
)
static

+ Here is the caller graph for this function:

int stream_file_rtp ( int  argc,
char **  argv 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PrintLiveUsage ( )

+ Here is the caller graph for this function:

RTPChannel* next_carousel ( LiveSession sess,
u32 timeout 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void live_session_callback ( void *  calling_object,
u16  ESID,
char *  data,
u32  size,
u64  ts 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

static void 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:

void live_session_shutdown ( LiveSession livesess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

int live_session ( int  argc,
char **  argv 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 grab_live_m2ts ( const char *  grab_m2ts,
const char *  outName 
)

defined(GPAC_DISABLE_STREAMING) && !defined(GPAC_DISABLE_SENG)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: