mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-05 10:56:15 +08:00
TcpSession/UdpSession统一为Session类
This commit is contained in:
@@ -18,7 +18,7 @@ using namespace toolkit;
|
||||
|
||||
API_EXPORT mk_thread API_CALL mk_thread_from_tcp_session(mk_tcp_session ctx){
|
||||
assert(ctx);
|
||||
TcpSessionForC *obj = (TcpSessionForC *)ctx;
|
||||
SessionForC *obj = (SessionForC *)ctx;
|
||||
return obj->getPoller().get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user