1
0
Fork 0
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:
runner365 2020-01-23 17:19:06 +08:00
parent d7437834d4
commit 06e7a20b5f
3 changed files with 96 additions and 61 deletions

View file

@ -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)