diff --git a/starboard/CHANGELOG.md b/starboard/CHANGELOG.md index 32992c28baa2..afc54a3fe70d 100644 --- a/starboard/CHANGELOG.md +++ b/starboard/CHANGELOG.md @@ -36,6 +36,10 @@ deprecated. The APIs defined in `starboard/image.h` are no longer used and have been deprecated. +### Add a new enum `kIamfConfigObus` to `SbPlayerSampleSideDataType` in `starboard/player.h` +This value allows IAMF samples to be written to Starboard along with IAMF +Config OBUs as side data. + ## Version 15 ### SbMemoryReporter is no longer used diff --git a/starboard/player.h b/starboard/player.h index abf17a6980ad..0d3c85a4a41c 100644 --- a/starboard/player.h +++ b/starboard/player.h @@ -145,6 +145,12 @@ typedef enum SbPlayerSampleSideDataType { // The first 8 bytes of the data contains the value of BlockAddID in big // endian format, followed by the content of BlockAdditional. kMatroskaBlockAdditional, +#if SB_API_VERSION >= 16 + // The config OBUs located in the IASampleEntry Box in the MP4 container, as + // specified in + // https://aomediacodec.github.io/iamf/#standalone-descriptor-obus. + kIamfConfigObus, +#endif // SB_API_VERSION >= 16 } SbPlayerSampleSideDataType; // Side data accompanied with |SbPlayerSampleInfo|, it can be arbitrary binary