Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add keysessioncreated event #124

Merged
merged 3 commits into from
Nov 18, 2020

Conversation

gesinger
Copy link
Contributor

@gesinger gesinger commented Nov 2, 2020

This event will allow for VHS to wait to append segments until EME has been established on the video element, important for Chrome when appending unencrypted content before encrypted.

README.md Outdated
When the key session is created, an event of type `keysessioncreated` will be triggered on the Video.js playback tech.

```
player.tech(true).on('keysessioncreated', function(event) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
player.tech(true).on('keysessioncreated', function(event) {
player.tech().on('keysessioncreated', function(event) {

@gesinger gesinger merged commit d114979 into videojs:main Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants