mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add TODO for complex handshake
This commit is contained in:
parent
2ee913bd70
commit
2987a24877
1 changed files with 1 additions and 0 deletions
|
@ -173,6 +173,7 @@ int SrsRtmp::handshake()
|
||||||
ssize_t nsize;
|
ssize_t nsize;
|
||||||
SrsSocket skt(stfd);
|
SrsSocket skt(stfd);
|
||||||
|
|
||||||
|
// TODO: complex handshake for h264 codec.
|
||||||
char* c0c1 = new char[1537];
|
char* c0c1 = new char[1537];
|
||||||
SrsAutoFree(char, c0c1, true);
|
SrsAutoFree(char, c0c1, true);
|
||||||
if ((ret = skt.read_fully(c0c1, 1537, &nsize)) != ERROR_SUCCESS) {
|
if ((ret = skt.read_fully(c0c1, 1537, &nsize)) != ERROR_SUCCESS) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue