zhejinjiang
zhejinjiang
i have same issue. and accessing /api/stream via localhost. same RTSP url work in VLC player.   Chrome/100.0.4896.60
emm... h265 streaming, switch to 264 is OK.
` if (index !== -1) { this.pool = pool = pool.slice(index); let image = pool[0]; this.checkBuffer(time); return image; } `
我这边有个问题,就是我调用destroy后并把player对象丢掉,imageData的pool的数据并没有被丢掉(没有被垃圾回收),目前没查到哪里还在引用。目前我的做法是在player.destroy的时候,同时清除pool。
and we need client create a datachannel, and server get datachannel and send data to client by it.