mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
rtsp: the RTCP port number is inclusive
The configured port number pair has its upper bound set to the maximum allowed RTCP port, inclusive. See https://bugzilla.gnome.org/show_bug.cgi?id=639420
This commit is contained in:
parent
230cf41cc9
commit
7cbca3dcd1
1 changed files with 1 additions and 1 deletions
|
@ -1602,7 +1602,7 @@ again:
|
|||
|
||||
/* set port */
|
||||
tmp_rtcp = tmp_rtp + 1;
|
||||
if (src->client_port_range.max > 0 && tmp_rtcp >= src->client_port_range.max)
|
||||
if (src->client_port_range.max > 0 && tmp_rtcp > src->client_port_range.max)
|
||||
goto no_ports;
|
||||
|
||||
g_object_set (G_OBJECT (udpsrc1), "port", tmp_rtcp, "reuse", FALSE, NULL);
|
||||
|
|
Loading…
Reference in a new issue