Skip to content

Commit

Permalink
fix(mux-audio-react, mux-video-react): Update tokens props for playba…
Browse files Browse the repository at this point in the history
…ck core expectations.
  • Loading branch information
cjpillsbury committed Aug 12, 2024
1 parent 5b15cfd commit 4126665
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/mux-audio-react/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,15 @@ MuxAudio.propTypes = {
debug: PropTypes.bool,
disableCookies: PropTypes.bool,
disableTracking: PropTypes.bool,
drmToken: PropTypes.string,
envKey: PropTypes.string,
errorTranslator: PropTypes.any,
liveEdgeStart: PropTypes.number,
maxResolution: PropTypes.oneOf(['720p', '1080p', '1440p', '2160p']),
metadata: PropTypes.any,
minResolution: PropTypes.oneOf(['480p', '540p', '720p', '1080p', '1440p', '2160p']),
playbackId: PropTypes.string,
playbackToken: PropTypes.string,
playerInitTime: PropTypes.number,
preferCmcd: PropTypes.oneOf(Object.values(CmcdTypes)),
programStartTime: PropTypes.number,
Expand All @@ -105,7 +107,6 @@ MuxAudio.propTypes = {
startTime: PropTypes.number,
streamType: PropTypes.oneOf(Object.values(StreamTypes)),
targetLiveWindow: PropTypes.number,
tokens: PropTypes.any,
type: PropTypes.oneOf(allMediaTypes),
};

Expand Down
3 changes: 2 additions & 1 deletion packages/mux-video-react/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,15 @@ MuxVideo.propTypes = {
debug: PropTypes.bool,
disableCookies: PropTypes.bool,
disableTracking: PropTypes.bool,
drmToken: PropTypes.string,
envKey: PropTypes.string,
errorTranslator: PropTypes.any,
liveEdgeStart: PropTypes.number,
maxResolution: PropTypes.oneOf(['720p', '1080p', '1440p', '2160p']),
metadata: PropTypes.any,
minResolution: PropTypes.oneOf(['480p', '540p', '720p', '1080p', '1440p', '2160p']),
playbackId: PropTypes.string,
playbackToken: PropTypes.string,
playerInitTime: PropTypes.number,
preferCmcd: PropTypes.oneOf(Object.values(CmcdTypes)),
preferPlayback: PropTypes.oneOf(Object.values(PlaybackTypes)),
Expand All @@ -105,7 +107,6 @@ MuxVideo.propTypes = {
startTime: PropTypes.number,
streamType: PropTypes.oneOf(Object.values(StreamTypes)),
targetLiveWindow: PropTypes.number,
tokens: PropTypes.any,
type: PropTypes.oneOf(allMediaTypes),
};

Expand Down

0 comments on commit 4126665

Please sign in to comment.