Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
gencay tekin
jitsi-meet
Commits
7ea047cf
Commit
7ea047cf
authored
8 years ago
by
hristoterezov
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/UI/videolayout/RemoteVideo.js
+3
-0
modules/UI/videolayout/RemoteVideo.js
with
3 additions
and
0 deletions
modules/UI/videolayout/RemoteVideo.js
+
3
−
0
View file @
7ea047cf
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets