[vlc-devel] [PATCH] Only use --rtsp-client-port when sending RTSP SETUP request

David R. Robison davidro at q-free.com
Mon Jul 6 18:37:45 CEST 2015


Does that mean that it is formatted incorrectly of is there something 
else I did wrong? David

----------------------------------------------------------------------------

*David R Robison*

/Principal Systems Engineer/

O. +1 757 546 3401

M. +1 757 286 0022

david.robison at q-free.com <mailto:david.robison at q-free.com>

www.q-free.com/openroads

----------------------------------------------------------------------------

Q-Free Open Roads

103 Watson Road

Chesapeake VA 23320

On 7/6/2015 11:51 AM, Jean-Baptiste Kempf wrote:
> Patch does not apply here.
>
> Le 01/07/2015 18:00, David R. Robison a écrit :
>>
>> ---
>>   modules/access/live555.cpp | 13 +++++++------
>>   1 file changed, 7 insertions(+), 6 deletions(-)
>>
>> diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
>> index fef590a..d3259c7 100644
>> --- a/modules/access/live555.cpp
>> +++ b/modules/access/live555.cpp
>> @@ -740,12 +740,6 @@ static int SessionsSetup( demux_t *p_demux )
>>               ;
>>           else continue;
>>
>> -        if( i_client_port != -1 )
>> -        {
>> -            sub->setClientPortNum( i_client_port );
>> -            i_client_port += 2;
>> -        }
>> -
>>           if( strcasestr( sub->codecName(), "REAL" ) )
>>           {
>>               msg_Info( p_demux, "real codec detected, using real-RTSP
>> instead" );
>> @@ -783,6 +777,13 @@ static int SessionsSetup( demux_t *p_demux )
>>               /* Issue the SETUP */
>>               if( p_sys->rtsp )
>>               {
>> +
>> +                if( i_client_port != -1 )
>> +                {
>> +                    sub->setClientPortNum( i_client_port );
>> +                    i_client_port += 2;
>> +                }
>> +
>>                   p_sys->rtsp->sendSetupCommand( *sub,
>> default_live555_callback, False,
>>                                                  toBool( b_rtsp_tcp ),
>>                                                  toBool(
>> p_sys->b_force_mcast && !b_rtsp_tcp ) );
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150706/38201c97/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: orci-qfree.png
Type: image/png
Size: 4603 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150706/38201c97/attachment.png>


More information about the vlc-devel mailing list