1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

RTC: Fix is_started state init bug

This commit is contained in:
winlin 2020-08-07 12:48:45 +08:00
parent cfb44f0ef8
commit 47c43e47b6
2 changed files with 3 additions and 1 deletions

View file

@ -203,6 +203,7 @@ SrsRtcPlayStream::SrsRtcPlayStream(SrsRtcConnection* s, SrsContextId parent_cid)
req_ = NULL;
source_ = NULL;
is_started = false;
session_ = s;
mw_msgs = 0;
@ -804,6 +805,7 @@ SrsRtcPublishStream::SrsRtcPublishStream(SrsRtcConnection* session)
{
timer_ = new SrsHourGlass(this, 200 * SRS_UTIME_MILLISECONDS);
is_started = false;
session_ = session;
request_keyframe_ = false;

View file

@ -24,6 +24,6 @@
#ifndef SRS_CORE_VERSION4_HPP
#define SRS_CORE_VERSION4_HPP
#define SRS_VERSION4_REVISION 37
#define SRS_VERSION4_REVISION 38
#endif