owt-client-native icon indicating copy to clipboard operation
owt-client-native copied to clipboard

How to get the remoteStream's mute/umute status?

Open scnuyun opened this issue 4 years ago • 1 comments

step1, clientA join in room step2, clientA create localstream A, we call the localstream A as name as streamA step3,clientA publish streamA, successful.(return PublisherA) step4, clientA mute the streamA video|audio track。(publisherA->mute(video|audio) step5, clientB join room. step6, clientB subscribe streamA successful, return remoteStream.(StreamA) step7, clientB can't judge the streamA is mute or not.

ask: can I use the webrtc::MediaSourceInterface::SourceState()?, but the RemoteStream can't access the RemoteStream::MediaStreamInterface() function. (The function is prected)

scnuyun avatar Jan 08 '21 16:01 scnuyun

may be it's a bug. step5, clientB join room clientB ----->connection to -----> server clientB <-----socket.io message<--- server but clientB parse the message is not right. ( may be add code like this: video_info->get_map()["status"];) ps: ConferenceClient::ParseStreamInfo(sio::message::ptr stream_info, bool joining)

scnuyun avatar Jan 17 '21 10:01 scnuyun