+ All Categories
Home > Documents > Hands on DLNA...DTCP/IP SOAP SSDP RTSP DLNA Protocols Why should you care? DLNA is becoming...

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

Date post: 06-Jul-2020
Category:
Upload: others
View: 33 times
Download: 0 times
Share this document with a friend
14
Hands on DLNA Mark Ryan 28th May 2013
Transcript
Page 1: Hands on DLNA...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

Hands on DLNA

Mark Ryan 28th May 2013

Page 2: Hands on DLNA...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

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

Page 3: Hands on DLNA...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

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

Page 4: Hands on DLNA...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

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

Page 5: Hands on DLNA...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

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

Page 6: Hands on DLNA...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

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

Page 7: Hands on DLNA...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

Example Rygel DMS Architecture

Page 8: Hands on DLNA...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

Example Rygel DMR Architecture

Page 9: Hands on DLNA...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

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)

Page 10: Hands on DLNA...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

dLeyna Architecture

Page 11: Hands on DLNA...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

Demo Time!

Page 12: Hands on DLNA...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

iPad Demo

Page 13: Hands on DLNA...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

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

Page 14: Hands on DLNA...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

Links

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

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

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


Recommended