Hi ,
How to associate video stream with username, from ontrack.
I am using asterisk 16.8 jssip 3.9.1.
Thanks
Hi ,
How to associate video stream with username, from ontrack.
I am using asterisk 16.8 jssip 3.9.1.
Thanks
You’ll need to give far more detail about what you are trying to achieve and where.
Sorry it’s my first topic
1 - I connect asterisk with: this.ua = new JsSIP.UA(config);
2 - I call a video room with : this.ua.call(‘sip:’ + room_name + ‘@’ + window.location.hostname , options) and Asterisk : same => n,Confbridge(${EXTEN},default_bridge,default_user,testmenu)
3 - All it’s working i receive audio and video from asterisk for all user with :
this.session.connection.ontrack = (evt) => {
if (evt.track.kind == “audio”) {
HVMeet.Conference.local.remote_stream = evt.streams[0];
document.getElementById(“remotePhone”).srcObject = evt.streams[0];
}
if (evt.track.kind == "video") {
HVMeet.Conference.addRemoteStream(evt.streams[0]);
}
};
my question is how to associate the video with the username ?
the room only returns me the name of the room without the name of the user
There’s a blog post that covers this:
Thanks a lot
Thank you I love asterisk
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.