multi room playout home area entertainment
play

Multi-room playout (Home Area entertainment) Jan Schmidt- - PowerPoint PPT Presentation

Multi-room playout (Home Area entertainment) Jan Schmidt- thaytan@noraisin.net - jan.schmidt@oracle.com Concept My cousin Levi Concept Music in every room Zones Remote control Synchronisation Don't sound like a stadium


  1. Multi-room playout (Home Area entertainment) Jan Schmidt- thaytan@noraisin.net - jan.schmidt@oracle.com

  2. Concept ● My cousin Levi

  3. Concept ● Music in every room ● Zones ● Remote control

  4. Synchronisation ● Don't sound like a stadium ● Within a millisecond? http://www.flickr.com/photos/bbmexplorer/2954373489

  5. Video ● Not much extra work – fundamentally the same

  6. Bandwidth ● Unicast OK for audio ● Not so good for video – multicast is better

  7. Sinks and synchs ● Playback synchronisation happens in the sink elements ● Requires a clock and a base time ● Audio resampling ● NTP ● PTP

  8. GStreamer network clock ● Master: GstNetTimeProvider – Listens for UDP packets on a port, responds with the time – Wraps a GstClock ● Slave: GstNetClientClock – Correlates between observations of the remote time and the system clock – A normal GstClock

  9. Aurena

  10. Implementation UI (Web Browser) UI (Web Browser) Server Server Daemon Daemon Client Client Client Client Client Client

  11. Implementation ● Avahi for server discovery ● JSON event stream to clients - libjson-glib ● GstNetClock ● Media streams ● HTML/Javascript UI – libsoup ● Media library

  12. Streaming – RTSP ● gst-rtsp-server makes it easy ● Problems with synchronisation ● Multicast possible

  13. Streaming – HTTP ● Stream via libsoup ● Bandwidth concern

  14. GSS ● Aurena duplicates big pieces ● Need to investigate integration

  15. Communication ● Chunked HTTP ● Websocket implementation ● GstStructure vs JSON-glib

  16. UI ● AJAX is fun

  17. Demo

  18. Code ● Available on github: – https://github.com/thaytan/aurena

  19. Next steps... ● media library with metadata (GstDiscoverer) ● Multiple zones, ability to move players between zones ● RTP multicast streaming ● Improve clock stability

  20. Questions?

  21. Questions?

  22. Next steps... Questions?

Recommend


More recommend