atyenoria / janus-webrtc-gateway-docker

Perfect Docker Image for Media Streaming Expert User ( https://github.com/meetecho/janus-gateway )
687 stars 200 forks source link

how do I reach the sample page? #39

Closed webfischi closed 1 year ago

webfischi commented 4 years ago

Something is very broken with janus, every single docker installation on the web shows the following error message when I try to connect with localhost:8088/janus. Am I doing sth wrong?

[ERR] [transports/janus_http.c:janus_http_handler:1316] Invalid session (null) [ERR] [transports/janus_http.c:janus_http_handler:1225] Invalid url /favicon.ico

Could someone please fix this issue and also add https support.

atyenoria commented 4 years ago

actually, that seems to be fine. you should use the janus sample html

webfischi commented 4 years ago

How do i use the janus sample page correctly? By now, I know that localhost ist wrong, but all answers are just leading to this page https://janus.conf.meetecho.com/docs/deploy In the "How to use" section it only says clone, make build, make run but no word on how to connect to the sample page. With 127.0.0.1:8188 I get an error 403

ajnozari commented 4 years ago

@webfischi I think what @atyenoria meant was if you look on the janus GitHub you'll see an HTML folder. Take that folder and edit the JS inside of it to reflect your appropriate server destination, port, and make sure it's /janus or /janus-ws if using wss.

Then upload the files to /demo on your web server and you'll be able to load the test files.

Just make sure the server is set properly, you can see an example in each JS file.