#include <stream/webrtc/include_pub/privmx/endpoint/stream/webrtc/Types.hpp>

Public Attributes | |
| std::string | name |
| std::string | id |
| DeviceType | type |
Describes a local device that feeds a Publisher Stream.
addTrack matches the device by its name and its id, so pass the struct you get from getAudioDevices, getVideoDevices, or getDesktopDevices unchanged.
| std::string privmx::endpoint::stream::MediaDevice::id |
ID of the device
| std::string privmx::endpoint::stream::MediaDevice::name |
name of the device
| DeviceType privmx::endpoint::stream::MediaDevice::type |
type of the device