bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/video-provider/mutations.ts
Gustavo Trott 3fb6dd71d2 Edit graphql type UserCamera to suport either camera or screenshare
Add fields:
	contentType: to identify whether is camera or screenshare
	hasAudio: useful for screenshare
	focused: indicates if this screenshare will be shown in presentation area
2024-10-01 14:39:48 -03:00

24 lines
484 B
TypeScript

import { gql } from '@apollo/client';
export const CAMERA_BROADCAST_START = gql`
mutation CameraBroadcastStart($cameraId: String!, $contentType: String!) {
cameraBroadcastStart(
stream: $cameraId
contentType: $contentType
)
}
`;
export const CAMERA_BROADCAST_STOP = gql`
mutation CameraBroadcastStop($cameraId: String!) {
cameraBroadcastStop(
stream: $cameraId
)
}
`;
export default {
CAMERA_BROADCAST_START,
CAMERA_BROADCAST_STOP,
};