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

24 lines
484 B
TypeScript
Raw Normal View History

2024-01-26 21:29:52 +08:00
import { gql } from '@apollo/client';
export const CAMERA_BROADCAST_START = gql`
mutation CameraBroadcastStart($cameraId: String!, $contentType: String!) {
2024-01-26 21:29:52 +08:00
cameraBroadcastStart(
stream: $cameraId
contentType: $contentType
2024-01-26 21:29:52 +08:00
)
}
`;
2024-01-27 00:21:58 +08:00
export const CAMERA_BROADCAST_STOP = gql`
mutation CameraBroadcastStop($cameraId: String!) {
cameraBroadcastStop(
stream: $cameraId
)
}
`;
2024-01-26 21:29:52 +08:00
export default {
CAMERA_BROADCAST_START,
2024-01-27 00:21:58 +08:00
CAMERA_BROADCAST_STOP,
2024-01-26 21:29:52 +08:00
};