mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
remove 28181 is_aac define
This commit is contained in:
parent
5864ea3472
commit
d02b560217
2 changed files with 0 additions and 14 deletions
|
@ -593,19 +593,6 @@ int64_t SrsPsStreamDemixer::parse_ps_timestamp(const uint8_t* p)
|
|||
return val;
|
||||
}
|
||||
|
||||
bool SrsPsStreamDemixer::is_aac(){
|
||||
// SrsBuffer *avs = new SrsBuffer(stream->bytes(), stream->length());
|
||||
// SrsAutoFree(SrsBuffer, avs);
|
||||
// if (!avs->empty()) {
|
||||
// char* frame = NULL;
|
||||
// int frame_size = 0;
|
||||
// SrsRawAacStreamCodec codec;
|
||||
// if ((err = aac->adts_demux(avs, &frame, &frame_size, codec)) != srs_success) {
|
||||
// return srs_error_wrap(err, "demux adts");
|
||||
// }
|
||||
return true;
|
||||
}
|
||||
|
||||
srs_error_t SrsPsStreamDemixer::on_ps_stream(char* ps_data, int ps_size, uint32_t timestamp, uint32_t ssrc)
|
||||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue