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

Ronald S. Bultje rsbultje
Mon Mar 8 16:55:01 CET 2010


On Mon, Mar 8, 2010 at 5:08 AM, Martin Storsj? <martin at martin.st> wrote:
> The IP address is also present in the SDP, so the
> AVFormatContext->filename field must be temporarily changed to contain an
> URL with the numerical IP, but later changed back to the originally
> requested url. This feels a bit messy, though.

Better not change that, imo. Can you make it a local buffer? Also, we
already have RTSPState->filename (or so) as a copy (for control:
purposes), maybe you should use that, see the comments in the code for
that.

Ronald



More information about the ffmpeg-devel mailing list