feature(ui) - assist actions
This commit is contained in:
parent
ceca1c470a
commit
78806e6fdd
2 changed files with 4 additions and 4 deletions
|
|
@ -6,12 +6,12 @@ import { callPeer } from 'App/player'
|
|||
import cn from 'classnames'
|
||||
|
||||
export interface Props {
|
||||
inputStream: MediaStream | null,
|
||||
outputStream: MediaStream | null
|
||||
incomeStream: MediaStream | null,
|
||||
localStream: MediaStream | null
|
||||
// call: (oStream: MediaStream, cb: (iStream: MediaStream)=>void)=>void
|
||||
}
|
||||
|
||||
const ChatWindow: FC<Props> = function ChatWindow({ inputStream, outputStream }) {
|
||||
const ChatWindow: FC<Props> = function ChatWindow({ incomeStream, localStream }) {
|
||||
const [minimize, setMinimize] = useState(false)
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ function AssistActions({ toggleChatWindow, userId, calling }: Props) {
|
|||
position="top right"
|
||||
/>
|
||||
<div className="fixed ml-3 left-0 top-0 z-50">
|
||||
{ showChat && <ChatWindow inputStream={inputStream} outputStream={outputStream} /> }
|
||||
{ showChat && <ChatWindow incomeStream={incomeStream} localStream={localStream} /> }
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue