You're here » Home Page » Forum » Forum - All Posts

Connexion

Username:

Password:

Remember me



Lost Password?

Register now!

Social Networks


New Users

Nmaouhoub 2019/10/12
brigante67 2019/10/12
dscott1988 2019/10/12
CatarinaCa 2019/10/12
Adam 2019/10/12
AmandaJxd5 2019/10/12
ado81 2019/10/12
Avov 2019/10/11
GIU 2019/10/11
JacintoSno 2019/10/11

Forum Index


Board index » All Posts (professor)




Re: stream redirection handling
#1
Débutant


I have had the dev of the software confirm it is a problem with enigma tv and not a problem with the satellite receiver.

link

Posted on: 2017/9/13 14:30


Re: stream redirection handling
#2
Débutant


this is the server's debug log
and the request to get stream was handled and returned with out failure:

13.09 21:47:42 [2af5d4c0DBG SRV -- new request
13.09 21
:47:42 [2af5d4c0INF SRV -- GET /web/stream.m3uq=ref=1:0:1:40e:16:2f:6400000:0:0:0:&name=nothing
13.09 21
:47:42 [2af5d4c0DBG CLI -- GET: /queryraw?getaktservice
13.09 21
:47:42 [2af5d4c0DBG CLI -- OKlen=105
13.09 21
:47:42 [2af5d4c0INF SRV -- 200 OKlen=79
13.09 21
:47:42 [2af5d4c0DBG SRV -- request handled


The command GET /web/stream.m3u, q=ref=1:0:1:40e:16:2f:6400000:0:0:0:&name=nothing is correct so there seems to be a fault with enigma tv and its handling of the port redirection.

Is there somewhere I can post a bug ticket so the dev can look into this?

Posted on: 2017/9/13 14:21


stream redirection handling
#3
Débutant


Hi So I have a receiver and it runs it's two web servers the built in one htmlapi and e2webif

how it all works is that if stream request to port 8001 with an E2-Service-ref will return an redirect link to the real titan dataport 22222 with titan-Service-ref.
The client-app must then use the redirect-URL for the stream.

For example a stream request for E2 service 1:0:1:40b:16:2f:6400000:0:0:0:
http://192.168.1.20:8001/1:0:1:40b:16:2f:6400000:0:0:0:

return the redirect url to the real streamlink with port 22222 and Titan service 1035%2c3080214
http://192.168.1.20:22222/1035%2c3080214


Enigma tv does not seem to be able to stream channels when I set it up correclty.

if I go to my internet browser and type in the following commands I get a download of an m3u8 file from my satellite reciever:

192.168.1.20:8080/web/stream.m3u?q=ref=1:0:1:40e:16:2f:6400000:0:0:0:


This m3u8 file that has the following data inside:

#EXTM3U
#EXTVLCOPT--http-reconnect=true
http://192.168.1.20:22222/1038,3080214


if I open the m3u8 file with video lan it plays the stream no worries.

but in the debug window in enigma tv this is what I get:

13/09/2017 10:18:24 PM 
Zap to TVNZ 2 +1
URL with User
/Password http://root:@192.168.1.20:22222/1:0:1:40e:16:2f:6400000:0:0:0:
VLC Option 1 = :http-reconnect=true
Sent HTTP command 
: /web/stream.m3u?ref=1:0:1:40e:16:2f:6400000:0:0:0:&name=nothing
VLC Option 2 
= :audio-track=1
Sent HTTP command 
The remote server returned an error: (404Not Found.
Sent HTTP command : /web/epgnext?bRef=1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "bouquets.english.tv" ORDER BY bouquet


in the above debug data it has the two below lines:

http://root:@192.168.1.20:22222/1:0:1:40e:16:2f:6400000:0:0:0:
/web/stream.m3u?ref=1:0:1:40e:16:2f:6400000:0:0:0:&name=nothing VLC Option 2 = :audio-track=1


the top url is wrong is should be on port 8080 and get automatically redirected to http://192.168.1.20:22222/1038%2c3080214 and start playing.
the bottom url is correct but I get error 404 so there must be a port issue but the debug does not show the port number.

I believe enigma tv cant handle the redirection but I need a proper debug log to figure out what is going wrong.


Posted on: 2017/9/13 12:57


Re: No video stream incorect port number reported in debug
#4
Débutant


I found out this is a client bug in the plugin on the satellite receiver.

I have filed a bug report here:
http://sbnc.dyndns.tv/trac/ticket/537


Posted on: 2017/9/6 14:16


Re: No video stream incorect port number reported in debug
#5
Débutant


There are two web servers running their config is below:

# e2 web port
port=8080
# e2 data port
dataPort=8001
# titan web port
titanPort=80
# titan data port
titanDataPort=22222


but for some silly reason enigma tv does not use port 8001 as the stream port it uses 22222.
I don't know if this is a server or client bug.
I have tried alternative ports but it still picks up titannit stream port instead of the e2 stream port

I'm guessing all streaming should be done on port 8001 but for some reason 22222 is being used instead.

how does the receiver announce what port the stream port is and is there a way to specify the port to force the streaming from in enigma tv


Posted on: 2017/9/6 13:17


Re: No video stream incorect port number reported in debug
#6
Débutant


Using the web command as below I'm able to download the m3u8 file and stream the channel via video lan:

http://192.168.1.20/8001/web/stream.m3u?ref=1:0:1:40b:16:2f:6400000:0:0:0:&name=nothing
VLC Option 2 = :audio-track=1



Posted on: 2017/8/28 13:57


No video stream incorect port number reported in debug
#7
Débutant


This is the settings I'm using to connect to my receiver running TitanNit which has an e2webif api
e2 web port=8080
local streamport 8001
username:
password:

24/08/2017 12:46:07 AM 
Zap to TVNZ 1
URL with User
/Password http://:@192.168.1.20:22222/1:0:1:40b:16:2f:6400000:0:0:0:
VLC Option 1 = :http-reconnect=true
Sent HTTP command 
: /web/stream.m3u?ref=1:0:1:40b:16:2f:6400000:0:0:0:&name=nothing
VLC Option 2 
= :audio-track=1
Sent HTTP command 
The remote server returned an error: (404Not Found.
Sent HTTP command : /web/epgnext?bRef=1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "bouquets.english.tv" ORDER BY bouquet


This is the stream the enigma-tv client expects once I connect to my receiver:

http://192.168.1.20:22222/1:0:1:40b:16:2f:6400000:0:0:0:


this is the stream that actually works :


http://192.168.1.20:8001/1:0:1:40b:16:2f:6400000:0:0:0:


if I type the working video lan link into internet explorer I get redirected to another port and shorter url which works in Videolan also:

http://192.168.1.20:22222/1035%2c3080214


I think this is an error in the streamport in enigmatv as it trys to stream on the incorrect port but I'm not really sure how it is ment to work.

would it be worthwile providing a capture with wireshark or a port mirror for the devs to look at ?

 

Attach file:



jpg  setup.jpg (48.15 KB)
44308_59a36619c4260.jpg 800X422 px

Posted on: 2017/8/28 2:39


Re: Sent HTTP command : The remote server returned an error: (404) Not Found.
#8
Débutant


if I type the below into internet explorer I get redirected to another port and shorter link of which both these links work in Videolan:

http://:@192.168.1.20:8001/1:0:1:40b:16:2f:6400000:0:0:0:
http://192.168.1.20:22222/1035%2c3080214

Posted on: 2017/8/24 13:26


Re: Sent HTTP command : The remote server returned an error: (404) Not Found.
#9
Débutant


I believe the stream port is incorrect it should be 8001 it is requesting the incorrect port how do I change this

http://root:root@192.168.1.20:[color=FF3300]8001[/color]/1:0:1:40b:16:2f:6400000:0:0:0:

Posted on: 2017/8/23 14:55


Sent HTTP command : The remote server returned an error: (404) Not Found.
#10
Débutant


Hi everything seems to be working except the streaming of the actual live tv, I can change channels etc...

Zap to TVNZ 1
Sent HTTP command 
: /web/zap?sRef=1:0:1:40b:16:2f:6400000:0:0:0:
URL with User/Password http://root:root@192.168.1.20:22222/1:0:1:40b:16:2f:6400000:0:0:0:
VLC Option 1 = :http-reconnect=true
Sent HTTP command 
: /web/stream.m3u?ref=1:0:1:40b:16:2f:6400000:0:0:0:&name=nothing
VLC Option 2 
= :audio-track=1
Sent HTTP command 
The remote server returned an error: (404Not Found.
Sent HTTP command : /web/epgnext?bRef=1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "bouquets.english.tv" ORDER BY bouquet

Posted on: 2017/8/23 14:33



Top