mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bug, when disable all, some code of HLS must be exported.
This commit is contained in:
parent
e53655ee83
commit
ccd99381e6
2 changed files with 38 additions and 26 deletions
|
@ -29,6 +29,22 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
*/
|
||||
#include <srs_core.hpp>
|
||||
|
||||
/**
|
||||
* the public data, event HLS disable, others can use it.
|
||||
*/
|
||||
/**
|
||||
* the flv sample rate map
|
||||
*/
|
||||
extern int flv_sample_rates[];
|
||||
|
||||
/**
|
||||
* the aac sample rate map
|
||||
*/
|
||||
extern int aac_sample_rates[];
|
||||
|
||||
/**
|
||||
* the HLS section, only available when HLS enabled.
|
||||
*/
|
||||
#ifdef SRS_AUTO_HLS
|
||||
|
||||
#include <string>
|
||||
|
@ -47,16 +63,6 @@ class SrsPithyPrint;
|
|||
class SrsSource;
|
||||
class SrsFileWriter;
|
||||
|
||||
/**
|
||||
* the flv sample rate map
|
||||
*/
|
||||
extern int flv_sample_rates[];
|
||||
|
||||
/**
|
||||
* the aac sample rate map
|
||||
*/
|
||||
extern int aac_sample_rates[];
|
||||
|
||||
/**
|
||||
* jitter correct for audio,
|
||||
* the sample rate 44100/32000 will lost precise,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue