mirror of https://github.com/OpenVidu/openvidu.git
Add NONE VideoInsertMode
parent
7ea92b74fd
commit
f43c891318
|
@ -329,6 +329,8 @@ export class StreamManager implements EventDispatcher {
|
|||
case VideoInsertMode.REPLACE:
|
||||
targEl.parentNode!!.replaceChild(video, targEl);
|
||||
break;
|
||||
case VideoInsertMode.NONE:
|
||||
break;
|
||||
default:
|
||||
insMode = VideoInsertMode.APPEND;
|
||||
targEl.appendChild(video);
|
||||
|
|
|
@ -39,6 +39,11 @@ export enum VideoInsertMode {
|
|||
/**
|
||||
* Video replaces target element
|
||||
*/
|
||||
REPLACE = 'REPLACE'
|
||||
REPLACE = 'REPLACE',
|
||||
|
||||
/**
|
||||
* Video is not inserted into the target element
|
||||
*/
|
||||
NONE = 'NONE'
|
||||
|
||||
}
|
Loading…
Reference in New Issue