Table of Contents

TTMSFNCWXWebRTCCommunication.RequestUserMedia Method

Requests local media capture using the configured video settings.

API unit family: TMSFNCWXWebRTC Declaring type: TTMSFNCWXWebRTCCommunication Inherited from: TTMSFNCWXCustomWebRTCCommunication

Overloads

Overload 1

Requests local media capture using the configured video settings.

procedure RequestUserMedia(ACamera: Boolean; AAudio: Boolean); overload;

Parameters

Name Description
ACamera When True, camera video is requested.
AAudio When True, microphone audio is requested.

Overload 2

Requests local media capture from specific camera and audio devices.

procedure RequestUserMedia(ACameraID: string; AAudioID: string); overload;

Parameters

Name Description
ACameraID The device identifier of the camera to request. Leave empty to skip video.
AAudioID The device identifier of the audio input to request. Leave empty to skip audio.