Skip to content

Commit

Permalink
FLV: Fix bug for header flag gussing. v5.0.119 (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Dec 26, 2022
1 parent 386bb41 commit 8a0ac8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions trunk/doc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The changelog for SRS.

## SRS 5.0 Changelog

* v5.0, 2022-12-26, For [#939](https://github.com/ossrs/srs/issues/939): FLV: Fix bug for header flag gussing. v5.0.119
* v5.0, 2022-12-26, For [#296](https://github.com/ossrs/srs/issues/296): MP3: Convert RTMP(MP3) to WebRTC(OPUS). v5.0.118
* v5.0, 2022-12-25, For [#296](https://github.com/ossrs/srs/issues/296): MP3: Support dump stream information. v5.0.117
* v5.0, 2022-12-25, For [#296](https://github.com/ossrs/srs/issues/296): MP3: Support mp3 for RTMP/HLS/HTTP-FLV/HTTP-TS/HLS etc. v5.0.116
Expand Down
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_http_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/src/core/srs_core_version5.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

#define VERSION_MAJOR 5
#define VERSION_MINOR 0
#define VERSION_REVISION 118
#define VERSION_REVISION 119

#endif

0 comments on commit 8a0ac8e

Please sign in to comment.