mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRS5: FLV: Fix bug for header flag gussing. v5.0.119 (#939)
PICK 8a0ac8e3a1
This commit is contained in:
parent
bec23fc247
commit
a6c926f985
3 changed files with 3 additions and 2 deletions
|
@ -333,7 +333,7 @@ srs_error_t SrsFlvStreamEncoder::write_tags(SrsSharedPtrMessage** msgs, int coun
|
|||
|
||||
// For https://github.com/ossrs/srs/issues/939
|
||||
if (!header_written) {
|
||||
bool has_video = has_audio_; bool has_audio = has_video_;
|
||||
bool has_video = has_video_; bool has_audio = has_audio_;
|
||||
|
||||
// See https://github.com/ossrs/srs/issues/939#issuecomment-1351385460
|
||||
if (guess_has_av_) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue