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