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

Add feature for filtering license requests and responses #3535

Conversation

bbert
Copy link
Contributor

@bbert bbert commented Feb 12, 2021

This PR adds a new feature on MediaPlayer to enable filtering license requests and responses

@dsilhavy dsilhavy added this to the 3.2.1 milestone Feb 15, 2021
@dsilhavy dsilhavy self-requested a review February 15, 2021 07:44
@@ -401,6 +405,8 @@ function MediaPlayer() {
*/
function destroy() {
reset();
licenseRequestFilters = [];
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we move this to the reset() function?

Copy link
Contributor Author

@bbert bbert Feb 15, 2021

Choose a reason for hiding this comment

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

If we can attach new source after reset(), I would say no. We should keep the filters until player is destroyed

src/streaming/MediaPlayer.js Outdated Show resolved Hide resolved
src/streaming/MediaPlayer.js Outdated Show resolved Hide resolved
@dsilhavy dsilhavy merged commit 6ed9398 into Dash-Industry-Forum:development Feb 16, 2021
@bbert bbert deleted the feature-license-request-response-filters branch February 19, 2021 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants