增加 WebRtcTransportManager (#1156)

增加 WebRtcTransportManager
This commit is contained in:
johzzy
2021-10-13 14:15:29 +08:00
committed by GitHub
parent acbe99cb43
commit 2ec3b0ccea
3 changed files with 44 additions and 21 deletions

View File

@@ -170,7 +170,8 @@ public:
* @return 对象
*/
static Ptr create(const EventPoller::Ptr &poller);
static Ptr getRtcTransport(const string &key, bool unref_self);
static Ptr get(const string &key); // 借用
static Ptr move(const string &key); // 所有权转移
void setSession(Session::Ptr session);