You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 20, 2022. It is now read-only.
audioRobustness:"<audio_robustness_level>"// Considered for Widevine key system only
123
+
videoRobustness:"<video_robustness_level>"// Considered for Widevine key system only
124
+
}
125
+
}
126
+
};
127
+
mediaPlayer.load(stream);
142
128
```
143
129
130
+
### HLS and FairPlay on Safari/OSx
131
+
In order to playback HLS protected contents with FairPlay DRM, a specific mode is available which consists in streaming and playing the content directly with the <video> element, and in managing the exchanges between the FairPlay CDM and the licenser using EME.
132
+
To activate this mode on Safari/OSx you need to explicitely indicate the protocol type, i.e. 'HLS', for the input stream:
133
+
134
+
```js
135
+
var stream = {
136
+
url:"<manifest_url>",
137
+
protocol="HLS",
138
+
protData: {
139
+
"com.apple.fps.1_0": {
140
+
laURL:"<licenser_url>",
141
+
withCredentials:"<license_request_withCredentials_value (true or false)>",
Since native player is used to achieve streaming session, some parts of the MediaPlayer API have no effect (functions relative to streaming and ABR configuration, DVR, trick mode...).
150
+
However, API for audio and subtitles tracks management is functional.
151
+
144
152
## Events
145
153
146
154
MediaPlayer offers events to be notified of differents events on video streaming. Those events are, for a part, sent by the HTMLMediaElement (<video>), and for an other part, sent by the MediaPlayer.
0 commit comments