[vlc-devel] [PATCH 17/33] chromecast: no need to share some constants anymore
Steve Lhomme
robux4 at videolabs.io
Wed Dec 23 12:58:36 CET 2015
---
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 7d88acf..4db1f99 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 2d0a100..b40f5e2 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
--
2.6.3
More information about the vlc-devel
mailing list