CoreSDK  v1.0.0.b1304
r5microphone.h
1 /*
2  * Copyright (c) 2022-2023 Infrared5, Inc.
3  * License information: https://account.red5.net/assets/LICENSE.txt
4  *
5  */
6 #pragma once
7 
8 #include <vector>
9 #include "red5pro.h"
10 
11 namespace r5::device {
12 
13 using namespace r5::core;
14 
20 {
21 public:
25  virtual std::string GetName() const = 0;
26 };
30 using MicrophonePtr = std::shared_ptr<Microphone>;
34 using TCreateMicrophones = std::vector<MicrophonePtr> (*)();
41 int R5_SDK_CORE_EXPORT RegisterMicrophoneCreator(TCreateMicrophones creator);
47 std::vector<MicrophonePtr> R5_SDK_CORE_EXPORT GetAvailableMicrophones();
48 }
Interface to access media type information This interface can be used to enumerate available media ty...
Definition: red5pro.h:108
Interface for single media source objects This interface can be used to implement different media sou...
Definition: red5pro.h:169
Definition: r5camera.h:11
Definition: r5stream_manager.h:12
Interface for identification and setup microphone object.
Definition: r5microphone.h:19