Commit 7ea047cf authored by hristoterezov's avatar hristoterezov Committed by GitHub
Browse files

Merge pull request #743 from jitsi/handle-initial-videotype

Uses videoType from the video track for the initial value.
parents 0e2d8a32 74ece3a7
No related merge requests found
Showing with 3 additions and 0 deletions
......@@ -210,6 +210,9 @@ RemoteVideo.prototype.addRemoteStreamElement = function (stream) {
let isVideo = stream.isVideoTrack();
isVideo ? this.videoStream = stream : this.audioStream = stream;
if (isVideo)
this.setVideoType(stream.videoType);
// Add click handler.
let onClickHandler = (event) => {
let source = event.target || event.srcElement;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment