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

@ -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;