forked from FFmpeg/FFmpeg
Move rtp_check_and_send_back_rr()'s unaltered comments to the header file.
Originally committed as revision 8234 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1dd7345abc
commit
7874024062
2 changed files with 6 additions and 5 deletions
|
@ -335,11 +335,6 @@ static void rtcp_update_jitter(RTPStatistics *s, uint32_t sent_timestamp, uint32
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* some rtp servers assume client is dead if they don't hear from them...
|
|
||||||
* so we send a Receiver Report to the provided ByteIO context
|
|
||||||
* (we don't have access to the rtcp handle from here)
|
|
||||||
*/
|
|
||||||
int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count)
|
int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count)
|
||||||
{
|
{
|
||||||
ByteIOContext pb;
|
ByteIOContext pb;
|
||||||
|
|
|
@ -43,6 +43,12 @@ extern AVInputFormat rtp_demuxer;
|
||||||
int rtp_get_local_port(URLContext *h);
|
int rtp_get_local_port(URLContext *h);
|
||||||
int rtp_set_remote_url(URLContext *h, const char *uri);
|
int rtp_set_remote_url(URLContext *h, const char *uri);
|
||||||
void rtp_get_file_handles(URLContext *h, int *prtp_fd, int *prtcp_fd);
|
void rtp_get_file_handles(URLContext *h, int *prtp_fd, int *prtcp_fd);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* some rtp servers assume client is dead if they don't hear from them...
|
||||||
|
* so we send a Receiver Report to the provided ByteIO context
|
||||||
|
* (we don't have access to the rtcp handle from here)
|
||||||
|
*/
|
||||||
int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count);
|
int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count);
|
||||||
|
|
||||||
extern URLProtocol rtp_protocol;
|
extern URLProtocol rtp_protocol;
|
||||||
|
|
Loading…
Add table
Reference in a new issue