Skip to content

Commit

Permalink
Support IAMF Config OBU side data (#1977)
Browse files Browse the repository at this point in the history
b/271301103
  • Loading branch information
osagie98 committed Nov 14, 2023
1 parent b01ba22 commit e4ede3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions starboard/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions starboard/player.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4ede3d

Please sign in to comment.