Fix issue when screensharing first
This commit is contained in:
parent
695d14972f
commit
7ed87d01c6
@ -206,6 +206,7 @@ this.isLoggedIntoVerto = function () {
|
|||||||
|
|
||||||
// overwrite and substitute my own init function
|
// overwrite and substitute my own init function
|
||||||
this.init = function(videoTag) {
|
this.init = function(videoTag) {
|
||||||
|
videoTag = window.videoTag;
|
||||||
cur_call = null;
|
cur_call = null;
|
||||||
share_call = null;
|
share_call = null;
|
||||||
incomingBandwidth = "default";
|
incomingBandwidth = "default";
|
||||||
|
@ -159,6 +159,7 @@ this.getDeskshareConstraintsFromResolution = function(resolution, constraints) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.screenStart = function(state, callback, videoTag) {
|
this.screenStart = function(state, callback, videoTag) {
|
||||||
|
window.videoTag = videoTag;
|
||||||
if (state) {
|
if (state) {
|
||||||
if(!isLoggedIntoVerto()) { // start the verto log in procedure
|
if(!isLoggedIntoVerto()) { // start the verto log in procedure
|
||||||
// runs when the websocket is successfully created
|
// runs when the websocket is successfully created
|
||||||
|
Loading…
Reference in New Issue
Block a user