270 likes | 462 Views
Windows Media Connect and PlaysForSure for Network Devices. Jason Flaks Program Manager Digital Media Division jasonfl @ microsoft.com Microsoft Corporation. Session Outline. Windows Media Connect Software PlaysForSure Overview Requirements and How-To Test tool
E N D
Windows Media Connect and PlaysForSure for Network Devices Jason Flaks Program Manager Digital Media Divisionjasonfl @ microsoft.com Microsoft Corporation
Session Outline • Windows Media Connect Software • PlaysForSure • Overview • Requirements and How-To • Test tool • UI Design Recommendations for Digital Media Receivers
Windows Media Connect Software Enables seamless, secure media flow between Windows PCs and networked CE devices -- “Turning the PC into a content source” “It Just works” experience • Easy management of devices • UPnP discovery & control • HTTP streaming • Easy access to PC media library • Audio: WMA, MP3, LPCM • Video: WMV, MPEG1/2, MS-DVR, AVI • Photo: JPEG, GIF, PNG, BMP, TIFF,… • Playlist: M3U, WPL • Transcoding: MP3, WMA LPCM, Photo YUV • Content Security • Windows Media DRM for Network Devices Based on open standards • Universal Plug and Play (UPnP) • (future) Digital Living Network Alliance (DLNA)
Devices • 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
Sharing • 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 default • Option to share per user
PlaysForSure 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
Branding Front ofPackagingExample Back ofPackaging Example Used on: Digital Audio Receiver Packaging Online Music Stores/Services Used on: Digital Media Receiver Devices Video/Movie Stores/Services
General Requirements WMA VBR <= 160kb WMA CBR <= 192kb WMV VBR <= 700kb Resolution: 640x480 WMV VBR <= 4Mb Resolution: 640x480 Windows Media Audio and/or Video Windows Media DRM for Network Devices UPnP Audio Video 1.0 Compliant UPnP 1.0 Media Rendered Embedded Control Point UPnP 1.0 Windows Media Connect must be the only required software to operate. HTTP 1.1 TCP/UDP/IP
Authorization and Registration • MAC address and UPnP UDN must remain constant through power cycles • MediaReceiverRegister:1.0 Service • RegisterDevice(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 registered • Register when powered on • Check registration and reregister if needed • Attempt proximity detection for up to 2 minutes
Metadata • 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 DRM • Devices must support playback of Download and Subscription content • DRM Requirements • Support the ASF file format • Support the following encryption standards: • Advanced Encryption Standard (AES) with 128-bit keys, using both ECB and CTR modes • 1024-bit RSA cryptography, with the ability to store and protect the private key • MACs 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 Performance • Performance • Playback delay for protected content • < 5 seconds • Playback delay for unprotected content • < 1 second • Track->track delay for protected and unprotected content • < 1 second • Stress • Continuous audio playback for 24 hours • Continuous video playback for 4 hours • Remain powered on for 72 hours
PlaysForSure Testing • Most test cases are currently manual tests • Final verification performed by NSTL
PlaysForSure 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.5 • Support the <PlaysForSure> tag in your description document • New video requirement • WMV9 – 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
Authorization and Registration • IsAuthorized(“uuid:000000-0000-0000-000000”) • IsAuthorized() Media Server 1 Media Server 2 Media Server 3 Unauthorized Media Server 1 (DRM not enabled) Media Server 2 Media Server 3 IsValidated(“uuid:000000-0000-0000-000000”) IsValidated()
Using 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, “”) Artist Album Genre Artist 1 Artist ... Artist N Album 1 Album … Album N Track 1 Track … Track N
Using UPnP Browse to Access Content • When using the browse command with Windows Media Connect devices CAN rely on well known container IDs !
Call to Action • Follow the details on the PlaysForSure starter kit http://www.microsoft.com/windows/windowsmedia/Consumerelectronics/p4skit/p4s_1.aspxto ensure that your device is properly certified • Use the UPnP search action to build Media Server agnostic high quality user Interface • Focus on the details • Audio/video quality • Enumeration delay • Playback delay
Additional Resources • Web Resources • Whitepapers 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) • Related Sessions • How 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.