summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/api/call/call_factory_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/api/call/call_factory_interface.h')
-rw-r--r--third_party/libwebrtc/api/call/call_factory_interface.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/third_party/libwebrtc/api/call/call_factory_interface.h b/third_party/libwebrtc/api/call/call_factory_interface.h
index fde8cba66e..db53d724a6 100644
--- a/third_party/libwebrtc/api/call/call_factory_interface.h
+++ b/third_party/libwebrtc/api/call/call_factory_interface.h
@@ -24,6 +24,9 @@ struct CallConfig;
// This interface exists to allow webrtc to be optionally built without media
// support (i.e., if only being used for data channels). PeerConnectionFactory
// is constructed with a CallFactoryInterface, which may or may not be null.
+// TODO(bugs.webrtc.org/15574): Delete this interface when
+// `PeerConnectionFactoryDependencies::call_factory` is removed in favor of
+// `PeerConnectionFactoryDependencies::media_factory`.
class CallFactoryInterface {
public:
virtual ~CallFactoryInterface() = default;
@@ -31,7 +34,9 @@ class CallFactoryInterface {
virtual std::unique_ptr<Call> CreateCall(const CallConfig& config) = 0;
};
-RTC_EXPORT std::unique_ptr<CallFactoryInterface> CreateCallFactory();
+[[deprecated("bugs.webrtc.org/15574")]] //
+RTC_EXPORT std::unique_ptr<CallFactoryInterface>
+CreateCallFactory();
} // namespace webrtc