owt-client-native
owt-client-native copied to clipboard
How to get the remoteStream's mute/umute status?
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)
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)