Skip to content

Commit ef2a653

Browse files
committed
fixed:failed is dtls handshake
1 parent 3c1e4ea commit ef2a653

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

XEngine_Source/XEngine_ServiceApp/XEngine_StreamMediaApp/StreamMedia_PullStream/PullStream_ClientWebRtc.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ bool PullStream_ClientProtocol_Handle(LPCXSTR lpszClientAddr, XSOCKET hSocket, L
2424
{
2525
int nRVLen = 0;
2626
int nSDLen = 0;
27-
XCHAR tszRVBuffer[1024] = {};
28-
XCHAR tszSDBuffer[1024] = {};
27+
XCHAR tszRVBuffer[2048] = {};
28+
XCHAR tszSDBuffer[2048] = {};
2929

3030
if (PullStream_ClientProtocol_Dtls(lpszMsgBuffer, nMsgLen))
3131
{
32+
nSDLen = 2048;
3233
XBYTE tszSDKey[128] = {};
3334
XBYTE tszRVKey[128] = {};
3435

0 commit comments

Comments
 (0)