Tutorial 8: Select Media

This sample is accessible on Github

This sample shows an apiRTC client that enable media device selection.

Check the comment "SELECT_MEDIA" in the source code to know what need to be added on your apiRTC application for the media selection feature.

Used apiRTC functions is :

  • - webRTCClient.getMediaDevices()

This sample also demonstrate the usage of updateMediaDeviceOnCall() function which enable to change your device during a call. During a call, select another device and click on updateMediaDevice button to update your stream with your new device.