On Thu, 8 Mar 2012, Luca Barbato wrote:

On 3/8/12 5:40 AM, Martin Storsjö wrote:
Earlier, if the server didn't indicate a ttl, we explicitly set 0
as ttl, making the written packets not to be sent at all (after
making the ttl actually be set for read-write url contexts).
---
  libavformat/rtsp.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

why 16?

It's the same as the default in udp.c.

Otoh, a better solution would be to omit the ttl=%d part from the rtp/udp url if ttl isn't indicated.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to