Type Alias: UseScreenshareResult
UseScreenshareResult:
object
Type declaration
audioBroadcast
audioBroadcast:
Track
|null
audioTrack
audioTrack:
MediaStreamTrack
|null
currentTracksMiddleware
currentTracksMiddleware:
TracksMiddleware
|null
setTracksMiddleware()
setTracksMiddleware: (
middleware
) =>Promise
<void
>
Parameters
Parameter | Type |
---|---|
middleware | TracksMiddleware | null |
Returns
Promise
<void
>
startStreaming()
startStreaming: (
props
?) =>Promise
<void
>
Parameters
Parameter | Type |
---|---|
props ? | { audioConstraints : boolean | MediaTrackConstraints ; videoConstraints : boolean | MediaTrackConstraints ; } |
props.audioConstraints ? | boolean | MediaTrackConstraints |
props.videoConstraints ? | boolean | MediaTrackConstraints |
Returns
Promise
<void
>
stopStreaming()
stopStreaming: () =>
Promise
<void
>
Returns
Promise
<void
>
stream
stream:
MediaStream
|null
videoBroadcast
videoBroadcast:
Track
|null
videoTrack
videoTrack:
MediaStreamTrack
|null