mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +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;
|
||||
|
|
|
@ -260,7 +260,6 @@ private:
|
|||
public:
|
||||
int64_t parse_ps_timestamp(const uint8_t* p);
|
||||
std::string get_ps_map_type_str(uint8_t);
|
||||
bool is_aac();
|
||||
virtual srs_error_t on_ps_stream(char* ps_data, int ps_size, uint32_t timestamp, uint32_t ssrc);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue