Use-chromatone documentation / Exports / Cast - the video broadcasting setup
Module: Cast - the video broadcasting setup
Table of contents
Variables
- cameras
- cast
- currentCamera
- currentMic
- devices
- fileNames
- microphones
- mimeExtMap
- mimeType
- recordCamera
- recordingName
- showRecordingDialog
Functions
Variables
cameras
• cameras: ComputedRef
<MediaDeviceInfo
[]>
Defined in
cast
• Const
cast: Object
Type declaration
Name | Type |
---|---|
recorderCamera | ShallowRef <any > |
recorderSlides | ShallowRef <any > |
recording | Ref <boolean > |
recordingTime | ComputedRef <number > |
showAvatar | Ref <boolean > |
startRecording | (customConfig? : {}) => Promise <void > |
stopRecording | () => Promise <void > |
streamCamera | ShallowRef <any > |
streamCapture | ShallowRef <any > |
streamSlides | ShallowRef <any > |
toggleAvatar | () => Promise <void > |
toggleRecording | () => void |
Defined in
currentCamera
• Const
currentCamera: RemovableRef
<string
>
Defined in
currentMic
• Const
currentMic: RemovableRef
<string
>
Defined in
devices
• devices: Ref
<MediaDeviceInfo
[]>
Defined in
fileNames
• Const
fileNames: Object
Type declaration
Name | Type |
---|---|
camera | string |
screen | string |
Defined in
microphones
• microphones: ComputedRef
<MediaDeviceInfo
[]>
Defined in
mimeExtMap
• Const
mimeExtMap: Object
Type declaration
Name | Type |
---|---|
video/webm | string |
video/webm;codecs=h264 | string |
video/x-matroska;codecs=avc1 | string |
Defined in
mimeType
• Const
mimeType: RemovableRef
<string
>
Defined in
recordCamera
• Const
recordCamera: Ref
<boolean
>
Defined in
recordingName
• Const
recordingName: Ref
<string
>
Defined in
showRecordingDialog
• Const
showRecordingDialog: Ref
<any
>
Defined in
Functions
download
▸ download(name
, url
): void
Parameters
Name | Type |
---|---|
name | any |
url | any |
Returns
void
Defined in
ensureDevicesListPermissions
▸ ensureDevicesListPermissions(): Promise
<boolean
>
Returns
Promise
<boolean
>
Defined in
node_modules/.pnpm/@vueuse+core@10.4.1_vue@3.3.4/node_modules/@vueuse/core/index.d.cts:1404
getFilename
▸ getFilename(media
, mimeType?
): string
Parameters
Name | Type |
---|---|
media | string |
mimeType? | string |
Returns
string
Defined in
getSupportedMimeTypes
▸ getSupportedMimeTypes(): string
[]
Returns
string
[]
Defined in
useRecording
▸ useRecording(): Object
Returns
Object
Name | Type |
---|---|
recorderCamera | ShallowRef <any > |
recorderSlides | ShallowRef <any > |
recording | Ref <boolean > |
recordingTime | ComputedRef <number > |
showAvatar | Ref <boolean > |
startRecording | (customConfig? : {}) => Promise <void > |
stopRecording | () => Promise <void > |
streamCamera | ShallowRef <any > |
streamCapture | ShallowRef <any > |
streamSlides | ShallowRef <any > |
toggleAvatar | () => Promise <void > |
toggleRecording | () => void |