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

@ -27,7 +27,7 @@ export const Stream = () => {
const debounceSocketSend = throttle((message) => {
engineCommandManager?.sendSceneCommand(message)
}, 100)
}, 16)
const handleMouseMove: MouseEventHandler<HTMLVideoElement> = ({
clientX,
clientY,