EN
本內容沒有您的語言版本,但有英文版本。

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

 

 

顯示:
© 2014 Microsoft