mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #293, support http aac stream
This commit is contained in:
parent
7674524c31
commit
3244c083c7
4 changed files with 148 additions and 10 deletions
|
@ -42,6 +42,11 @@ class SrsAacEncoder
|
|||
{
|
||||
private:
|
||||
SrsFileWriter* _fs;
|
||||
private:
|
||||
int8_t aac_profile;
|
||||
int8_t aac_sample_rate;
|
||||
int8_t aac_channels;
|
||||
bool got_sequence_header;
|
||||
private:
|
||||
SrsStream* tag_stream;
|
||||
public:
|
||||
|
@ -60,7 +65,6 @@ public:
|
|||
* @remark assert data is not NULL.
|
||||
*/
|
||||
virtual int write_audio(int64_t timestamp, char* data, int size);
|
||||
virtual int write_video(int64_t timestamp, char* data, int size);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue