📦 NEW: 暴露插件对象WebRTCPlugin

This commit is contained in:
dexter
2022-10-28 15:46:58 +08:00
parent 657d08cc23
commit cfafbd73d3
2 changed files with 43 additions and 6 deletions

View File

@@ -78,3 +78,10 @@ func (suber *WebRTCSubscriber) OnEvent(event any) {
suber.Subscriber.OnEvent(event)
}
}
// WebRTCBatcher 批量订阅者
type WebRTCBatcher struct {
WebRTCIO
PageSize int
PageNum int
}