Mattermost Peer-to-Peer Forum

How to start WebRTC?


#21

Thanks @noizzzzy.boy, I’ve asked our team + community members to take a look at this.


#22

@noizzzzy.boy A response from an engineer -

Can you try adding this value to the config.json "StunURI": "stun:stun.l.google.com:19302", without updating the Janus server or any code changes.

The ICE problem can be related to that. If the stun server from google does not work, then maybe you can try another one.

Let me know if this helps?


Webrtc audio is ok video not works
#23

@amy.blais
It was there from the very beginning.
I changed a lot of stun servers with no luck


#24

I have the exact same issue and no matter what i try it wont work.

Any updates on this?

Best regards.


#25

Hi @ggisx,

Thanks for reaching out. To give you the best help we can, could you review this web page and send us the relevant logs, config files, etc. which will help us diagnose the issue?


#26

Hi Amy,

I did not set the nat mapping in the janus cfg.

It works perfectly now thanks :slight_smile:

Best regards,

Kevin.


#27

Hi,

Could you explain nat mapping, I am trying to setup without success I have webrtc on docker and MM on host directly installed, what I am doing wrong, I got creasy now.
4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux
i set nat to public IP on janus.cfg firewal ports for https opened wss also. I somwere full configuration described with proper config of janus in docker. Additionaly haw to use docker webrts and localy MM installed.


#28

Hi @robertl,

Unfortunately WebRTC is known to be unreliable, and I recommend exploring some other plugin options for video calls, e.g.:

Would one of these options work for you?


#29

zoom works, I will se other, but why webrtc is not working for me, do you have any idea ?


#30

Hi @robertl,

WebRTC might fail for many different reasons - one thing you could check is to try adding this value to the config.json "StunURI": "stun:stun.l.google.com:19302" , without updating the Janus server or any code changes.


#31

Whenever I connect, I get a black screen, and the call drops ~3 seconds after. I never get any voice or video across.
Please let me know if any more info is needed.

configs: https://pastebin.com/PNgR3K6c (I’ve also tried it with nat_1_1_mapping)

What OS and version is the Mattermost server installed?
debian 8

What is your Mattermost server version?
5.4.0

Are you experiencing the issues with the browser webapp, if so which one?
chromium

Can you send a snippet of the Mattermost server logs around the time of the incident?
https://pastebin.com/grvNUNBh - note that these are the janus logs, not mattermost. Mattermost didn’t have anything interesting in it’s log, but let me know if you need to see it anyway.

Are you running Mattermost in a container and/or using container orchestration?
No, but Janus is in a container


#32

Hi @CaptSpify,

We are slowly removing support for WebRTC because it is known to be unstable (Built-in WebRTC video and audio calls removed in v5.6 in favor of open source plugins), so I recommend exploring other options such as Zoom and Big Blue Button - would one of these sound good?