Webtrc no outgoing/incoming bitrate for video only

Hello,
I’m using ZoomSDK for web 2.2.0, JWT tokens on our server are sending audio_webrtc_mode = 1
and video_webrtc_mode = 1. Client side we are using <video-player-container> to render self view, client view/s and client share/s

While tracing bitrate/quality tests for incoming and outgoing streams i see that there is bitrate values reported for audio but not for video


These are raw data from the

client.on('video-statistic-data-change', processVideoStatData)
client.on('audio-statistic-data-change', processAudioStatData)
client.on('share-statistic-data-change', processShareStatData)

client listeners
I’m also enabling the stream subscriptions using

await stream.subscribeAudioStatisticData()
await stream.subscribeVideoStatisticData()
await stream.subscribeShareStatisticData()

And a service we are using (testRTC) is also reporting no video bitrate which fails capturing data about the video stream.

However there IS video and audiobeing displayed on both parties.

Hoping for a resolution soon.

Hi @Ray_Arvin,

Thanks for the detailed explanation.

Can you please first try logging the raw stats data directly in your processVideoStatData function using console.log(...)? This will help confirm whether the video stats are being received locally at all.

If the video bitrate data is coming through in the console, then the issue may be with how TestRTC is consuming or processing it.

However, if there’s no video stat data in the console logs, then it’s likely that the event binding is not correctly set up or triggered after the client initialization. Please double-check that your event listeners are bound after the client or session is fully initialized and joined.

Let me know what you find — happy to help further!

Best,
Naeem Ahmed

  const processVideoStatData = useCallback<typeof event_video_statistic_data_change>(
    async ({ data, type }) => {
      console.log('videostatData:', data, type)
      if (data.encoding) {
        setOutgoingVideoStats(data)
      } else {
        setIncomingVideoStats(data)
      }
      return null
    }, []
  );

raw data from the event listener

Hey @Ray_Arvin

Thanks for your feedback.

We will support the bitrate property in the next release.

Thanks
Vic

Thank you very much for confirming that issue. Been wracking my head for quite a while.

Is there an ETA for the next release?

Hi @Ray_Arvin

Is there an ETA for the next release?

The next release is scheduled for around July 9th.

Thanks
Vic

1 Like