Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Songcast Receiver in Java
27-02-2014, 10:41 AM
Post: #1
Songcast Receiver in Java
Hi,

I've been experimenting with the Songcast protocol on my Java MediaPlayer, at the moment I have some very rough code that will query the ohz uri to get the ohm uri and from the ohm uri I then join and start to receive the audio stream/packets.

'4F 68 6D 20 01 03 07 24 32 02 01 B9 00 00 ....'

I have some questions about the Songcast audio stream:

Is the Songcast audio stream always in the same format, or could the format change?

What is the Songcast audio format, is it propriety, or is it in a 'standard' format.

But the main question is not really an OpenHome question, the documentation is very good (http://openhome.org/wiki/Av:Developer:Songcast:Ohm), what I am stuck on now is how to play back the audio stream.

In my MediaPlayer I use either MPD (or mplayer) to play back the Playlist tracks and Radio steams, so I was thinking that maybe I could parse my Songcast audio stream to a format that MPD or mplayer would understand, or the other option would be to try and playback through the hardware directly, but this seems a bit limited with Java..

Has anyone done anything similar,or have any ideas how I could playback the Songcast stream.

Thanks,

Pete.
Find all posts by this user


Messages In This Thread
Songcast Receiver in Java - PeteManchester - 27-02-2014 10:41 AM
RE: Songcast Receiver in Java - simonc - 28-02-2014, 04:07 PM
RE: Songcast Receiver in Java - simoncn - 04-03-2014, 04:40 PM
RE: Songcast Receiver in Java - simonc - 04-03-2014, 04:52 PM
RE: Songcast Receiver in Java - simoncn - 04-03-2014, 05:21 PM
RE: Songcast Receiver in Java - simoncn - 14-03-2014, 05:56 PM
RE: Songcast Receiver in Java - simonc - 14-03-2014, 05:59 PM

Forum Jump: