WebRTC error... "getUserMedia not available"

1,675 views
Skip to first unread message

Иван Земцов

unread,
Jan 2, 2020, 2:19:38 PM1/2/20
to meetecho-janus
Hello. Happy new year! 

My desktop computer is Linux ubuntu 18.04, google chrome Version 77.0.3865.90 (Official Build) (64-bit)
My server is ubuntu 18.04 server.
Test https://janus.conf.meetecho.com/echotest.html is working, but on my janus server the echotest.html is not working. Please try it http://116.203.249.207/doc/echotest.html

I installed janus-gateway by readme on my server. 
This is log after installing:

Plugins: [0/4293]
Echo Test: yes
Streaming: yes
Video Call: yes
SIP Gateway: yes
NoSIP (RTP Bridge): yes
Audio Bridge: yes
Video Room: yes
Voice Mail: yes
Record&Play: yes
Text Room: yes
Lua Interpreter: no
Duktape Interpreter: no
Event handlers:
Sample event handler: yes
WebSocket ev. handler: yes
RabbitMQ event handler:yes
MQTT event handler: yes
Nanomsg event handler: yes
External loggers:
JSON file logger: no
JavaScript modules: no 

My server has turnserver:
username: "inzem77"
password: "wegf23r12341bbkj"

Admin interface:
Api Secret: qwf124taqsf1!23dfmn

Screenshot from 2020-01-02 22-01-42.png


I try to run to firefox and see the same thing.
My janus-gateway log: https://pastebin.com/k8RTxpAH

Thank you!


Иван Земцов

unread,
Jan 2, 2020, 3:05:50 PM1/2/20
to meetecho-janus
Log from console https://pastebin.com/tLrjhU0S

четверг, 2 января 2020 г., 22:19:38 UTC+3 пользователь Иван Земцов написал:

Alessandro Amirante

unread,
Jan 2, 2020, 3:08:26 PM1/2/20
to Иван Земцов, meetecho-janus
getUserMedia il only available from secure sources (https).

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/fa9b2b0d-89f0-4cf9-9ea3-fa6b0d86f69c%40googlegroups.com.

Mirko Brankovic

unread,
Jan 2, 2020, 4:40:49 PM1/2/20
to meetecho-janus
That is because webrtc works only over https and valid certificate unless you ate testing in localhost

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.

Gábor Tóth

unread,
Jan 3, 2020, 12:27:36 AM1/3/20
to meetecho-janus
There is a flag for the last chance: chrome://flags/#unsafely-treat-insecure-origin-as-secure

Иван Земцов

unread,
Jan 5, 2020, 11:01:19 AM1/5/20
to meetecho-janus
Thank you!
i installed sertificate and it work now. https://janus.tix-system.com/echotest.html
But, https://janus.tix-system.com/videocalltest.html don't working Username 'in2' doesn't exist. 
But i went from my phone and register user with in2 username. What's wrong ?


четверг, 2 января 2020 г., 22:19:38 UTC+3 пользователь Иван Земцов написал:
Hello. Happy new year! 

Иван Земцов

unread,
Jan 5, 2020, 11:08:05 AM1/5/20
to meetecho-janus
It's working all!


воскресенье, 5 января 2020 г., 19:01:19 UTC+3 пользователь Иван Земцов написал:
Reply all
Reply to author
Forward
0 new messages