Class: StreamSourceInfo

.Base. StreamSourceInfo

Information of a stream's source.


new StreamSourceInfo(audioSourceInfo, videoSourceInfo)

Audio source info or video source info could be undefined if a stream does not have audio/video track.

Parameters:
Name Type Argument Description
audioSourceInfo string <nullable>

Audio source info. Accepted values are: "mic", "screen-cast", "file", "mixed" or undefined.

videoSourceInfo string <nullable>

Video source info. Accepted values are: "camera", "screen-cast", "file", "mixed" or undefined.