|
Molybden
|
The MediaDelegates::onSelectMediaDevice action. More...
#include <media_delegates.hpp>
Public Member Functions | |
| SelectMediaDeviceAction (std::unique_ptr< rpc::internal::Callback > callback) | |
| void | select (const MediaDeviceInfo &media_device_info) |
| Tells the browser that the given media input device should be used. | |
Public Member Functions inherited from molybden::Action | |
| Action (std::unique_ptr< rpc::internal::Callback > callback) | |
Additional Inherited Members | |
Protected Attributes inherited from molybden::Action | |
| std::unique_ptr< rpc::internal::Callback > | callback_ |
The MediaDelegates::onSelectMediaDevice action.
| void molybden::SelectMediaDeviceAction::select | ( | const MediaDeviceInfo & | media_device_info | ) |
Tells the browser that the given media input device should be used.
The media_device_info must be the one from the SelectMediaDeviceArgs::media_device_infos list. If an invalid device info is selected, the first device from the list will be used.