-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main-origin' into improve-dash-manifest-parsing
# Conflicts: # src/manifests/handlers/dash/segment.ts
- Loading branch information
Showing
13 changed files
with
2,126 additions
and
242 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM node:16 | ||
|
||
FROM node:gallium-alpine3.16 | ||
EXPOSE 80 8000 8080 | ||
LABEL maintainer="Eyevinn Technology <[email protected]>" | ||
|
||
WORKDIR /app | ||
ADD . . | ||
RUN npm install | ||
RUN npm install | ||
RUN npm run build | ||
CMD ["npm", "start"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM public.ecr.aws/lambda/nodejs:16 as builder | ||
EXPOSE 80 443 8000 | ||
LABEL maintainer="Eyevinn Technology <[email protected]>" | ||
|
||
WORKDIR ${LAMBDA_TASK_ROOT} | ||
COPY . ${LAMBDA_TASK_ROOT} | ||
RUN npm install | ||
RUN npm run build | ||
|
||
|
||
WORKDIR ${LAMBDA_TASK_ROOT}/dist | ||
CMD ["dist/lambda.handler"] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,17 @@ To try it out, go to your favourite HLS/MPEG-DASH video player such as `https:// | |
| `statusCode` | Replace the response for a specific segment request with a specified status code response | | ||
| `timeout` | Force a timeout for the response of a specific segment request | | ||
|
||
### Load Manifest url params from AWS SSM parameter store instead | ||
- Create a .env file at the root the of project | ||
- fill it like this : | ||
``` | ||
AWS_REGION="eu-central-1" | ||
AWS_SSM_PARAM_KEY="/ChaosStreamProxy/Development/UrlParams" | ||
LOAD_PARAMS_FROM_AWS_SSM=true | ||
``` | ||
- on AWS SSM, create a parameter with name : <em>/ChaosStreamProxy/Development/UrlParams</em> | ||
- add a value for corruptions, for example : <em>&statusCode=[{i:3,code:500},{i:4,code:500}]</em> | ||
|
||
## Corruptions | ||
|
||
Currently, the Chaos Stream Proxy supports 3 types of corruptions for HLS and MPEG-DASH streams. These corruptions may be used in combination with one another. | ||
|
@@ -279,4 +290,4 @@ Eyevinn Technology is an independent consultant firm specialized in video and st | |
|
||
At Eyevinn, every software developer consultant has a dedicated budget reserved for open source development and contribution to the open source community. This give us room for innovation, team building and personal competence development. And also gives us as a company a way to contribute back to the open source community. | ||
|
||
Want to know more about Eyevinn and how it is to work here? Contact us at [email protected]! | ||
Want to know more about Eyevinn and how it is to work here? Contact us at [email protected]! |
Oops, something went wrong.