【owt-server】RtcAdapter 的实现
作者:互联网
-
G:\NDDEV\RTS[\owt-server\source\core\rtc_adapter\RtcAdapter.cc
-
构造 VideoSendAdapterImpl VideoReceiveAdapterImpl AudioSendAdapterImpl
AudioSendAdapterImpl -
都需要传递 RTCAdapter 指针对象。
RTCAdapter 使用多为指针
-
因为多为指针,不是智能指针,所以适宜直接delete
-
但是是通过工厂模式创建一个 指针对象,
-
每次调用都会创建一个指针对象。
-
RtcAdapterImpl 最后讲。
RTCAdapter 是对send receiver们做管控的
- 除此之外,还要监控四种类型的数据:
- data
- stats
标签:RtcAdapter,AudioSendAdapterImpl,RTCAdapter,owt,server,指针 来源: https://blog.csdn.net/commshare/article/details/113133571