winlin

change meeting hls to an

... ... @@ -202,12 +202,7 @@ vhost players_chat {
vparams {
g 30;
}
acodec libaacplus;
abitrate 30;
asample_rate 44100;
achannels 2;
aparams {
}
acodec an;
output rtmp://127.0.0.1:[port]/[app]?vhost=chat_hls/[stream];
}
}
... ...
... ... @@ -122,12 +122,12 @@ void SrsThread::thread_cycle()
{
int ret = ERROR_SUCCESS;
_cid = _srs_context->get_id();
srs_assert(handler);
_srs_context->generate_id();
srs_info("thread cycle start");
_cid = _srs_context->get_id();
srs_assert(handler);
handler->on_thread_start();
loop = true;
... ...