feat: voice fullscreen mode

This commit is contained in:
Tristan Yang
2023-04-27 11:56:21 +08:00
parent 3bcdb640cd
commit 86ec2ea808
14 changed files with 235 additions and 49 deletions
+2 -1
View File
@@ -14,10 +14,11 @@ import IconScreen from '../../assets/icons/share.screen.svg';
import { useVoice } from '../../common/component/Voice';
import Signal from '../../common/component/Signal';
import Tooltip from '../../common/component/Tooltip';
import { ChatContext } from '../../types/common';
type Props = {
id: number,
context?: "channel" | "dm"
context?: ChatContext
}
const RTCWidget = ({ id, context = "channel" }: Props) => {