Some minor cleanups

master
WolverinDEV 2021-03-11 14:37:57 +01:00
parent f0a79f52ba
commit ea79d9d6a4
2 changed files with 1 additions and 8 deletions

View File

@ -337,13 +337,6 @@ class LocalVideoController extends RemoteClientVideoController {
}
}
}
/*
protected getBroadcastStream(target: VideoBroadcastType) : MediaStream | undefined {
const videoConnection = this.client.channelTree.client.serverConnection.getVideoConnection();
return videoConnection.getBroadcastingSource(target)?.getStream();
}
*/
}
class ChannelVideoController {

View File

@ -163,7 +163,7 @@ const VideoGeneralAvailableRenderer = (props: { videoId: string, haveScreen: boo
const events = useContext(EventContext);
const subscribeInfo = useContext(SubscribeContext);
if(props.haveCamera && canSubscribe(subscribeInfo, "camera") || props.haveScreen && canSubscribe(subscribeInfo, "screen")) {
if((props.haveCamera && canSubscribe(subscribeInfo, "camera")) || (props.haveScreen && canSubscribe(subscribeInfo, "screen"))) {
return (
<div className={cssStyle.text + " " + props.className} key={"video-muted"}>
<div className={cssStyle.videoAvailable}>