mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bug of SrsFMLEStartPacket command name, set_recv_timeout(SRS_PAUSED_RECV_TIMEOUT_US)
This commit is contained in:
parent
797d548766
commit
4aeed8df1d
2 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ int SrsClient::service_cycle()
|
|||
// logical accept and retry stream service.
|
||||
if (ret == ERROR_CONTROL_RTMP_CLOSE) {
|
||||
// set timeout to a larger value, for user paused.
|
||||
rtmp->set_recv_timeout(SRS_PAUSED_SEND_TIMEOUT_US);
|
||||
rtmp->set_recv_timeout(SRS_PAUSED_RECV_TIMEOUT_US);
|
||||
rtmp->set_send_timeout(SRS_PAUSED_SEND_TIMEOUT_US);
|
||||
|
||||
srs_trace("control message(close) accept, retry stream service.");
|
||||
|
|
|
@ -2110,7 +2110,7 @@ int SrsCloseStreamPacket::decode(SrsStream* stream)
|
|||
|
||||
SrsFMLEStartPacket::SrsFMLEStartPacket()
|
||||
{
|
||||
command_name = RTMP_AMF0_COMMAND_CREATE_STREAM;
|
||||
command_name = RTMP_AMF0_COMMAND_RELEASE_STREAM;
|
||||
transaction_id = 0;
|
||||
command_object = new SrsAmf0Null();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue