[FFmpeg-devel] [PATCH] Use the actual RTSP peer IP for RTP sessions

Luca Abeni lucabe72
Thu Mar 11 00:01:06 CET 2010


On 10/03/10 23:48, Ronald S. Bultje wrote:
> Hi,
>
> On Wed, Mar 10, 2010 at 5:33 PM, Luca Abeni<lucabe72 at email.it>  wrote:
>> On 10/03/10 23:30, Ronald S. Bultje wrote:
>>>> (if
>>>> we want a different destination, let's pass an AVFormatContext containig
>>>> a
>>>> different destination).
>>>
>>> Is fine with me also, I guess it'd mean some re-setup in the RTSP
>>> muxer. How difficult would this be, Martin?
>>
>> Well, the simplest way to do it is to just copy the original context, as
>> done in Martin's patch... What's the drawback with this approach?
>
> It's not the original context. What if we want to modify the context?

Well, the SDP is only created at during the "write_header()" call... So, 
if the we modify the context after writing the header, the SDP is not 
affected (hence, creating a copy is not a problem in this regard).


				Luca



More information about the ffmpeg-devel mailing list