- Preparing search index...
- The search index is not available
Mux Spaces SDK
Function getLocalTracksFromMediaStream
- getLocalTracksFromMediaStream(streamName: string, stream: MediaStream): Promise<LocalTrack[]>
-
Parameters
-
streamName: string
-
stream: MediaStream
getLocalTracksFromMediaStream allows developers to create local tracks from any
MediaStream
interface such as<canvas>
or<video>
elements.