mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
支持多线程
This commit is contained in:
parent
d0a1c72fda
commit
cc960a324f
@ -227,7 +227,8 @@ namespace RTC
|
||||
bool handshakeDone{ false };
|
||||
bool handshakeDoneNow{ false };
|
||||
std::string remoteCert;
|
||||
static constexpr int SslReadBufferSize{ 65536 };
|
||||
//最大不超过mtu
|
||||
static constexpr int SslReadBufferSize{ 1600 };
|
||||
uint8_t sslReadBuffer[SslReadBufferSize];
|
||||
};
|
||||
} // namespace RTC
|
||||
|
@ -7,10 +7,6 @@
|
||||
namespace RTC
|
||||
{
|
||||
/* Static. */
|
||||
|
||||
static constexpr size_t StunSerializeBufferSize{ 65536 };
|
||||
static uint8_t StunSerializeBuffer[StunSerializeBufferSize];
|
||||
|
||||
/* Instance methods. */
|
||||
|
||||
IceServer::IceServer(Listener* listener, const std::string& usernameFragment, const std::string& password)
|
||||
|
@ -106,6 +106,9 @@ namespace RTC
|
||||
IceState state{ IceState::NEW };
|
||||
std::list<RTC::TransportTuple> tuples;
|
||||
RTC::TransportTuple* selectedTuple{ nullptr };
|
||||
//最大不超过mtu
|
||||
static constexpr size_t StunSerializeBufferSize{ 1600 };
|
||||
uint8_t StunSerializeBuffer[StunSerializeBufferSize];
|
||||
};
|
||||
} // namespace RTC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user