~ubuntu-branches/ubuntu/raring/gpac/raring

« back to all changes in this revision

Viewing changes to modules/rtp_in/rtp_in.h

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-01-24 23:34:57 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070124233457-zzlls8afkt0nyakj
Tags: 0.4.2~rc2-0ubuntu1
* New upstream release
  * Most notably MP4 tagging support via MP4Box -itags
* debian/patches/01_64bits.dpatch: dropped; included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
 
64
64
        GF_Mutex *mx;
65
65
        GF_Thread *th;
66
 
        Bool run_client, client_exit, do_exit;
 
66
        u32 status, disable_rtcp;
67
67
 
68
68
 
69
69
        /*RTSP config*/
85
85
        u32 buffer_len_ms;
86
86
        /*rebuffer low limit in ms - if the amount of buffering is less than this, rebuffering will never occur*/
87
87
        u32 rebuffer_len_ms;
 
88
        /*default interface for multicast*/
 
89
        char *default_mcast_ifce;
88
90
 
89
91
        /*packet drop emulation*/
90
92
        u32 first_packet_drop;
91
93
        u32 frequency_drop;
92
94
 
93
 
        /*OD data for static OD stream - we don't use the usual base64 encoding in OD ESD URL since data may be much
94
 
        larger that what ESD.URL supports (255 bytes)*/
95
 
        u32 od_au_size, od_es_id, state;
96
 
        Bool od_fetched;
97
 
        char *od_au;
98
 
        LPNETCHANNEL od_ch;
99
 
        u32 od_start_time;
100
 
 
101
 
        u32 forced_type;
 
95
        /*for single-object control*/
 
96
        u32 media_type;
 
97
        /*prevents client port override by server*/
 
98
        Bool force_client_ports;
102
99
        /*logs*/
103
100
        FILE *logs;
104
101
} RTPClient;
133
130
/*check session by control string*/
134
131
RTPSession *RP_CheckSession(RTPClient *rtp, char *control);
135
132
 
 
133
void RP_SetupObjects(RTPClient *rtp);
 
134
 
136
135
void RP_ProcessCommands(RTPSession *sess, Bool read_tcp);
137
136
 
138
137
/*RTP channel state*/
169
168
        CH_IsInterleaved = (1<<4),
170
169
        /*EOS signaled (RTCP or range-based)*/
171
170
        CH_EOS = (1<<5),
172
 
        /*stream is setup but not playing...*/
173
 
        CH_Idle = (1<<6),
174
171
        /*AWFULL hack at rtp level to cope with ffmpeg h264 crashes when jumping in stream without IDR*/
175
172
        CH_AVC_WaitRAP = (1<<7),
176
173
        /*AMR config*/
208
205
 
209
206
        /*depacketizer config*/
210
207
        GP_RTPSLMap sl_map;
211
 
        SLHeader sl_hdr;
 
208
        GF_SLHeader sl_hdr;
212
209
 
213
210
        /*rtp recieve buffer*/
214
211
        char buffer[RTP_BUFFER_SIZE];
317
314
 
318
315
/*RTSP signaling */
319
316
Bool RP_PreprocessDescribe(RTPSession *sess, GF_RTSPCommand *com);
320
 
void RP_ProcessDescribe(RTPSession *sess, GF_RTSPCommand *com, GF_Err e);
 
317
Bool RP_ProcessDescribe(RTPSession *sess, GF_RTSPCommand *com, GF_Err e);
321
318
void RP_ProcessSetup(RTPSession *sess, GF_RTSPCommand *com, GF_Err e);
322
319
void RP_ProcessTeardown(RTPSession *sess, GF_RTSPCommand *com, GF_Err e);
323
320
Bool RP_PreprocessUserCom(RTPSession *sess, GF_RTSPCommand *com);
336
333
void RP_Teardown(RTPSession *sess, RTPStream *ch);
337
334
 
338
335
/*emulate IOD*/
339
 
GF_Descriptor *RP_EmulateIOD(RTPClient *rtp, u32 expect_type, const char *sub_url);
 
336
GF_Descriptor *RP_EmulateIOD(RTPClient *rtp, const char *sub_url);
340
337
 
341
338
 
342
339
/*sdp file downloader*/