Difference between revisions of "Developer:Davaar:ReceiverService"
(→SetSender) |
(→Play) |
||
Line 24: | Line 24: | ||
==Play== | ==Play== | ||
− | Play the current sender | + | Play audio from the current sender |
==Stop== | ==Stop== |
Revision as of 13:44, 1 December 2010
Contents
Architectural Overview
The Receiver service provides the means for controlling a Receiver source. If a device's 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 sender to listen to.
The Metadata must have originated from a device bearing the 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 audio from the current sender
Stop
Stop playing the current sender
Technical Details
Domain : av.openhome.org
Name : Receiver
Version : 1