Skip to content

Commit de18a12

Browse files
committed
fix: change prop settings
1 parent 83dd28b commit de18a12

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package/src/components/Channel/Channel.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,10 @@ export type ChannelPropsWithContext = Pick<ChannelContextValue, 'channel'> &
491491
*/
492492
newMessageStateUpdateThrottleInterval?: number;
493493
overrideOwnCapabilities?: Partial<OwnCapabilitiesContextValue>;
494+
/**
495+
* If true, multiple audio players will be allowed to play simultaneously
496+
* @default true
497+
*/
494498
playMultipleAudio?: boolean;
495499
stateUpdateThrottleInterval?: number;
496500
/**
@@ -687,7 +691,7 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
687691
openPollCreationDialog,
688692
overrideOwnCapabilities,
689693
PollContent,
690-
playMultipleAudio = false,
694+
playMultipleAudio = true,
691695
ReactionListBottom = ReactionListBottomDefault,
692696
reactionListPosition = 'top',
693697
ReactionListTop = ReactionListTopDefault,

package/src/contexts/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ export * from './typingContext/TypingContext';
2828
export * from './utils/getDisplayName';
2929
export * from './pollContext';
3030
export * from './liveLocationManagerContext';
31+
export * from './audioPlayerPoolContext/AudioPlayerPoolContext';

0 commit comments

Comments
 (0)