Home --> Documentations --> PJSIP Reference
#include <media.hpp>
Parameter for switching device with PJMEDIA_VID_DEV_CAP_SWITCH capability.
Target device ID to switch to. Once the switching is successful, the video stream will use this device and the old device will be closed.