fix(UI): Add method for returning the video type of remote participants.
This is needed for the torture clients to determine the video type for the remote participants when testing desktop share.
This commit is contained in:
parent
76c9d96361
commit
696ec36c8c
|
@ -597,6 +597,16 @@ UI.onUserFeaturesChanged = user => VideoLayout.onUserFeaturesChanged(user);
|
|||
*/
|
||||
UI.getRemoteVideosCount = () => VideoLayout.getRemoteVideosCount();
|
||||
|
||||
/**
|
||||
* Returns the video type of the remote participant's video.
|
||||
* This is needed for the torture clients to determine the video type of the
|
||||
* remote participants.
|
||||
*
|
||||
* @param {string} participantID - The id of the remote participant.
|
||||
* @returns {string} The video type "camera" or "desktop".
|
||||
*/
|
||||
UI.getRemoteVideoType = participantID => VideoLayout.getRemoteVideoType(participantID);
|
||||
|
||||
/**
|
||||
* Sets the remote control active status for a remote participant.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue