Page 1 of 1

Problem playing MRL

Posted: 07 Dec 2017 13:15
by kevin ellard
I have a device on my network that is sending out a H264 video stream. I can watch it very successfully with VLC on any windows device but when I try with VLC for android or VLC for Fire I can't get it to work. On windows I request the stream http://192.168.0.44:1101/video but trying the same as an MRL in android just gets the message that http://192.168.0.44:1101/video cannot be opened. I can tell from the device that something has tried to connect but I don't know how to troubleshoot further. Any help greatly appreciated.

Kevin.
VLC for android 2.5.12

Re: Problem playing MRL

Posted: 12 Dec 2017 00:43
by Jean-Baptiste Kempf
Is it RTSP?

Re: Problem playing MRL

Posted: 15 Jan 2018 13:43
by kevin ellard
(sorry for the late reply)

I don't think that it is RTSP.
1. I tried rtsp://192.168.0.44:1101/video and it didn't work.
2. If it was RTSP would http://192.168.0.44:1101/video work on a windows copy of VLC?

Kevin.

Re: Problem playing MRL

Posted: 20 Jan 2018 20:13
by Jean-Baptiste Kempf
Does it work in VLC 3.0.0-rc7 on Windows?

Re: Problem playing MRL

Posted: 30 Jan 2018 22:26
by kevin ellard
Well that was a surprise, It doesn't work in VLC 3.0.0-rc7 on Windows. It works fine in 2.2.8 on windows which is what I had been using up until now.
Do you want me to start a thread in the Windows topic too?

Re: Problem playing MRL

Posted: 30 Jan 2018 22:50
by chouquette
Could you open a ticket with verbose logs on https://trac.videolan.org/vlc ?

Re: Problem playing MRL

Posted: 30 Jan 2018 23:14
by kevin ellard
Could you point me to a quick guide to producing a verbose log?

Re: Problem playing MRL

Posted: 30 Jan 2018 23:25
by kevin ellard
Sorry, please ignore last message. the instructions were on trac.

Re: Problem playing MRL - Solved

Posted: 15 Mar 2018 22:28
by kevin ellard
I finally got to the bottom of this problem and the solution might prove useful to anyone supporting VLC from versions 2.x to 3.x or the differences between windows and android versions.
The problem was with my source that was specifically looking for HTTP/1.1 in the request and returning 404 error if not found. The earlier versions of VLC would try HTTP/1.0 and then carry on to try HTTP/1.1
The Android version (and windows versions from 3 onwards) sees the 404 response and fails immediately.
You couldn't say that the new version is doing anything wrong but it is doing something slightly different from the old version.
Fortunately I had the source code for my source so I was able to correct it and re-compile and am now a happy man.
Many thanks to RĂ©mi whose patience with me on trac eventually led me to the solution.

Kevin.