i am in situation where i'll let group member's to watch all shared webcams
first..then if he want he can share his too, but not required..
i understand this is my specify requirement thats why i didn't post to
github.
here is what i've tried so far.
commented
*this.rtcUtils.obtainAudioAndVideoPermissions();*
and call this when user want to share webcam
and change condition
here
function maybeDoJoin() {
if (connection && connection.connected &&
Strophe.getResourceFromJid(connection.jid)
/*&& (APP.RTC.localAudio || APP.RTC.localVideo)*/) {
// .connected is true while connecting?
doJoin();
}
}
and above didn't work for me. and i get Jingle Object Error sometimes and
not remove videos ever displayed.
let me where sholud i look to make this happen?
so any let me know if there is an example of something that do simmilar
where numbers viewers are more then number of publishers.
···
--
Thanks.
------------------------------------------------------------------------------
-- Meghraj Choudhary (jtt.meghraj@gmail.com)
-- Web Application Developer
-- Just Total Tech