-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow HTTP request headers to be customized for each video in queue
* POST data sent in requests to "/play" and "/queue" API endpoints: - now recognizes the keys: * req-header * drm-header - ex: req-header: Referer: http://example.com/videos.html req-header: Origin: http://example.com drm-header: Authorization: Bearer <TOKEN> * Intents - which are: * used to start StartNetworkingServiceActivity * and forwarded to NetworkingService - can now include the extras: * reqHeader * drmHeader - which can be data type: * String[] * String - and each String is formatted: * "header-name: header-value" * POST data sent in requests to "/start-activity" API endpoint: - can configure these Intent extras * extra-reqHeader * extra-drmHeader - ex: extra-reqHeader: Referer: http://example.com/videos.html extra-reqHeader: Origin: http://example.com extra-drmHeader: Authorization: Bearer <TOKEN> notes: * the ability to configure "referer" is now redundant - keys: * POST data: referer * Intent extra: referUrl - this feature is legacy, and kept to avoid breaking userspace * DRM headers are only used when both DRM scheme and DRM license server URL are provided * ExoAirPlayer is configured with a default "User-Agent" - which impersonates a recent version of Chrome for Windows desktop - custom request headers can override this default value
- Loading branch information
1 parent
2990061
commit 570dbe7
Showing
14 changed files
with
376 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.