From c4da0adbbd4f83bf47b71046f01cd9f12742ec7e Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 27 Dec 2015 05:20:51 +0100 Subject: pull latest libwatchfish, prepare for music support --- musicagent.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'musicagent.cc') diff --git a/musicagent.cc b/musicagent.cc index 5d7836a..f67cc1d 100644 --- a/musicagent.cc +++ b/musicagent.cc @@ -23,6 +23,7 @@ MusicAgent* MusicAgent::instance() void MusicAgent::peerFound(SAPPeer *peer) { + Q_UNUSED(peer); } void MusicAgent::requestConnection(SAPConnectionRequest *request) @@ -40,12 +41,12 @@ void MusicAgent::registerServices(SAPManager *manager) service.setProfile(music_profile); service.setFriendlyName("Media controller"); - service.setRole(SAPServiceInfo::RoleConsumer); + service.setRole(SAPServiceInfo::RoleProvider); service.setVersion(1, 0); service.setConnectionTimeout(0); channel.setChannelId(100); - channel.setPayloadType(SAPChannelInfo::PayloadJson); + channel.setPayloadType(SAPChannelInfo::PayloadNone); channel.setQoSType(SAPChannelInfo::QoSReliabilityDisable); channel.setQoSDataRate(SAPChannelInfo::QoSDataRateLow); channel.setQoSPriority(SAPChannelInfo::QoSPriorityLow); -- cgit v1.2.3