Photon Voice
v2.58
Public Types | |
| enum | Media |
Public Member Functions | |
| CaptureDevice (ILogger logger, Media media, string deviceID) | |
| void | Initialize () |
| void | InitializeAsync () |
| async Task | CleanUpAsync () |
| Asynchronous method cleaning up resources and stopping recording if necessary. More... | |
| async Task< IMediaEncodingProperties > | SelectPreferredCameraStreamSettingAsync (MediaStreamType mediaStreamType, Func< IMediaEncodingProperties, bool > filterSettings) |
| Allow selection of camera settings. More... | |
| async Task | StartRecordingAsync (MediaEncodingProfile encodingProfile, Action< byte[], FrameFlags > encoderCallback) |
| Starts media recording asynchronously More... | |
| async Task | StopRecordingAsync () |
| Stops recording asynchronously More... | |
Static Public Member Functions | |
| static async Task< bool > | CheckForRecordingDeviceAsync () |
Properties | |
| MediaCapture | CaptureSource [get] |
| Creates url object from MediaCapture More... | |
Events | |
| EventHandler< MediaCaptureFailedEventArgs > | CaptureFailed |
| async Task CleanUpAsync | ( | ) |
Asynchronous method cleaning up resources and stopping recording if necessary.
| async Task<IMediaEncodingProperties> SelectPreferredCameraStreamSettingAsync | ( | MediaStreamType | mediaStreamType, |
| Func< IMediaEncodingProperties, bool > | filterSettings | ||
| ) |
Allow selection of camera settings.
| mediaStreamType | Type of a the media stream. |
| filterSettings | A predicate function, which will be called to filter the correct settings. |
| async Task StartRecordingAsync | ( | MediaEncodingProfile | encodingProfile, |
| Action< byte[], FrameFlags > | encoderCallback | ||
| ) |
Starts media recording asynchronously
| encodingProfile | Encoding profile used for the recording session |
| async Task StopRecordingAsync | ( | ) |
Stops recording asynchronously
|
get |
Creates url object from MediaCapture