aws-samples / aws-samples/amazon-ivs-player-web-sample

Possibility to intercept request

Open
#36 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
90
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Is there a possibility to intercept request in Amazon IVS player? For example videojs allows before request:
```
videojs.Hls.xhr.beforeRequest = function(options) {
/*
* Modifications to requests that will affect every player.
*/

return options;
};
```
Using IVS player with videojs the beforeRequest is never called as i expect IVS player makes requests separate of videojs.

Use case would be adding cloudfront signed url params in order to get private VOD.

Contributor guide

Open the contributing guide

Research direction

Review the Amazon IVS Player Web SDK integration and the request path described in the issue, then compare it with videojs.Hls.xhr.beforeRequest behavior. Determine whether request interception or CloudFront signed URL parameters are supported, and document the supported approach or the missing capability.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.