Hi again,
I'm facing a strange issue with 0.6 version of the library.
In particular, I can't display remote video in a video tag, while local video has no issue.
Related HTML is:
<div id="in-video-remote-container" class="img img-responsive">
<video id="in-video-remote" autoplay="autoplay"></video>
<div id="in-video-local-container" class="overlay">
<video id="in-video-local" autoplay="autoplay" muted></video></div>
Javascript side when i click a button it calls this function:
call : function(called, withVideo,elements) {
var options = null;
if(!withVideo){
options = {
media: {
constraints: {
audio: true,
video: withVideo,
},
render : {
remote: {
audio: elements.audio_remote
},
}
}
};
} else {
options = {
media: {
constraints: {
audio: true,
video: withVideo,
},
render : {
remote: {
video : elements.video_remote
},
local : {
video : elements.video_local
}
}
}
};
}
var session = this._UA.invite(called, options);
this._createNewSession(session);
_createNewSession is used to attach event handler when session is created (with .invite() method and with invite event).
This is the video tag after accepting the call:
I attached chrome log and video statistics.
Any idea?