mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use libfdk_aac for srs2.
This commit is contained in:
parent
00a25ee5c5
commit
574cf6a094
5 changed files with 37 additions and 35 deletions
|
@ -2860,13 +2860,15 @@ vector<string> SrsConfig::get_engine_vfilter(SrsConfDirective* engine)
|
|||
|
||||
string SrsConfig::get_engine_vcodec(SrsConfDirective* engine)
|
||||
{
|
||||
static string DEFAULT = "";
|
||||
|
||||
if (!engine) {
|
||||
return "";
|
||||
return DEFAULT;
|
||||
}
|
||||
|
||||
SrsConfDirective* conf = engine->get("vcodec");
|
||||
if (!conf) {
|
||||
return "";
|
||||
return DEFAULT;
|
||||
}
|
||||
|
||||
return conf->arg0();
|
||||
|
@ -2998,13 +3000,15 @@ vector<string> SrsConfig::get_engine_vparams(SrsConfDirective* engine)
|
|||
|
||||
string SrsConfig::get_engine_acodec(SrsConfDirective* engine)
|
||||
{
|
||||
static string DEFAULT = "";
|
||||
|
||||
if (!engine) {
|
||||
return "";
|
||||
return DEFAULT;
|
||||
}
|
||||
|
||||
SrsConfDirective* conf = engine->get("acodec");
|
||||
if (!conf) {
|
||||
return "";
|
||||
return DEFAULT;
|
||||
}
|
||||
|
||||
return conf->arg0();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue