mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #299, write fMP4 for DASH.
This commit is contained in:
parent
baed1cc043
commit
0e9e1792fe
12 changed files with 834 additions and 381 deletions
|
@ -235,6 +235,7 @@ public:
|
|||
/**
|
||||
* check codec h264, keyframe, sequence header
|
||||
*/
|
||||
// TODO: FIXME: Remove it, use SrsFormat instead.
|
||||
static bool sh(char* data, int size);
|
||||
/**
|
||||
* check codec h264.
|
||||
|
@ -678,6 +679,10 @@ public:
|
|||
SrsAudioCodecConfig* acodec;
|
||||
SrsVideoFrame* video;
|
||||
SrsVideoCodecConfig* vcodec;
|
||||
public:
|
||||
char* raw;
|
||||
int nb_raw;
|
||||
private:
|
||||
SrsBuffer* buffer;
|
||||
public:
|
||||
// for sequence header, whether parse the h.264 sps.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue