mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, refactor SPS/PPS only before IDR, not each FUA
This commit is contained in:
parent
a695afb368
commit
719c0ae85b
4 changed files with 32 additions and 19 deletions
|
@ -703,6 +703,8 @@ public:
|
|||
SrsVideoFrame();
|
||||
virtual ~SrsVideoFrame();
|
||||
public:
|
||||
// Initialize the frame, to parse sampels.
|
||||
virtual srs_error_t initialize(SrsCodecConfig* c);
|
||||
// Add the sample without ANNEXB or IBMF header, or RAW AAC or MP3 data.
|
||||
virtual srs_error_t add_sample(char* bytes, int size);
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue