正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -68,7 +68,8 @@ int SrsRtmp::handshake() | @@ -68,7 +68,8 @@ int SrsRtmp::handshake() | ||
68 | 68 | ||
69 | char* s0s1s2 = new char[3073]; | 69 | char* s0s1s2 = new char[3073]; |
70 | SrsAutoFree(char, s0s1s2, true); | 70 | SrsAutoFree(char, s0s1s2, true); |
71 | - s0s1s2[0] = 0x03; // plain text. | 71 | + // plain text required. |
72 | + s0s1s2[0] = 0x03; | ||
72 | if ((ret = skt.write(s0s1s2, 3073, &nsize)) != ERROR_SUCCESS) { | 73 | if ((ret = skt.write(s0s1s2, 3073, &nsize)) != ERROR_SUCCESS) { |
73 | srs_warn("send s0s1s2 failed. ret=%d", ret); | 74 | srs_warn("send s0s1s2 failed. ret=%d", ret); |
74 | return ret; | 75 | return ret; |
-
请 注册 或 登录 后发表评论