These are chat archives for andyet/SimpleWebRTC

25th
Jan 2015
Mauricio Soares
@mauriciosoares
Jan 25 2015 00:14

Hey guys, how can I mute the sound of other users using simplewebrtc?

as an example, imagine a chat that I can enter just to watch other people talking, but no one will see me, neither hear me.

Philipp Hancke
@fippo
Jan 25 2015 01:29
@mauriciosoares setting autoRequestMedia to false and then joining the room without waiting for readyToCall should do the job
Mauricio Soares
@mauriciosoares
Jan 25 2015 01:33
cool! I'll try that out, thanks!
Mauricio Soares
@mauriciosoares
Jan 25 2015 02:01

Hey @fippo, thanks for your help.

I tried to set autoRequestMedia to false, and disable readyToCall, but It doesnt seem to be working...

the "disabled" guy is not sharing his audio neither his video, and that's ok, but he cant hear my audio neither see my video share...
Philipp Hancke
@fippo
Jan 25 2015 03:10
@mauriciosoares try http://jsfiddle.net/run8zvdg/4/ while joining the simplewebrtc demo room
(and make sure your audio is muted :-))
Mauricio Soares
@mauriciosoares
Jan 25 2015 03:22
yup, your fiddle seems to be working, I'll check my code to see what I may be doing wrong
Mauricio Soares
@mauriciosoares
Jan 25 2015 03:29
shit I think its working!
I'll do a couple of more tests
you sir, are my hero :D
it's working like a charm
Thank you!