libVLC sends DASH get_url request twice

This forum is about all development around libVLC.
Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

libVLC sends DASH get_url request twice

Postby Jo2003 » 04 Jan 2019 14:21

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

Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

Re: libVLC sends DASH get_url request twice

Postby Jo2003 » 16 Jan 2019 09:14

Congratulations to 3 billion downloads!

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

Thanks in advance!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libVLC sends DASH get_url request twice

Postby Jean-Baptiste Kempf » 20 Jan 2019 20:10

Once to probe the data, once to read it?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

Re: libVLC sends DASH get_url request twice

Postby Jo2003 » 23 Jan 2019 11:13

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

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: libVLC sends DASH get_url request twice

Postby InTheWings » 23 Jan 2019 11:46

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 ?
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: libVLC sends DASH get_url request twice

Postby InTheWings » 23 Jan 2019 13:15

Try tomorrow's Nightly Build of VLC

and confirm it is fixed
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

Re: libVLC sends DASH get_url request twice

Postby Jo2003 » 24 Jan 2019 08:43

Thank you very much! I'll test it and report the results to you.

Best regards,
Jörg

Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

Re: libVLC sends DASH get_url request twice

Postby Jo2003 » 25 Jan 2019 11:24

Hi, you made the fix in 3.x branch or in 4.x branch?

Thanks!

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: libVLC sends DASH get_url request twice

Postby mfkl » 31 Jan 2019 06:35

nightly build usually means 4.x
https://mfkl.github.io

Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

Re: libVLC sends DASH get_url request twice

Postby Jo2003 » 31 Jan 2019 09:03

Thanks, will check!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 32 guests