bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/video-provider/video-provider-graphql/mutations.ts

23 lines
429 B
TypeScript
Raw Normal View History

2024-04-20 04:34:43 +08:00
import { gql } from '@apollo/client';
export const CAMERA_BROADCAST_START = gql`
mutation CameraBroadcastStart($cameraId: String!) {
cameraBroadcastStart(
stream: $cameraId
)
}
`;
export const CAMERA_BROADCAST_STOP = gql`
mutation CameraBroadcastStop($cameraId: String!) {
cameraBroadcastStop(
stream: $cameraId
)
}
`;
export default {
CAMERA_BROADCAST_START,
CAMERA_BROADCAST_STOP,
};