Change HdrMetadataExtension to ColorSpaceExtension

Bug: webrtc:8651
Change-Id: Ica6f8c6bd13bb07f89700b9c0a359b9a58feefbb
Reviewed-on: https://webrtc-review.googlesource.com/c/111758
Commit-Queue: Johannes Kron <kron@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25800}
This commit is contained in:
Johannes Kron
2018-11-27 14:36:41 +01:00
committed by Commit Bot
parent 53382cb19f
commit 09d6588d93
9 changed files with 158 additions and 98 deletions

View File

@ -17,7 +17,7 @@
#include "absl/types/optional.h"
#include "api/array_view.h"
#include "api/video/hdr_metadata.h"
#include "api/video/color_space.h"
#include "api/video/video_content_type.h"
#include "api/video/video_frame_marking.h"
#include "api/video/video_rotation.h"
@ -129,7 +129,7 @@ struct RTPHeaderExtension {
// https://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation-38
Mid mid;
absl::optional<HdrMetadata> hdr_metadata;
absl::optional<ColorSpace> color_space;
};
struct RTPHeader {