Page 1 of 1

libVLC sends DASH get_url request twice

Posted: 04 Jan 2019 14:21
by Jo2003
Hello,

Happy New Year!

I have a problem when playing back some DASH video from an IPTV provider. It looks like the request to the stream description (XML) is sent twice while first answer is used to afterwards request stream parts. But the second request already invalidates the first response.

Could you please have a look?! Maybe you find a reason for this behavior. I use libVLC in an Qt application, but VLC itself does the same whith the double request.

Logfile can be found here: https://pastebin.com/pQmPEChK

Thanks in advance,
Jörg

Re: libVLC sends DASH get_url request twice

Posted: 16 Jan 2019 09:14
by Jo2003
Congratulations to 3 billion downloads!

Can I submit some more information so someone would have a look? How can I help?

Thanks in advance!

Re: libVLC sends DASH get_url request twice

Posted: 20 Jan 2019 20:10
by Jean-Baptiste Kempf
Once to probe the data, once to read it?

Re: libVLC sends DASH get_url request twice

Posted: 23 Jan 2019 11:13
by Jo2003
Thanks for your answer!
Sounds logical. Nevertheless the question is why VLC uses the first answer (session key) for subsequent calls and not the second one. The second call invalidates the first session key. If VLC would use the last received answer for subsequent calls all would be well.

Thanks,
Jörg

Re: libVLC sends DASH get_url request twice

Posted: 23 Jan 2019 11:46
by InTheWings
Thanks for your answer!
Sounds logical. Nevertheless the question is why VLC uses the first answer (session key) for subsequent calls and not the second one. The second call invalidates the first session key. If VLC would use the last received answer for subsequent calls all would be well.

Thanks,
Jörg
What's the MPD ?
MPD type attribute ?

Re: libVLC sends DASH get_url request twice

Posted: 23 Jan 2019 13:15
by InTheWings
Try tomorrow's Nightly Build of VLC

and confirm it is fixed

Re: libVLC sends DASH get_url request twice

Posted: 24 Jan 2019 08:43
by Jo2003
Thank you very much! I'll test it and report the results to you.

Best regards,
Jörg

Re: libVLC sends DASH get_url request twice

Posted: 25 Jan 2019 11:24
by Jo2003
Hi, you made the fix in 3.x branch or in 4.x branch?

Thanks!

Re: libVLC sends DASH get_url request twice

Posted: 31 Jan 2019 06:35
by mfkl
nightly build usually means 4.x

Re: libVLC sends DASH get_url request twice

Posted: 31 Jan 2019 09:03
by Jo2003
Thanks, will check!