mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
Make rtp protocol obey rfc3550
Originally committed as revision 22906 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -67,8 +67,12 @@ void rtp_parse_set_dynamic_protocol(RTPDemuxContext *s, PayloadContext *ctx,
|
||||
int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
|
||||
const uint8_t *buf, int len);
|
||||
void rtp_parse_close(RTPDemuxContext *s);
|
||||
|
||||
#if (LIBAVFORMAT_VERSION_MAJOR <= 53)
|
||||
int rtp_get_local_port(URLContext *h);
|
||||
#endif
|
||||
int rtp_get_local_rtp_port(URLContext *h);
|
||||
int rtp_get_local_rtcp_port(URLContext *h);
|
||||
|
||||
int rtp_set_remote_url(URLContext *h, const char *uri);
|
||||
#if (LIBAVFORMAT_VERSION_MAJOR <= 52)
|
||||
void rtp_get_file_handles(URLContext *h, int *prtp_fd, int *prtcp_fd);
|
||||
|
Reference in New Issue
Block a user