opentok / opentok-react-native

OpenTok React Native - a library for OpenTok iOS and Android SDKs
https://tokbox.com/
MIT License
212 stars 156 forks source link

Add audioNetworkStats and videoNetworkStats event for Publisher #539

Closed hussainsherwani closed 1 year ago

hussainsherwani commented 3 years ago

Feature Request

Description with these two events we can handle the video and and audio call quality with help of packet lost information, I want to convert video call to audio if there packet lost issue at publisher end, there is already video to audio fallback mechanism, but it convert audio lately in a very low network bandwidth.

Proposal like subscriber we have audio and video network stats there should also be for publisher Links / references https://tokbox.com/developer/sdks/android/reference/com/opentok/android/PublisherKit.AudioStatsListener.html https://tokbox.com/developer/sdks/android/reference/com/opentok/android/PublisherKit.html#videoStatsListener

danieljcorreac commented 1 year ago

When is it planned to add this functionality? We need it to indicate the quality of the connection.

jeffswartz commented 1 year ago

We will add this functionality with this PR (which is under review): https://github.com/opentok/opentok-react-native/pull/668.

marinaserranomontes commented 1 year ago

Hi @hussainsherwani @danieljcorreac,

FYI, RTCStats info added in v2.25.3:

Thanks.