1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix #442, support kickoff client.

This commit is contained in:
winlin 2015-08-22 13:36:15 +08:00
parent b37797b13a
commit 94641c812b
11 changed files with 57 additions and 46 deletions

View file

@ -898,7 +898,6 @@ SrsSource::SrsSource()
jitter_algorithm = SrsRtmpJitterAlgorithmOFF;
mix_correct = false;
mix_queue = new SrsMixQueue();
is_expired = false;
#ifdef SRS_AUTO_HLS
hls = new SrsHls();
@ -2101,7 +2100,6 @@ void SrsSource::on_unpublish()
_can_publish = true;
_source_id = -1;
is_expired = false;
// notify the handler.
srs_assert(handler);
@ -2260,13 +2258,3 @@ void SrsSource::destroy_forwarders()
forwarders.clear();
}
bool SrsSource::expired()
{
return is_expired;
}
void SrsSource::set_expired()
{
is_expired = true;
}