Open LineCatOvO opened 3 months ago
I have encountered a similar problem with a live-streaming setup like yours. It happens in Chrome. If I click anywhere on the opened browser client page or open and close the developer tools in the browser, the rendering speeds up to the expected rate. I have not found the root cause yet, only this strange observation
There is a server(c using ffmpeg) and a client(JMuxer in html page), server sends the encoded single frame's packet to the client using websocket, I have configured the client JMuxer:
and the feed function:
then while in console the frames received, (each two line means a frame?)
(dts increasing speed in console message is about 1000/~3s, while in server I have set the pts and dts increasing as 60fps, performance issue?) the video play is more like 1 fps and if I set the duration too low(16, which is the 60fps), its decode goes error. I think there should be something I didn't configured correctly, but after hours I have completely no idea, much thanks if you can help me.