Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcadams committed Mar 27, 2024
1 parent 6082120 commit bd03d12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/core-web/src/broadcast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export type InitialBroadcastProps = {
*
* Set to false to initialize the broadcast to not request an audio track.
*/
audio: boolean | MediaTrackConstraints;
audio: boolean | Omit<MediaTrackConstraints, "deviceId">;

/**
* The creatorId for the current broadcast.
Expand Down Expand Up @@ -138,7 +138,7 @@ export type InitialBroadcastProps = {
*
* Set to false to initialize the broadcast to not request a video track.
*/
video: boolean | MediaTrackConstraints;
video: boolean | Omit<MediaTrackConstraints, "deviceId">;
};

export type BroadcastAriaText = {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const core = "@livepeer/core@3.1.11";
const react = "@livepeer/react@4.1.11";
const core = "@livepeer/core@3.1.12";
const react = "@livepeer/react@4.1.12";

export const version = {
core,
Expand Down

0 comments on commit bd03d12

Please sign in to comment.