Hands on DLNA...DTCP/IP SOAP SSDP RTSP DLNA Protocols Why should you care? DLNA is becoming...

Post on 06-Jul-2020

33 views 0 download

transcript

Hands on DLNA

Mark Ryan 28th May 2013

DLNA in a Slide

● The Digital Living Network Alliance publishes guidelines for the sharing of media content.

● In brief, these guidelines:

– Specify an environment for media sharing

– Leverage existing standards:● UPnP, HTTP, RTSP, JPEG, etc.

– Have a strong focus on interoperability

– Are backed up by a certification program

How does it work?Digital Media Servers (DMSs)

Digital Media Renderers (DMRs)

Email App

Photo App

Music Player

HTTP

UPnP

DTCP/IP

SOAP

SSDP

RTSP

DLNA

Protocols

Why should you care?

● DLNA is becoming ubiquitous:

– 20,000 certified devices

– 1 billion DLNA certified units shipped by 2014● IVI systems could share media with all these devices.

● Possible use cases:

– Stream protect content from mobile to IVI

– In car media server

– Synchronise in car media server with home media server

An Open-source DLNA stack

● A complete open-source DLNA stack can be built from:

– GUPnP● Low level UPnP stack

– Rygel● Framework for creating DMSs and DMRs

– dLeyna● APIs for creating DLNA enabled applications

● Liberal licenses, LGPL v2, LGPL v2.1, Apache 2.0

● Very flexible architectures

What is Rygel?

● Set of libraries for creating DMSs and DMRs

● Ships with example DMSs and DMRs based on Tracker and GStreamer.

● Boasts a flexible architecture that permits integration with:

– Proprietary media frameworks for renderering and streaming

– Proprietary media indexers

– Proprietary metadata extractors● Built on top of GUPnP

● Liberal License: LGPL 2.1

Example Rygel DMS Architecture

Example Rygel DMR Architecture

What is dLeyna?

● dLeyna provides high level d-Bus and JS APIs for building DLNA enabled applications. There are two APIs:

– dLeyna-server and dLeyna-renderer● The dLeyna APIs:

– Make it easy to access the services of DMSs and DMRs– Reduce network traffic when there are multiple applications– Improve DLNA application startup time

● dLeyna supports some advanced DLNA features including +UP+, +PU+, +DNSYNC+

● Built on top of GUPnP● Liberal Licenses: LGPL 2.1 + Apache 2.0 (JS APIs)

dLeyna Architecture

Demo Time!

iPad Demo

Open but not completely free

● Integration issues:

– DLNA compatible media framework

– Media Framework integration with GUPnP and Rygel ( unless you are using GStreamer )

– Media Indexer integration ( unless using Tracker )

– DTCP/IP stack for content protection

– A settings application

– Modify media applications to use dLeyna

– UPnP/DLNA certification

Links

● GUPnP (https://live.gnome.org/GUPnP/)

● dLeyna (https://01.org/dleyna/)

● Rygel (https://live.gnome.org/Rygel/)