CyberPoison / o11-docker

o11-tt-streamer Docker Hub
GNU General Public License v3.0
0 stars 0 forks source link

Question about o11-ott-streamer #1

Closed pigscanflyyy closed 5 days ago

pigscanflyyy commented 5 days ago

Good day! I am using your docker container: https://hub.docker.com/r/cyberpoison/o11-ott-streamer and I'm having trouble in setting up the http headers. I hope you can help me. I have already set the headers in the Additional HTTP headers (one per line) like this:

Referer: https://www.testing.com/
Origin: https://www.testing.com

But still I get Error: HTTP Get returned status code 403.

I've already tested it my machine with the right headers using mpv and ffplay and I know that it works. Also tested it in the vps that o11-ott-streamer runs. I wonder if I'm not setting the headers correctly in o11-ott-streamer. Any help is appreciated.

pigscanflyyy commented 5 days ago

Sorry if have to post here. Can't find a way to contact you.

CyberPoison commented 5 days ago

Hi, did you have setup a password on the o11 app ? if yes remember to also download the m3u8 list with the password.

On the Playlist tab download the playlist,

Maybe it can also be related with the IP, if you are in local network be sure to have local ip pointing to the docker container, as well.

Your PC -> Local Network -> Docker Conatiner Host IP

So you should use your Host IP, and not the container IP.

403 Means fobriden, so access refused, there might bee something wrong with credentials.

You can also setup credentials accordingly on the HTTP request like this:

http://Username:Clear_Text_Password@Host_IP:Port/stream/......

You can debug like this on curl

curl -svno /dev/null "http://Username:Clear_Text_Password@Host_IP:Port/......" 

Mock

curl -svno /dev/null "http://Admin:!Password1234@192.168.5.2:1234/......" 

It should works and return a 200 if i Recall well

CyberPoison commented 5 days ago

@pigscanflyyy

pigscanflyyy commented 5 days ago

Thank you for the response @CyberPoison . I'm talking about restreaming in the config page. I am trying to restream an mpd stream. Right now, i am having problem solving the 403 error. I have setup the right headers in Additional Parameters -> Additional HTTP headers (one per line).