From bb2704f3c68e4e7a359f426b7c2db8e0abbd7f77 Mon Sep 17 00:00:00 2001 From: Steve Lhomme <robUx4@videolabs.io> Date: Wed, 23 Dec 2015 12:58:36 +0100 Subject: [PATCH] chromecast: no need to share some constants anymore Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> --- modules/stream_out/chromecast/chromecast.h | 4 ---- modules/stream_out/chromecast/chromecast_ctrl.cpp | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/stream_out/chromecast/chromecast.h b/modules/stream_out/chromecast/chromecast.h index 7d88acfec400..4db1f99bc571 100644 --- a/modules/stream_out/chromecast/chromecast.h +++ b/modules/stream_out/chromecast/chromecast.h @@ -42,10 +42,6 @@ // Media player Chromecast app id static const std::string DEFAULT_CHOMECAST_RECEIVER = "receiver-0"; -static const std::string NAMESPACE_DEVICEAUTH = "urn:x-cast:com.google.cast.tp.deviceauth"; -static const std::string NAMESPACE_CONNECTION = "urn:x-cast:com.google.cast.tp.connection"; -static const std::string NAMESPACE_HEARTBEAT = "urn:x-cast:com.google.cast.tp.heartbeat"; -static const std::string NAMESPACE_RECEIVER = "urn:x-cast:com.google.cast.receiver"; /* see https://developers.google.com/cast/docs/reference/messages */ static const std::string NAMESPACE_MEDIA = "urn:x-cast:com.google.cast.media"; diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp index 24640ea2488c..d29c1f95b9cc 100644 --- a/modules/stream_out/chromecast/chromecast_ctrl.cpp +++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp @@ -43,6 +43,11 @@ #define SOUT_CFG_PREFIX "sout-chromecast-" +static const std::string NAMESPACE_DEVICEAUTH = "urn:x-cast:com.google.cast.tp.deviceauth"; +static const std::string NAMESPACE_CONNECTION = "urn:x-cast:com.google.cast.tp.connection"; +static const std::string NAMESPACE_HEARTBEAT = "urn:x-cast:com.google.cast.tp.heartbeat"; +static const std::string NAMESPACE_RECEIVER = "urn:x-cast:com.google.cast.receiver"; + /** * @brief Build a CastMessage to send to the Chromecast * @param namespace_ the message namespace -- GitLab