new VideoTrackConstraints(source)
Parameters:
Name | Type | Description |
---|---|---|
source |
Owt.Base.VideoSourceInfo | Source info of this video track. |
Members
-
deviceId :string
-
Do not provide deviceId if source is not "camera".
Type:
- string
-
frameRate :number
-
Type:
- number
-
resolution :Owt.Base.Resolution
-
Type:
-
source :string
-
Values could be "camera", "screen-cast", "file" or "mixed".
Type:
- string