You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, the doc below says that "updated" event will fire when a video/audio track is added or removed to a feed https://docs.dolby.io/streaming-apis/docs/viewer-events
But we are not receiving those events in viewer.on("broadcastEvent", handleBroadcastEvent) even though the viewer subscribed to it using view.connect()
The viewer is receiving all other events like active/inactive/layers/viewercount except this "updated" event
We need this event because we want the viewer to know that a publisher has switched off their audio/video (i.e mic/camera)
I was expecting a source.publish.webRTCPeer?.replaceTrack(audioTrack) will trigger that but got nothing.
Then I tried to remove the track completely but still nothing source.publish.getRTCPeerConnection().removeTrack(rtcRTPSenderAudioTrack)
Even checked the track events viewer.on("track", handleTrack). source.publish.webRTCPeer?.replaceTrack(audioTrack) or source.publish.getRTCPeerConnection().removeTrack(rtcRTPSenderAudioTrack) is not triggering a "track" event either
Track events are being received only during "active" broadcast event. When a source starts with both camera and mic on, Viewer gets an "active" broadcast event followed by two "track" events (audio and video). But now if the source stops mic/camera, the changes are reflected on the viewer UI immediately but not receiving any events
We are using latest version of millicast sdk. How are these "updated" broadcast events triggered exactly when the Publisher changes the video/audio track? Please help
The text was updated successfully, but these errors were encountered:
Hi guys, the doc below says that "updated" event will fire when a video/audio track is added or removed to a feed
https://docs.dolby.io/streaming-apis/docs/viewer-events
But we are not receiving those events in
viewer.on("broadcastEvent", handleBroadcastEvent)
even though the viewer subscribed to it usingview.connect()
The viewer is receiving all other events like active/inactive/layers/viewercount except this "updated" event
We need this event because we want the viewer to know that a publisher has switched off their audio/video (i.e mic/camera)
I was expecting a
source.publish.webRTCPeer?.replaceTrack(audioTrack)
will trigger that but got nothing.Then I tried to remove the track completely but still nothing
source.publish.getRTCPeerConnection().removeTrack(rtcRTPSenderAudioTrack)
Even checked the track events
viewer.on("track", handleTrack)
.source.publish.webRTCPeer?.replaceTrack(audioTrack)
orsource.publish.getRTCPeerConnection().removeTrack(rtcRTPSenderAudioTrack)
is not triggering a "track" event eitherTrack events are being received only during "active" broadcast event. When a source starts with both camera and mic on, Viewer gets an "active" broadcast event followed by two "track" events (audio and video). But now if the source stops mic/camera, the changes are reflected on the viewer UI immediately but not receiving any events
We are using latest version of millicast sdk. How are these "updated" broadcast events triggered exactly when the Publisher changes the video/audio track? Please help
The text was updated successfully, but these errors were encountered: