mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-26 03:42:21 +08:00
tcp客户端支持指定网卡
This commit is contained in:
@@ -147,6 +147,9 @@ void RtspPlayer::play(const char* strUrl, const char *strUser, const char *strPw
|
||||
}
|
||||
|
||||
m_strUrl = strUrl;
|
||||
if(!(*this)[PlayerBase::kNetAdapter].empty()){
|
||||
setNetAdapter((*this)[PlayerBase::kNetAdapter]);
|
||||
}
|
||||
startConnect(ip.data(), port);
|
||||
}
|
||||
void RtspPlayer::onConnect(const SockException &err){
|
||||
|
||||
Reference in New Issue
Block a user