3fb6dd71d2
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
24 lines
484 B
TypeScript
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,
|
|
};
|