communication-react-19
Version:
React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)
23 lines • 1.48 kB
TypeScript
import React from 'react';
import { ReactionResources, VideoGalleryTogetherModeParticipantPosition, VideoGalleryTogetherModeStreams, TogetherModeStreamViewResult, VideoGalleryLocalParticipant, VideoGalleryRemoteParticipant, VideoStreamOptions, TogetherModeStreamOptions } from '../../types';
/**
* A memoized version of local screen share component. React.memo is used for a performance
* boost by memoizing the same rendered component to avoid rerendering this when the parent component rerenders.
* https://reactjs.org/docs/react-api.html#reactmemo
*/
export declare const TogetherModeStream: React.MemoExoticComponent<(props: {
startTogetherModeEnabled?: boolean;
isTogetherModeActive?: boolean;
onCreateTogetherModeStreamView?: (options?: TogetherModeStreamOptions) => Promise<void | TogetherModeStreamViewResult>;
onStartTogetherMode?: (options?: VideoStreamOptions) => Promise<void | TogetherModeStreamViewResult>;
onDisposeTogetherModeStreamView?: () => Promise<void>;
onSetTogetherModeSceneSize?: (width: number, height: number) => void;
togetherModeStreams?: VideoGalleryTogetherModeStreams;
seatingCoordinates?: VideoGalleryTogetherModeParticipantPosition;
reactionResources?: ReactionResources;
localParticipant?: VideoGalleryLocalParticipant;
remoteParticipants?: VideoGalleryRemoteParticipant[];
containerWidth?: number;
containerHeight?: number;
}) => JSX.Element>;
//# sourceMappingURL=TogetherModeStream.d.ts.map