remove 28181 is_aac define

pull/1929/head^2
kyxlx550 5 years ago committed by winlin
parent 5864ea3472
commit d02b560217

@ -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…
Cancel
Save