Difference between revisions of "Developer:Davaar:ReceiverService"

From LinnDocs
Jump to: navigation, search
(Sender)
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Architectural Overview =
+
See http://wiki.openhome.org/wiki/Av:Developer:ReceiverService
 
 
The Receiver service provides the means for controlling a Receiver source. If a device's [[Developer:Davaar:ProductService|Product service]] reports a source of type 'Receiver', then that device is guaranteed to bear the Receiver service.
 
 
 
A receiver plays audio broadcast from a sender.
 
 
 
= Actions =
 
== Sender ==
 
Report the Uri and Metadata of the sender this receiver is currently listening to.
 
 
 
==SetSender==
 
Set the Uri and Metadata of the current sender.
 
 
 
The Metadata must have originated from a device bearing the [[Developer:Davaar:SenderService|Sender service]].
 
 
 
The Uri must be the result of applying this receiver's ProtocolInfo to this Metadata.
 
 
 
==ProtocolInfo==
 
Report the receiver's protocol info.
 
 
 
==TransportState==
 
 
 
Report the current transport state, which can be: 'Playing', 'Paused', 'Stopped', or 'Buffering'.
 
 
 
==Play==
 
Play the current sender
 
 
 
==Stop==
 
Stop playing the current sender
 
 
 
= Technical Details =
 
<code>
 
    Domain  : av.openhome.org
 
    Name    : Receiver
 
    Version : 1
 
</code>
 
[http://oss.linn.co.uk/trac/browser/Main/LibUpnpCil/Services/Openhome/Receiver1.xml Receiver Service Description (XML)]
 

Latest revision as of 08:38, 21 November 2018