v1.7.3/fix video, fix funimation
This commit is contained in:
@@ -191,7 +191,7 @@ export default class CallManager {
|
||||
|
||||
VoxeetSDK.conference.on('streamAdded', (participant, stream) => {
|
||||
this.listener({ callActionPending: true });
|
||||
const vid = 'video#' + participant.id;
|
||||
const vid = 'video#' + CSS.escape(participant.id);
|
||||
if (!document.querySelector(vid)) {
|
||||
const vidNode = document.createElement('video');
|
||||
vidNode.id = participant.id;
|
||||
@@ -205,8 +205,6 @@ export default class CallManager {
|
||||
vidContainerNode.setAttribute('data-name', participant.info.name || '');
|
||||
vidContainerNode.appendChild(vidNode);
|
||||
|
||||
console.log(participant);
|
||||
|
||||
if (participant.info.externalId !== LocalData().userUid) {
|
||||
const volSliderNode = document.createElement('input');
|
||||
volSliderNode.setAttribute('type', 'range');
|
||||
@@ -236,8 +234,8 @@ export default class CallManager {
|
||||
});
|
||||
|
||||
VoxeetSDK.conference.on('streamRemoved', (participant, stream) => {
|
||||
const vcid = ".vxt-video[data-id='" + participant.id + "']";
|
||||
const vid = 'video#' + participant.id;
|
||||
const vcid = ".vxt-video[data-id='" + CSS.escape(participant.id) + "']";
|
||||
const vid = 'video#' + CSS.escape(participant.id);
|
||||
if (document.querySelector(vcid)) {
|
||||
document
|
||||
.querySelector(vid)
|
||||
|
||||
Reference in New Issue
Block a user