Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

createSession method

Initiates a new session with the key system.

Important  This method is not supported in Internet Explorer 11 on Windows 7.

IE11

Syntax

var retVal = MSMediaKeys.createSession(type, initData, cdmData);

Parameters

type [in]

Type: DOMString

The MIME type of the media.

initData [in]

Type: Uint8Array

The initialize data for the key system.

cdmData [in]

Type: Uint8Array

The Content Decryption Modules data.

Return value

Type: MSMediaKeySession

The new media key session.

See also

MSMediaKeys

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.