mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-07 12:18:12 +08:00
修复在win32上编译问题
This commit is contained in:
Submodule ZLToolKit updated: 8225192d05...7edec2d0d6
@@ -148,7 +148,7 @@ RtpBroadCaster::RtpBroadCaster(const string &strLocalIp,const string &strVhost,c
|
|||||||
<< strVhost << " "
|
<< strVhost << " "
|
||||||
<< strApp << " " << strStream;
|
<< strApp << " " << strStream;
|
||||||
}
|
}
|
||||||
uint16_t RtpBroadCaster::getPort(int trackType){
|
uint16_t RtpBroadCaster::getPort(TrackType trackType){
|
||||||
return m_apUdpSock[trackType]->get_local_port();
|
return m_apUdpSock[trackType]->get_local_port();
|
||||||
}
|
}
|
||||||
string RtpBroadCaster::getIP(){
|
string RtpBroadCaster::getIP(){
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include "Common/config.h"
|
#include "Common/config.h"
|
||||||
|
#include "Rtsp.h"
|
||||||
#include "RtspMediaSource.h"
|
#include "RtspMediaSource.h"
|
||||||
#include "Util/mini.h"
|
#include "Util/mini.h"
|
||||||
#include "Network/Socket.h"
|
#include "Network/Socket.h"
|
||||||
@@ -74,7 +75,7 @@ public:
|
|||||||
virtual ~RtpBroadCaster();
|
virtual ~RtpBroadCaster();
|
||||||
static Ptr get(const string &strLocalIp,const string &strVhost,const string &strApp,const string &strStream);
|
static Ptr get(const string &strLocalIp,const string &strVhost,const string &strApp,const string &strStream);
|
||||||
void setDetachCB(void *listener,const onDetach &cb);
|
void setDetachCB(void *listener,const onDetach &cb);
|
||||||
uint16_t getPort(int trackType);
|
uint16_t getPort(TrackType trackType);
|
||||||
string getIP();
|
string getIP();
|
||||||
private:
|
private:
|
||||||
static recursive_mutex g_mtx;
|
static recursive_mutex g_mtx;
|
||||||
|
|||||||
Reference in New Issue
Block a user