openvidu-getaroom: style publisher's video
This commit is contained in:
parent
9a8007aac2
commit
00252652ea
@ -86,14 +86,14 @@ function joinRoom() {
|
||||
|
||||
// --- 6) Get your own camera stream with the desired properties ---
|
||||
|
||||
publisher = OV.initPublisher('publisher', {
|
||||
publisher = OV.initPublisher('videos', {
|
||||
audioSource: undefined, // The source of audio. If undefined default audio input
|
||||
videoSource: undefined, // The source of video. If undefined default video input
|
||||
publishAudio: true, // Whether to start publishing with your audio unmuted or not
|
||||
publishVideo: true, // Whether to start publishing with your video enabled or not
|
||||
resolution: '640x480', // The resolution of your video
|
||||
frameRate: 30, // The frame rate of your video
|
||||
insertMode: 'APPEND', // How the video is inserted in target element 'video-container'
|
||||
insertMode: 'PREPEND', // How the video is inserted in target element 'video-container'
|
||||
mirror: true // Whether to mirror your local video or not
|
||||
});
|
||||
|
||||
|
||||
@ -71,9 +71,7 @@
|
||||
|
||||
<!-- Session page template -->
|
||||
<div id="session" hidden>
|
||||
|
||||
<div id="videos" class="row no-margin">
|
||||
<div id="publisher"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user