mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add h264 sei filter
This commit is contained in:
parent
4242985b36
commit
a2839aacdf
4 changed files with 25 additions and 2 deletions
|
@ -459,6 +459,12 @@ srs_error_t rtmp_client::on_ts_video(std::shared_ptr<SrsBuffer> avs_ptr, uint64_
|
|||
if (nal_unit_type == SrsAvcNaluTypeAccessUnitDelimiter) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (_srs_config->get_srt_sei_filter()) {
|
||||
if (nal_unit_type == SrsAvcNaluTypeSEI) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// for sps
|
||||
if (_avc_ptr->is_sps(frame, frame_size)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue