mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #293, add aac encoder for http aac stream.
This commit is contained in:
parent
77e43d1813
commit
c0233542bf
8 changed files with 528 additions and 30 deletions
|
@ -371,7 +371,7 @@ int SrsGoHttpFileServer::serve_file(ISrsGoHttpResponseWriter* w, SrsHttpMessage*
|
|||
}
|
||||
|
||||
if (true) {
|
||||
ssize_t pos;
|
||||
size_t pos;
|
||||
std::string ext = fullpath;
|
||||
if ((pos = ext.rfind(".")) != string::npos) {
|
||||
ext = ext.substr(pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue