Skip to content
Snippets Groups Projects
Commit 5b0d8e94 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Gerrit Code Review
Browse files

manager: fix non-video build

Refs #68729

Change-Id: I1ca456d71b74b1465b23f5345530072cbbcc79d9
parent 03c5fa58
Branches
Tags
No related merge requests found
...@@ -2858,6 +2858,7 @@ ManagerImpl::newOutgoingCall(const std::string& toUrl, ...@@ -2858,6 +2858,7 @@ ManagerImpl::newOutgoingCall(const std::string& toUrl,
return account->newOutgoingCall(finalToUrl); return account->newOutgoingCall(finalToUrl);
} }
#ifdef RING_VIDEO
std::shared_ptr<video::SinkClient> std::shared_ptr<video::SinkClient>
ManagerImpl::createSinkClient(const std::string& id) ManagerImpl::createSinkClient(const std::string& id)
{ {
...@@ -2883,5 +2884,6 @@ ManagerImpl::getSinkClient(const std::string& id) ...@@ -2883,5 +2884,6 @@ ManagerImpl::getSinkClient(const std::string& id)
return sink; return sink;
return nullptr; return nullptr;
} }
#endif // RING_VIDEO
} // namespace ring } // namespace ring
...@@ -955,9 +955,11 @@ class ManagerImpl { ...@@ -955,9 +955,11 @@ class ManagerImpl {
void addTask(const std::function<bool()>&& task); void addTask(const std::function<bool()>&& task);
#ifdef RING_VIDEO
std::shared_ptr<video::SinkClient> createSinkClient(const std::string& id=""); std::shared_ptr<video::SinkClient> createSinkClient(const std::string& id="");
std::shared_ptr<video::SinkClient> getSinkClient(const std::string& id); std::shared_ptr<video::SinkClient> getSinkClient(const std::string& id);
#endif // RING_VIDEO
private: private:
NON_COPYABLE(ManagerImpl); NON_COPYABLE(ManagerImpl);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment