Windows Media Connect and PlaysForSure for Network Devices Jason Flaks Program Manager Digital Media...

Post on 04-Jan-2016

213 views 0 download

Transcript of Windows Media Connect and PlaysForSure for Network Devices Jason Flaks Program Manager Digital Media...

Windows Media Connect and PlaysForSure for Network Devices

Jason FlaksProgram ManagerDigital Media Divisionjasonfl @ microsoft.comMicrosoft Corporation

Session OutlineSession Outline

Windows Media Connect Software

PlaysForSureOverview

Requirements and How-To

Test tool

UI Design Recommendations for Digital Media Receivers

Windows Media Connect

Windows Media Connect SoftwareWindows Media Connect Software

“It Just works” experienceEasy management of devices

UPnP discovery & controlHTTP streaming

Easy access to PC media library Audio: WMA, MP3, LPCMVideo: WMV, MPEG1/2, MS-DVR, AVIPhoto: JPEG, GIF, PNG, BMP, TIFF,…Playlist: M3U, WPLTranscoding: MP3, WMA LPCM, Photo YUV

Content SecurityWindows Media DRM for Network Devices

Enables seamless, secure media flow between Windows PCs and networked CE devices -- “Turning the PC into a content source”

Based on open standardsUniversal Plug and Play (UPnP)(future) Digital Living Network Alliance (DLNA)

DevicesDevices

One-time user authorization requiredfor all device/

Uses Device MAC address and UPnP UDN

Device information and icon presented If available in a UPnP Media Rendererdescription document

Access to device presentation page if provided

SharingSharing

Content is added by folder

Folders are monitored for all new content Device notified with a UPnP Event

User can share a folder to a specific device

Content share for all users by defaultOption to share per user

Building a PlaysForSure Network Device

PlaysForSure OverviewPlaysForSure Overview

Multiple content services

Multiple devices

No standard of quality

Result:Consumer dissatisfaction

PlaysForSure is a marketing and technical program designed to certify devices and services to ensure a quality experience for consumers

BrandingBrandingF

ron

t o

fP

acka

gin

g

Exa

mp

le

Used on:Digital Audio Receiver Packaging

Online Music Stores/Services

Used on:Digital Media Receiver Devices

Video/Movie Stores/Services

Bac

k o

fP

acka

gin

g

Exa

mp

le

General RequirementsGeneral Requirements

WMA VBR <= 160kb

WMA CBR <= 192kb

WMV VBR <= 700kbResolution: 640x480

WMV VBR <= 4MbResolution: 640x480

HTTP 1.1

TCP/UDP/IP

UPnP 1.0

UPnP Audio Video 1.0

Windows Media DRM for Network Devices

Windows Media Audio and/or Video

Compliant UPnP 1.0 Media Rendered

Embedded Control Point

Windows Media Connect must be the only required software to operate.

Authorization and RegistrationAuthorization and Registration

MAC address and UPnP UDN must remain constant through power cycles

MediaReceiverRegister:1.0 ServiceRegisterDevice(base64 WMDRM-ND message)

IsValidated()

IsAuthorized()

Authorization and Validation Events

Devices must support authorization events and show UI to indicate un-authorized status

Devices must always remain registeredRegister when powered on

Check registration and reregister if needed

Attempt proximity detection for up to 2 minutes

MetadataMetadata

Devices should display supportedcontent types only

Search(res@protcolinfo not equal video/mpeg)

Devices should only display containerswith supported content

Search(upnp:searchclass equals object.item.audioItem)

At a minimum devices must support the Title metadata

Devices should subscribe to Content Directory Service Events and update UI as needed

SystemUpdateIDContainerUpdateID

Content Playback and DRMContent Playback and DRM

Devices must support playback of Download and Subscription contentDRM Requirements

Support the ASF file format

Support the following encryption standards:Advanced Encryption Standard (AES) with 128-bit keys, using both ECB and CTR modes1024-bit RSA cryptography, with the ability to store and protect the private keyMACs using SHA-1 with 1024-bit RSA encryption, as well as AES OMAC1

Be able to store their device certificate and any certification authority certificates

Be able to parse the binary XMR policy and enforce the specified rights. XMR is a proprietary binary format; the format documentation, the definition of all the rights, and example policy parsing code will be included with the licensing agreement.

Be prepared to support any specific output security schemes that specific licenses may require. Examples of security requirements include Copy Generation Management System (for analog video) or Secure Audio Path (for audio).

Stress and PerformanceStress and Performance

