Skip to content

Commit

Permalink
fixed sample
Browse files Browse the repository at this point in the history
  • Loading branch information
bwsw committed May 18, 2024
1 parent ee38bf6 commit 1cabc87
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.gitignore
Dockerfile
Cargo.lock
**/data
**/data
**/*.mp4
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ Cargo.lock
/docs/build
/docs/source/generated
/docs/_build
**/data
**/data
**/*.mp4
4 changes: 1 addition & 3 deletions replay/scripts/rest_api/new_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ cat <<EOF
"namespace": "key"
}
},
"stop_condition": {
"frame_count": 10
},
"stop_condition": "never",
"anchor_keyframe": "$ANCHOR_KEYFRAME",
"offset": {
"blocks": 5
Expand Down
4 changes: 4 additions & 0 deletions samples/file_restreaming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ This sample shows how to ingest video file to Replay and then re-stream it to AO
Run Replay with the following command (X86 version):

```bash
docker pull ghcr.io/insight-platform/replay-x86:main

docker run -it --rm \
--network host \
-v $(pwd)/replay_config.json:/opt/etc/config.json \
Expand All @@ -19,6 +21,8 @@ docker run -it --rm \
First, we just launch to have it displaying stub because no actual re-streaming happens.

```bash
docker pull ghcr.io/insight-platform/savant-adapters-deepstream:latest

docker run --rm -it --name sink-always-on-rtsp \
--gpus=all \
--network="host" \
Expand Down

0 comments on commit 1cabc87

Please sign in to comment.