-
Notifications
You must be signed in to change notification settings - Fork 175
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
Record mode #1582
Record mode #1582
Conversation
6b057bc
to
27ea0d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we're going to run into some trouble with nodeId
.
- It's not set unless
-monitor=true
is set, which results in an empty string being used in the S3 upload URLs and playback breaking. - In on-chain mode it uses the broadcaster address... except that'll be the same across all of our production broadcasters in a region, so their JSON uploads will all collide.
I dunno what we wanna do about that exactly.
I tried to make a copy of this branch and accidentally deleted and recreated it, sorry if that causes problems anywhere 😂 |
8d8aa7c
to
078ee80
Compare
dacab8a
to
a8797e7
Compare
d4f93f3
to
3da898f
Compare
3da898f
to
13a1b7b
Compare
f24de4a
to
4ca95f6
Compare
4ca95f6
to
8406733
Compare
c40faf1
to
7362431
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a comment about a typo but feel free to fix during the squash.
Besides that LGTM
79f515f
to
8e34ca3
Compare
Add stub auth token to test
8e34ca3
to
4096a43
Compare
- add `recordObjectStoreUrl` field to the webhook auth response - used as absolute URL to the segments saved to the recording object storage
4096a43
to
2f54db3
Compare
What does this pull request do? Explain your changes. (required)
Allows to record streams
Specific updates (required)
-objectStore
command line argument 4cfedeaPR allows to specify global OS for saving streams (using
-recordStore
command line option) or to specify OS per-stream using webhook.Two fields added to webhook response structure:
objectStore
andrecordObjectStore
.objectStore
specifies URL of OS to use for stream in transcoding pipeline, andrecordObjectStore
specifies URL of OS to store stream to.Recorded streams can be played back using http://broadcaster:8935/recordings/manifestID/index.m3u8 URL.
How did you test each of these updates (required)
Units tests
Does this pull request close any open issues?
Fixes #1609
Fixes #1572
Checklist:
./test.sh
pass