mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #299, A/V init mp4 are fine.
This commit is contained in:
parent
886930c22a
commit
3ec9df6578
6 changed files with 461 additions and 8 deletions
|
@ -515,14 +515,17 @@ public:
|
|||
*/
|
||||
class SrsAudioCodecConfig : public SrsCodecConfig
|
||||
{
|
||||
// In FLV specification.
|
||||
public:
|
||||
// audio specified
|
||||
SrsAudioCodecId id;
|
||||
// audio aac specified.
|
||||
SrsAudioSampleRate sound_rate;
|
||||
SrsAudioSampleBits sound_size;
|
||||
// TODO: FIXME: Rename to sound_channels.
|
||||
SrsAudioChannels sound_type;
|
||||
int audio_data_rate; // in bps
|
||||
// In AAC specification.
|
||||
public:
|
||||
/**
|
||||
* audio specified
|
||||
|
@ -539,6 +542,7 @@ public:
|
|||
* channelConfiguration
|
||||
*/
|
||||
uint8_t aac_channels;
|
||||
// Sequence header payload.
|
||||
public:
|
||||
/**
|
||||
* the aac extra data, the AAC sequence header,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue