mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, refactor aac to opus code
This commit is contained in:
parent
6ed2a4b6cb
commit
1f2db4d746
5 changed files with 41 additions and 24 deletions
|
@ -311,9 +311,9 @@ private:
|
|||
SrsSample* samples;
|
||||
int nb_samples;
|
||||
// For RTC audio, we may need to transcode AAC to opus,
|
||||
// so there must be an extra payload, which is transformed from payload.
|
||||
char* extra_payload;
|
||||
int extra_size;
|
||||
// so there must be an extra payloads, which is transformed from payload.
|
||||
SrsSample* extra_payloads;
|
||||
int nn_extra_payloads;
|
||||
public:
|
||||
SrsSharedPtrPayload();
|
||||
virtual ~SrsSharedPtrPayload();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue