hi, there is a problem with h264 video play in browser.
I make a websocket server instead of your ws_server to accept my Android device h264 stream by scrcpy.
like this
var ws = new WebSocket("ws://localhost:7401/AKC7N18515007324");
And then I open 127.0.0.1:8001 in browser. There is no error, but the video does not play rightly in broswer. The video only show the first frame or work right a few time.

Please help me to solve this problem. If you want more info I will offer that
hi, there is a problem with h264 video play in browser.

I make a websocket server instead of your ws_server to accept my Android device h264 stream by scrcpy.
like this
var ws = new WebSocket("ws://localhost:7401/AKC7N18515007324");And then I open 127.0.0.1:8001 in browser. There is no error, but the video does not play rightly in broswer. The video only show the first frame or work right a few time.
Please help me to solve this problem. If you want more info I will offer that