mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update streamid decode
This commit is contained in:
parent
d7437834d4
commit
06e7a20b5f
3 changed files with 96 additions and 61 deletions
|
@ -421,7 +421,12 @@ void srt_handle::handle_srt_socket(SRT_SOCKSTATUS status, SRTSOCKET conn_fd)
|
|||
}
|
||||
return;
|
||||
}
|
||||
get_streamid_info(conn_ptr->get_streamid(), mode, subpath);
|
||||
bool ret = get_streamid_info(conn_ptr->get_streamid(), mode, subpath);
|
||||
if (!ret) {
|
||||
conn_ptr->close();
|
||||
conn_ptr = nullptr;
|
||||
return;
|
||||
}
|
||||
|
||||
if (mode == PUSH_SRT_MODE) {
|
||||
switch (status)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue