Skip to content

Type Alias: TrackSource ​

ts
type TrackSource = "microphone" | "camera" | "screen" | "screen_audio" | "unknown";

What a track carries. In an sfu room, what its publisher said. A p2p room has nothing that says, so there a remote video track is camera and a remote audio track microphone — a screen shared in a one-to-one call arrives as camera. unknown is a source a newer server names that this release does not know.

Talkline documentation