You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: XEngine_Source/XEngine_ServiceApp/XEngine_StreamMediaApp/StreamMedia_PullStream/PullStream_ClientWebRtc.cpp
+15-12Lines changed: 15 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,13 @@ bool PullStream_ClientProtocol_Stun(LPCXSTR lpszMSGBuffer, int nMSGLen)
22
22
}
23
23
boolPullStream_ClientProtocol_Handle(LPCXSTR lpszClientAddr, XSOCKET hSocket, LPCXSTR lpszMsgBuffer, int nMsgLen)
24
24
{
25
+
int nRVLen = 0;
26
+
int nSDLen = 0;
27
+
XCHAR tszRVBuffer[1024] = {};
28
+
XCHAR tszSDBuffer[1024] = {};
29
+
25
30
if (PullStream_ClientProtocol_Dtls(lpszMsgBuffer, nMsgLen))
26
31
{
27
-
int nSDLen = 2048;
28
-
XCHAR tszSDBuffer[2048] = {};
29
32
XBYTE tszSDKey[128] = {};
30
33
XBYTE tszRVKey[128] = {};
31
34
@@ -63,22 +66,22 @@ bool PullStream_ClientProtocol_Handle(LPCXSTR lpszClientAddr, XSOCKET hSocket, L
0 commit comments