Henrik Boström dc39aebd08 Add GetRTPVideoHeaderCodecSpecifics() to metadata.
This will allow exposing VP8, VP9 and H264-specific RTP header metadata
in JavaScript (behind a flag).

This information appears to be necessary for cloning
(https://github.com/w3c/webrtc-encoded-transform/issues/161), and
cloning should be the same as "new frame + setMetadata + setBytes",
ergo this should be exposed.

Bug: webrtc:14709
Change-Id: Ie71c05f40689bbd529dc4674a07a87c7910b22d5
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/290880
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39101}
2023-01-13 11:33:40 +00:00

74 lines
1.5 KiB
Python

specific_include_rules = {
# Until the new VideoStreamDecoder is implemented the current decoding
# pipeline will be used, and therefore EncodedFrame needs to inherit
# VCMEncodedFrame.
"encoded_frame.h": [
"+modules/video_coding/encoded_frame.h",
],
"encoded_image\.h" : [
"+rtc_base/ref_count.h",
],
"i010_buffer\.h": [
"+rtc_base/memory/aligned_malloc.h",
],
"i210_buffer\.h": [
"+rtc_base/memory/aligned_malloc.h",
],
"i420_buffer\.h": [
"+rtc_base/memory/aligned_malloc.h",
],
"i422_buffer\.h": [
"+rtc_base/memory/aligned_malloc.h",
],
"i444_buffer\.h": [
"+rtc_base/memory/aligned_malloc.h",
],
"nv12_buffer\.h": [
"+rtc_base/memory/aligned_malloc.h",
],
"recordable_encoded_frame\.h": [
"+rtc_base/ref_count.h",
],
"video_frame\.h": [
],
"video_frame_buffer\.h": [
"+rtc_base/ref_count.h",
],
"video_frame_metadata\.h": [
"+modules/video_coding/codecs/h264/include/h264_globals.h",
"+modules/video_coding/codecs/vp8/include/vp8_globals.h",
"+modules/video_coding/codecs/vp9/include/vp9_globals.h",
],
"video_stream_decoder_create.cc": [
"+video/video_stream_decoder_impl.h",
],
"video_stream_encoder_create.cc": [
"+video/video_stream_encoder.h",
],
"rtp_video_frame_assembler.h": [
"+modules/rtp_rtcp/source/rtp_packet_received.h",
],
"frame_buffer.h": [
"+modules/video_coding/utility/decoded_frames_history.h",
],
"video_frame_matchers\.h": [
"+test/gmock.h",
],
}