mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support ingest hls live stream to RTMP.
This commit is contained in:
parent
23b978c0bb
commit
2239e9f1fd
7 changed files with 1103 additions and 10 deletions
|
@ -274,7 +274,7 @@ bool SrsFastLog::generate_header(bool error, const char* tag, int context_id, co
|
|||
|
||||
// to calendar time
|
||||
struct tm* tm;
|
||||
if (_srs_config->get_utc_time()) {
|
||||
if (_srs_config && _srs_config->get_utc_time()) {
|
||||
if ((tm = gmtime(&tv.tv_sec)) == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue