2024-01-26 21:29:52 +08:00
|
|
|
import { gql } from '@apollo/client';
|
|
|
|
|
|
|
|
export const CAMERA_BROADCAST_START = gql`
|
|
|
|
mutation CameraBroadcastStart($cameraId: String!) {
|
|
|
|
cameraBroadcastStart(
|
|
|
|
stream: $cameraId
|
|
|
|
)
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
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
|
|
|
};
|