mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 01:09:27 +02:00
Prevent video dropout with audioFallbackEnabled set to false
This commit is contained in:
parent
5eae6711e6
commit
327508aa0d
1 changed files with 7 additions and 3 deletions
|
@ -258,11 +258,15 @@ var publisher;
|
||||||
function startTokboxPublisher(stream) {
|
function startTokboxPublisher(stream) {
|
||||||
publisher = document.createElement("div");
|
publisher = document.createElement("div");
|
||||||
var publisherOptions = {
|
var publisherOptions = {
|
||||||
videoSource: stream.getVideoTracks()[0],
|
audioFallbackEnabled: false,
|
||||||
audioSource: null,
|
audioSource: null,
|
||||||
|
fitMode: 'contain',
|
||||||
|
frameRate: 30,
|
||||||
|
height: 720,
|
||||||
insertMode: 'append',
|
insertMode: 'append',
|
||||||
width: 1280,
|
publishAudio: false,
|
||||||
height: 720
|
videoSource: stream.getVideoTracks()[0],
|
||||||
|
width: 1280
|
||||||
};
|
};
|
||||||
|
|
||||||
publisher = OT.initPublisher(publisher, publisherOptions, function(error){
|
publisher = OT.initPublisher(publisher, publisherOptions, function(error){
|
||||||
|
|
Loading…
Reference in a new issue