Commit efe32935 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

chromecast: pass the destination namespace by reference

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4921e9a2
......@@ -70,7 +70,7 @@ struct intf_sys_t
void msgReceiverClose(std::string destinationId);
void msgPing();
void msgPong();
void msgConnect(std::string destinationId);
void msgConnect(const std::string & destinationId = DEFAULT_CHOMECAST_RECEIVER);
void msgReceiverLaunchApp();
void msgReceiverGetStatus();
......
......@@ -115,8 +115,7 @@ void intf_sys_t::msgPong()
messagesToSend.push(msg);
}
void intf_sys_t::msgConnect(std::string destinationId)
void intf_sys_t::msgConnect(const std::string & destinationId)
{
std::string s("{\"type\":\"CONNECT\"}");
castchannel::CastMessage msg = buildMessage(NAMESPACE_CONNECTION,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment