videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
37.97k stars 7.44k forks source link

Porting MSSS Drm player under videojs framework #7569

Open krackjack234 opened 2 years ago

krackjack234 commented 2 years ago

Description

We want to create a videojs-based MSSS Drm player for Sony smarttvs whichuses Opera OS.

In Sony Smart TV devices, the player is the Opera native player which takes the MSS drm information (manifest and drm url) as an xml file and play the content using webinitiator approach.

Example:

<video id="video" controls>
   <source src="https://example.com/mssvootdemo/a799ece0526511ec84424d36f1200f64.xml" type="application/vnd.ms-playready.initiator+xml">
</video>

The native player present in Sony Smart tv parses the xml file and plays the MSSS drm encrypted manifest by making the drm request internally.

Example XML

<PlayReadyInitiator xmlns="http://schemas.microsoft.com/DRM/2007/03/protocols/">
<LicenseAcquisition>
<Header>
<WRMHEADER xmlns="http://schemas.microsoft.com/DRM/2007/03/PlayReadyHeader" version="4.0.0.0">
<DATA>
<PROTECTINFO>
<KEYLEN>16</KEYLEN>
<ALGID>AESCTR</ALGID>
</PROTECTINFO>
<KID>JfEaa3PdqeVPCb7ODO6gRQ==</KID>
<CHECKSUM>MLL14cUzo08=</CHECKSUM>
<LA_URL>https://exampledrm.com/prdev/rightsmanager.asmx</LA_URL>
</DATA>
</WRMHEADER>
</Header>
<Content>
https://example.com/vod/_definst_/smil:mss/56/93/a799ece0526511ec84424d36f1200f64_1638346437969.smil/Manifest
</Content>
</LicenseAcquisition>
</PlayReadyInitiator>

The native player throws the standard html5 media events to communicate with the client.

Question

We want to use the native player under videojs framework so that we can use the same videojs interface while playing MSS Drm similar to widevine content

Is there any way we can achieve this?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.