Some minor cleanups
parent
f0a79f52ba
commit
ea79d9d6a4
|
@ -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 {
|
||||
|
|
|
@ -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}>
|
||||
|
|
Loading…
Reference in New Issue