Snap Live SDK  8.2.1
SnapLiveAudioEmbedder.h
Go to the documentation of this file.
1 
15 #ifndef SNAP_LIVE_EMBEDDER_H
16 #define SNAP_LIVE_EMBEDDER_H
17 
18 #include "ThreadManager.h"
19 #include "EmbedderListener.h"
20 #include "AudioCommonEmbedder.h"
21 #include "LiveCommonEmbedder.h"
22 #include "SnapCommonEmbedder.h"
23 #include "ProductLicense.h"
24 #ifdef ONLINE_SDK
25 #include "OnlineCommonEmbedder.h"
26 #endif
27 
28 namespace KantarMedia
29 {
47  , public IProductLicense
48 #ifdef ONLINE_SDK
49  , public IOnlineEmbedder
50 #endif
51  {
52  public :
57  {
58  public:
59  virtual ~IEmbedderParameters();
60  };
61 
62  public:
63  virtual ~ISnapLiveAudioEmbedder();
64 
76 
89  virtual AUDIOSDK_Error AddMetadata(const char* metadata) = 0;
90  };
91 
110  extern AUDIOSDK_API AUDIOSDK_Error CreateSnapLiveAudioEmbedder(const char* kantarMedia_license_path, const char* audience_license_path, IEmbedderListener* listener, ISnapLiveAudioEmbedder** embedder, const char* kantarMedia_license_password = NULL);
111 
112  // TODO doc CreateSnapFileAudioEmbedder for online
113  extern AUDIOSDK_API AUDIOSDK_Error CreateOnlineSnapLiveAudioEmbedder(IEmbedderListener* listener, ISnapLiveAudioEmbedder** embedder, const char* login, const char* password, int port = 443, const char* server = "license.kantarmedia.com");
114 
126 
131 };
132 
139 extern "C" AUDIOSDK_API KantarMedia::AUDIOSDK_Error KantarMedia_CreateSnapLiveAudioEmbedder(const char* kantarMedia_license_path, const char* audio_license_path, KantarMedia::IEmbedderListener* listener, KantarMedia::ISnapLiveAudioEmbedder** embedder, const char* kantarMedia_license_password = NULL);
140 
147 extern "C" AUDIOSDK_API KantarMedia::AUDIOSDK_Error KantarMedia_CreateOnlineSnapLiveAudioEmbedder(KantarMedia::IEmbedderListener* listener, KantarMedia::ISnapLiveAudioEmbedder** embedder, const char* login, const char* password, int port = 443, const char* server = "license.kantarmedia.com");
148 
156 
157 #endif // SNAP_LIVE_EMBEDDER_H
AUDIOSDK_API AUDIOSDK_Error CreateSnapLiveAudioEmbedder(const char *kantarMedia_license_path, const char *audience_license_path, IEmbedderListener *listener, ISnapLiveAudioEmbedder **embedder, const char *kantarMedia_license_password=NULL)
This function creates an instance of an ISnapLiveAudioEmbedder object.
AUDIOSDK_Error
Error codes definition.
Definition: Errors.h:36
virtual AUDIOSDK_Error AddMetadata(const char *metadata)=0
This method adds optional metadata in embedding report.
Snap Live Embedder interface declaration.
Definition: SnapLiveAudioEmbedder.h:46
Definition: AudioCommonEmbedder.h:49
AUDIOSDK_API KantarMedia::AUDIOSDK_Error KantarMedia_CreateSnapLiveAudioEmbedder(const char *kantarMedia_license_path, const char *audio_license_path, KantarMedia::IEmbedderListener *listener, KantarMedia::ISnapLiveAudioEmbedder **embedder, const char *kantarMedia_license_password=NULL)
C Interface of KantarMedia::CreateSnapLiveAudioEmbedder.
virtual AUDIOSDK_Error GetEmbedderParameters(ISnapLiveAudioEmbedder::IEmbedderParameters *&param)=0
This method gets the embedder parameters with default values.
AUDIOSDK_API AUDIOSDK_Error DestroySnapLiveAudioEmbedder(ISnapLiveAudioEmbedder *&embedder)
This function destroys an ISnapLiveAudioEmbedder object.
Definition: ACRCommonEmbedder.h:22
Base interface for Live embedders.
Definition: LiveCommonEmbedder.h:35
Base interface for thread priority/affinity management.
Definition: ThreadManager.h:36
Base interface for Online embedders.
Definition: OnlineCommonEmbedder.h:37
AUDIOSDK_API KantarMedia::AUDIOSDK_Error KantarMedia_DestroySnapLiveAudioEmbedder(KantarMedia::ISnapLiveAudioEmbedder *&embedder)
C Interface of KantarMedia::DestroySnapLiveAudioEmbedder.
Parameters for SNAP live embedding.
Definition: SnapLiveAudioEmbedder.h:56
Base interface for product licenses.
Definition: ProductLicense.h:33
Class used to catch different types of events (info and data) raised by the embedder library...
Definition: EmbedderListener.h:44
Base interface for Snap embedders.
Definition: SnapCommonEmbedder.h:37
Base interface for embedders.
Definition: AudioCommonEmbedder.h:46
AUDIOSDK_API KantarMedia::AUDIOSDK_Error KantarMedia_CreateOnlineSnapLiveAudioEmbedder(KantarMedia::IEmbedderListener *listener, KantarMedia::ISnapLiveAudioEmbedder **embedder, const char *login, const char *password, int port=443, const char *server="license.kantarmedia.com")
C Interface of KantarMedia::CreateOnlineSnapLiveAudioEmbedder.