These are chat archives for andyet/SimpleWebRTC

19th
Jan 2017
Radwan Abu-Odeh
@Radwan-AbuOdeh
Jan 19 2017 23:18

Hi everyone, I have a question regarding Simple Web RTC,

I am trying to create specific type of users, who can enter the room and spectate other users talking (Spectator mode), without interrupting anyone in the room.

I tried to do it with this configuration

var webrtc = new SimpleWebRTC({
        localVideoEl: 'localVideo',
        remoteVideosEl: 'remotesVideos',
        autoRequestMedia: false,
        receiveMedia: {
            offerToReceiveAudio: 1,
            offerToReceiveVideo: 1
        },
        debug: true
    });

but I didn't receive any video or audio from users connected in the room, although there are some users connected to the room !
any suggestions ?