Developer:Davaar:SenderService

From LinnDocs
Revision as of 14:38, 24 November 2010 by Grahamd (talk | contribs) (Attributes)
Jump to: navigation, search

Architectural Overview

The Sender service indicates the presence of and provides information concerning an Openhome Sender.

An Openhome Sender broadcasts music on a network in a way that is playable by an Openhome Receiver.

Actions

Attributes

Reports a space separated list of attributes that identify additional functionality that can be found on the same device as this Sender.

Currently defined attributes are:

  • Info - this device reports on the current media using the Info service
  • Time - this device reports on the current media using the Time service

Audio

Reports whether audio is currently present on this sender.

Metadata

Provides a representation of this audio item in DIDL-Lite format.

PresentationUrl

Reports the Url of a presentation page for further information concerning the sender, or for controlling the sender in some application secific way.

If this sender has no presentation page, the PresentationUrl should be empty.

Status

Reports the status of the sender (normally only for debugging purposes):

  • Sending - currently sending out audio
  • Ready - ready to send audio but no listeners
  • Blocked - audio from another sender detected on the same channel
  • Inactive - currently no audio to send on this channel
  • Disabled - sender disabled by user configuration

Technical Details

   Domain  : av.openhome.org
   Name    : Sender
   Version : 1

Sender Service Description (XML)

Migration Guide From Cara

The domain for the Info service has changed to av.openhome.org

Actions

Counters

The arguments have changed their names as follows:

  • aTrackCount -> TrackCount
  • aDetailsCount -> DetailsCount
  • aMetatextCount -> MetatextCount

Track

The arguments have changed their names as follows:

  • aUri -> Uri
  • aMetadata -> Metadata

Details

The arguments have changed their names as follows:

  • aDuration -> Duration
  • aBitRate -> BitRate
  • aBitDepth -> BitDepth
  • aSampleRate -> SampleRate
  • aLossless -> Lossless
  • aCodecName -> CodecName

Metatext

The argument has changed its name as follows:

  • aMetatext -> Value