VideoFrame和AudioFrame增加track的指针方便访问track,rtp写入采用内存复用机制

This commit is contained in:
dexter
2023-02-26 10:36:37 +08:00
parent 4d008cfc5e
commit fd2c7b8cb6
11 changed files with 78 additions and 110 deletions

View File

@@ -112,7 +112,6 @@ type Engine struct {
Publish
Subscribe
HTTP
RTPReorder bool `default:"true"`
EnableAVCC bool `default:"true"` //启用AVCC格式rtmp协议使用
EnableRTP bool `default:"true"` //启用RTP格式rtsp、gb18181等协议使用
EnableSubEvent bool `default:"true"` //启用订阅事件,禁用可以提高性能