PerformancePlayback delay for protected content

< 5 seconds

Playback delay for unprotected content< 1 second

Track->track delay for protected and unprotected content

< 1 second

StressContinuous audio playback for 24 hours

Continuous video playback for 4 hours

Remain powered on for 72 hours

PlaysForSure TestingPlaysForSure Testing

Most test cases are currently manual tests

Final verification performed by NSTL

PlaysForSure ParticipationPlaysForSure Participation

Sign PlaysForSure terms

Self-test your products and submit for verification

Integrate the PlaysForSure logo onto your products and packaging

Include the logo with all advertising for PlaysForSure Compatible products

PlaysForSure for Network Devices v1.5PlaysForSure for Network Devices v1.5

Support the <PlaysForSure> tag in your description document

New video requirementWMV9 – MP@ML

480p (NTSC), 720x480, 30fps

576p (PAL), 720x576, 25fps

Max Bitrate: 10 Mb

Average: 2.5 – 3 Mb

Required Audio support: WMA9 Standard

Optional Audio support: WMA9 Pro or WMA 9 Lossless

Require HTTP RANGE header for seeking

Device UI Design Recommendations

Authorization and RegistrationAuthorization and Registration

IsAuthorized(“uuid:000000-0000-0000-000000”)

IsAuthorized()

Media Server 1Media Server 2Media Server 3

Unauthorized

Media Server 1 (DRM not enabled)Media Server 2Media Server 3

IsValidated(“uuid:000000-0000-0000-000000”)

IsValidated()

Using UPnP Search To Access ContentUsing UPnP Search To Access Content

Search("0", upnp:class = "object.container.person.musicArtist", "", "*", 0, 0, "")

Search("0", upnp:class = "object.container.person.musicArtist", "", "*", 0, 10, "")

Search("0", upnp:class = "object.container.album.musicAlbum" and upnp:artist = "Artist 1", "", "*", 0, 10, "")

Browse(RESULT, “BrowseDirectChildren”, “”, 0, 10, “”)

ArtistAlbumGenre Artist 1

Artist ...Artist N Album 1

Album …Album N Track 1

Track …Track N

Using UPnP Browse to Access ContentUsing UPnP Browse to Access Content

When using the browse command with Windows Media Connect devices CAN rely on well known container IDs !

Root

Music Pictures Video

All Music Album Artist GenreAll

PicturesAlbums

Date

Taken

All

VideoAlbums ActorPlaylists Genre

Using UPnP Browse to Access ContentUsing UPnP Browse to Access ContentContainer name ID Child type

Root 0 Object.container

Root/Music 1 Object.container

Root/Video 2 Object.container

Root/Pictures 3 Object.container

Root/Music/Album 7 Object.container.album.musicAlbum

Root/Music/Artist 6 Object.container.person.musicArtist

Root/Music/Genre 5 Object.container.genre.musicGenre

Root/Music/All Music 4 Object.item.audioitemObject.item.audioItem.musicTrack

Root/Music/Playlists F Object.container.playlistContainer

Root/Video/Actor A Object.container.person.movieActor

Root/Video/Album E Object.container.album.videoAlbum

Root/Video/All Video 8 Object.item.videoItem

Root/Video/Genre 9 Object.container.genre.videoGenre

Root/Pictures/Albums D Object.container.album.photoAlbum

Root/Pictures/All Pictures B Object.item.imageItemObject.item.imageItem.photo

Root/Pictures/Date Taken C Object.container.album.photoalbum

Call to ActionCall to Action

Follow the details on the PlaysForSure starter kit http://www.microsoft.com/windows/windowsmedia/Consumerelectronics/p4skit/p4s_1.aspx

to ensure that your device is properly certified

Use the UPnP search action to build Media Server agnostic high quality user Interface

Focus on the detailsAudio/video quality

Enumeration delay

Playback delay

Additional ResourcesAdditional Resources

Web ResourcesWhitepapers and Specs: http://www.microsoft.com/windows/windowsmedia/knowledgecenter/technicalarticles.aspx#mediaonthego

Other Resources: http://www.microsoft.com/windows/windowsmedia/devices/wmconnect/default.aspx

http://www.microsoft.com/windows/windowsmedia/consumerelectronics/p4skit/p4s_1.aspx

Additional Resources (con’t)Additional Resources (con’t)

Related SessionsHow to Design a PlaysForSure Portable Device

Windows Media DRM Device Porting Kit Review

Home Entertainment Device Design

© 2005 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.