mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add author byteman for h264 to flv.
This commit is contained in:
parent
f3b441ba1f
commit
d6948d613f
5 changed files with 48 additions and 2 deletions
|
@ -286,8 +286,10 @@ int SrsRtmpConn::stream_service_cycle()
|
|||
return ret;
|
||||
}
|
||||
|
||||
bool vhost_is_edge = _srs_config->get_vhost_is_edge(req->vhost);
|
||||
bool enabled_cache = _srs_config->get_gop_cache(req->vhost);
|
||||
srs_trace("source found, url=%s, enabled_cache=%d", req->get_stream_url().c_str(), enabled_cache);
|
||||
srs_trace("source found, url=%s, enabled_cache=%d, edge=%d",
|
||||
req->get_stream_url().c_str(), enabled_cache, vhost_is_edge);
|
||||
source->set_cache(enabled_cache);
|
||||
|
||||
switch (type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue