DotNetBrowser
1.21.5
|
Represents a request for media streams (audio/video). More...
Public Member Functions | |
MediaStreamDevice | GetDefaultMediaStreamDevice () |
Returns default media stream device of the requested type or null when there's no media stream devices available. More... | |
void | SetDefaultMediaStreamDevice (MediaStreamDevice device) |
Updates default media stream device of the requested type. The device value must be the one from the list of available media stream devices you can obtain via the GetMediaStreamDevices() method. More... | |
Properties | |
MediaStreamType | Type [get] |
Gets type of the requested media stream. More... | |
List< MediaStreamDevice > | Devices [get] |
Gets a list of available media stream devices of the requested type or empty collection if there's no media streams devices available. More... | |
Represents a request for media streams (audio/video).
MediaStreamDevice DotNetBrowser.MediaStreamDeviceRequest.GetDefaultMediaStreamDevice | ( | ) |
Returns default media stream device of the requested type or null when there's no media stream devices available.
void DotNetBrowser.MediaStreamDeviceRequest.SetDefaultMediaStreamDevice | ( | MediaStreamDevice | device | ) |
Updates default media stream device of the requested type. The device value must be the one from the list of available media stream devices you can obtain via the GetMediaStreamDevices() method.
device | default media stream device. Cannot be null. It must be the one from the list of available media stream devices you can obtain via the GetMediaStreamDevices() method. |
ArgumentException | when device is null, or its media type doesn't match the requested media type that can be obtained via the GetMediaStreamType() method, or the device isn't in the list of available devices. |
|
get |
Gets a list of available media stream devices of the requested type or empty collection if there's no media streams devices available.
|
get |
Gets type of the requested media stream.