mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #939, response right A/V flag in FLV header. 3.0.113
This commit is contained in:
parent
68efca4fa9
commit
4f39303f37
4 changed files with 68 additions and 7 deletions
|
@ -82,8 +82,9 @@ public:
|
|||
// Transmux RTMP to HTTP Live Streaming.
|
||||
class SrsFlvStreamEncoder : public ISrsBufferEncoder
|
||||
{
|
||||
protected:
|
||||
private:
|
||||
SrsFlvTransmuxer* enc;
|
||||
bool header_written;
|
||||
public:
|
||||
SrsFlvStreamEncoder();
|
||||
virtual ~SrsFlvStreamEncoder();
|
||||
|
@ -98,6 +99,8 @@ public:
|
|||
public:
|
||||
// Write the tags in a time.
|
||||
virtual srs_error_t write_tags(SrsSharedPtrMessage** msgs, int count);
|
||||
private:
|
||||
virtual srs_error_t write_header(bool has_video = true, bool has_audio = true);
|
||||
};
|
||||
|
||||
// Transmux RTMP to HTTP TS Streaming.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue