[vlc-devel] [PATCH] rtsp: allow multicast port setting in transport section
Rémi Denis-Courmont
remi at remlab.net
Thu Apr 12 17:25:14 CEST 2018
Le torstaina 5. huhtikuuta 2018, 17.21.17 EEST Vityusha V. Vinokurov a écrit :
> @@ -780,6 +785,13 @@ static int RtspHandler( rtsp_stream_t *rtsp,
> rtsp_stream_id_t *id,
>
> net_GetPeerAddress(id->mcast_fd, dst, &dport);
>
> + /* Checking for multicast port override */
> + if( b_multicast_port_set && dport != mloport)
Missing the check for mhiport, AFAICT.
> + {
> + answer->i_status = 551;
> + continue;
> + }
> +
> ttl = var_InheritInteger(owner, "ttl");
> if (ttl <= 0)
> /* FIXME: the TTL is left to the OS default, we can
--
雷米‧德尼-库尔蒙
https://www.remlab.net/
More information about the vlc-devel
mailing list