public IEnumerable <Device> GetVideoCaptureDevices() { MediaModule.linphone_core_reload_video_devices(softphone.LinphoneWrapper.LinphoneCore); var videoDevsPtr = MediaModule.linphone_core_get_video_devices(softphone.LinphoneWrapper.LinphoneCore); return(videoDevsPtr .ToStringCollection() .Select(devID => new Device(devID, DeviceType.VideoCapture))); }
public void ReloadDevices() { MediaModule.linphone_core_reload_sound_devices(softphone.LinphoneWrapper.LinphoneCore); MediaModule.linphone_core_reload_video_devices(softphone.LinphoneWrapper.LinphoneCore); }