zhejinjiang

Results 5 comments of zhejinjiang

i have same issue. and accessing /api/stream via localhost. same RTSP url work in VLC player. ![image](https://user-images.githubusercontent.com/89907308/163775185-6dcadfe3-99df-486b-bf5c-a0f24568a7de.png) ![image](https://user-images.githubusercontent.com/89907308/163775245-4da7ec20-852f-4c1a-9026-3992d77a8bc9.png) 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.