mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
CI: Cover kernel codec av frame and format
This commit is contained in:
parent
2bdba63b0b
commit
3064b941d5
4 changed files with 309 additions and 11 deletions
|
@ -434,7 +434,6 @@ SrsFrame::SrsFrame()
|
|||
|
||||
SrsFrame::~SrsFrame()
|
||||
{
|
||||
srs_freep(codec);
|
||||
}
|
||||
|
||||
srs_error_t SrsFrame::initialize(SrsCodecConfig* c)
|
||||
|
@ -1361,10 +1360,10 @@ srs_error_t SrsFormat::audio_aac_sequence_header_demux(char* data, int size)
|
|||
// donot force to LC, @see: https://github.com/ossrs/srs/issues/81
|
||||
// the source will print the sequence header info.
|
||||
//if (aac_profile > 3) {
|
||||
// Mark all extended profiles as LC
|
||||
// to make Android as happy as possible.
|
||||
// @see: ngx_rtmp_hls_parse_aac_header
|
||||
//aac_profile = 1;
|
||||
// Mark all extended profiles as LC
|
||||
// to make Android as happy as possible.
|
||||
// @see: ngx_rtmp_hls_parse_aac_header
|
||||
//aac_profile = 1;
|
||||
//}
|
||||
|
||||
return err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue