send mouse drag over wrtc (#139)

* send mouse drag over wrtc

* add more debugging code

* wrtc data channel working
This commit is contained in:
Kurt Hutten
2023-06-23 09:56:37 +10:00
committed by GitHub
parent 2d3c73d46a
commit 7289965916
3 changed files with 42 additions and 2 deletions

View File

@ -138,6 +138,12 @@ export function App() {
})
}
const engineCommandManager = useMemo(() => new EngineCommandManager(setMediaStream), [])
useEffect(() => {
return () => {
engineCommandManager.tearDown()
}
}, [])
useEffect(() => {
const asyncWrap = async () => {
try {