RTC: Fix is_started state init bug

pull/1895/head^2
winlin 5 years ago
parent cfb44f0ef8
commit 47c43e47b6

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

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

Loading…
Cancel
Save