Adds method to obtain remote video type.
This commit is contained in:
parent
7ea675159e
commit
b64f3a5913
|
@ -700,6 +700,15 @@ UI.getLargeVideoResource = function () {
|
|||
return VideoLayout.getLargeVideoResource();
|
||||
};
|
||||
|
||||
/**
|
||||
* Return the type of the remote video.
|
||||
* @param jid the jid for the remote video
|
||||
* @returns the video type video or screen.
|
||||
*/
|
||||
UI.getRemoteVideoType = function (jid) {
|
||||
return VideoLayout.getRemoteVideoType(jid);
|
||||
};
|
||||
|
||||
UI.getRoomNode = function () {
|
||||
if (roomNode)
|
||||
return roomNode;
|
||||
|
|
|
@ -191,6 +191,15 @@ var VideoLayout = (function (my) {
|
|||
return LargeVideo.getResourceJid();
|
||||
};
|
||||
|
||||
/**
|
||||
* Return the type of the remote video.
|
||||
* @param jid the jid for the remote video
|
||||
* @returns the video type video or screen.
|
||||
*/
|
||||
my.getRemoteVideoType = function (jid) {
|
||||
return remoteVideoTypes[jid];
|
||||
};
|
||||
|
||||
/**
|
||||
* Called when large video update is finished
|
||||
* @param currentSmallVideo small video currently displayed on large video
|
||||
|
|
Loading…
Reference in New Issue