1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #1631, support sei_filter for SRT. 4.0.11

This commit is contained in:
winlin 2020-03-07 22:25:19 +08:00
parent 82824ba98a
commit 41acf9ca8e
3 changed files with 6 additions and 1 deletions

View file

@ -153,6 +153,7 @@ For previous versions, please read:
## V4 changes
* v4.0, 2020-03-07, For [#1631][bug #1631], support sei_filter for SRT. 4.0.11
* v4.0, 2020-03-01, For [#1621][bug #1621], support mix_correct for aggregate aac for SRT. 4.0.10
* v4.0, 2020-02-25, For [#1615][bug #1615], support default app(live) for vmix SRT. 4.0.9
* v4.0, 2020-02-21, For [#1598][bug #1598], support SLB health checking by TCP. 4.0.8
@ -1691,6 +1692,9 @@ Winlin
[bug #1621]: https://github.com/ossrs/srs/issues/1621
[bug #xxxxxxxxxxxxx]: https://github.com/ossrs/srs/issues/xxxxxxxxxxxxx
[bug #1631]: https://github.com/ossrs/srs/issues/1631
[bug #xxxxxxxxxxxxx]: https://github.com/ossrs/srs/issues/xxxxxxxxxxxxx
[exo #828]: https://github.com/google/ExoPlayer/pull/828
[r3.0b1]: https://github.com/ossrs/srs/releases/tag/v3.0-b1

View file

@ -24,6 +24,6 @@
#ifndef SRS_CORE_VERSION4_HPP
#define SRS_CORE_VERSION4_HPP
#define SRS_VERSION4_REVISION 10
#define SRS_VERSION4_REVISION 11
#endif

View file

@ -460,6 +460,7 @@ srs_error_t rtmp_client::on_ts_video(std::shared_ptr<SrsBuffer> avs_ptr, uint64_
continue;
}
// TODO: FIXME: Should cache this config, it's better not to get it for each video frame.
if (_srs_config->get_srt_sei_filter()) {
if (nal_unit_type == SrsAvcNaluTypeSEI) {
continue;