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
Describe the bug
When publishing my own video stream, no streamPropertyChanged events are emitted when the iOS device is rotated.
Expected behavior
When changing the orientation of the iOS device a streamPropertyChanged event with reason='deviceRotated' and property='videoDimensions' should be emitted.
Wrong current behavior
The onOrientationChanged handler calls the method Publisher.getVideoDimensions() which throws in the line document.body.removeChild(this.videoReference). Thus, OpenVidu.sendNewVideoDimensionsIfRequired() cannot continue to call OpenVidu.sendVideoDimensionsChangedEvent().
OpenVidu tutorial where to replicate the error
Any HTML page with a button, a video element and openvidu-browser v2.21–v2.27:
Describe the bug
When publishing my own video stream, no
streamPropertyChanged
events are emitted when the iOS device is rotated.Expected behavior
When changing the orientation of the iOS device a
streamPropertyChanged
event withreason='deviceRotated'
andproperty='videoDimensions'
should be emitted.Wrong current behavior
The
onOrientationChanged
handler calls the methodPublisher.getVideoDimensions()
which throws in the linedocument.body.removeChild(this.videoReference)
. Thus,OpenVidu.sendNewVideoDimensionsIfRequired()
cannot continue to callOpenVidu.sendVideoDimensionsChangedEvent()
.OpenVidu tutorial where to replicate the error
openvidu-browser
v2.21–v2.27:kind = 'video'
and attach to<video>
<button>
var OV = new OpenVidu();
var session = OV.initSession();
var publisher = await OV.initPublisherAsync(null, {audioSource: false, videoSource: localVideoTrack});
var token = await getAccessToken();
// <-- fetch from your serverawait session.connect(token);
session.publish(publisher);
"Unhandled Promise Rejection: NotFoundError: The object can not be found here." - Publisher.ts line 723
in the DevTools consoleOpenVidu deployment info
Client device info (if applicable)
Additional context
#795 might be a related issue
The text was updated successfully, but these errors were encountered: