mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser bug fix: addVideoElement for displayedRemote streams
parent
b44a84d992
commit
218a19ee06
|
@ -221,6 +221,10 @@ export class StreamManager implements EventDispatcher {
|
|||
|
||||
this.initializeVideoProperties(video);
|
||||
|
||||
if (this.stream.isLocal() && this.stream.displayMyRemote()) {
|
||||
video.srcObject = this.stream.getMediaStream();
|
||||
}
|
||||
|
||||
// If the video element is already part of this StreamManager do nothing
|
||||
for (const v of this.videos) {
|
||||
if (v.video === video) {
|
||||
|
|
Loading…
Reference in New Issue