mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
rtpsession: properly init rtcp_min_interval
This commit is contained in:
parent
ac7cad431c
commit
c03648c8bb
1 changed files with 3 additions and 0 deletions
|
@ -544,6 +544,9 @@ rtp_session_init (RTPSession * sess)
|
||||||
sess->stats.active_sources++;
|
sess->stats.active_sources++;
|
||||||
INIT_AVG (sess->stats.avg_rtcp_packet_size, 100);
|
INIT_AVG (sess->stats.avg_rtcp_packet_size, 100);
|
||||||
|
|
||||||
|
rtp_stats_set_min_interval (&sess->stats,
|
||||||
|
(gdouble) DEFAULT_RTCP_MIN_INTERVAL / GST_SECOND);
|
||||||
|
|
||||||
/* default UDP header length */
|
/* default UDP header length */
|
||||||
sess->header_len = 28;
|
sess->header_len = 28;
|
||||||
sess->mtu = DEFAULT_RTCP_MTU;
|
sess->mtu = DEFAULT_RTCP_MTU;
|
||||||
|
|
Loading…
Reference in a new issue