1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00

Updated JS WebRTC debug hooks

This commit is contained in:
Bryan Roe
2019-01-29 22:41:35 -08:00
parent 305f04ad2e
commit 1f4f3185bd
5 changed files with 62 additions and 27 deletions

View File

@@ -108,7 +108,10 @@ void* ILibWrapper_WebRTC_Connection_GetStunModule(ILibWrapper_WebRTC_Connection
{
return(((ILibWrapper_WebRTC_ConnectionStruct*)connection)->mFactory->mStunModule);
}
void* ILibWrapper_WebRTC_DtlsSessionToSSL(void *dtls)
{
return(ILibWebRTC_Dtls2SSL(dtls));
}
ILibTransport_DoneState ILibWrapper_ILibTransport_SendSink(void *transport, char* buffer, int bufferLength, ILibTransport_MemoryOwnership ownership, ILibTransport_DoneState done)
{
ILibTransport_DoneState retVal = ILibWrapper_WebRTC_DataChannel_Send((ILibWrapper_WebRTC_DataChannel*)transport, buffer, bufferLength);