-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
implement native recording (#1399) #2255
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2255 +/- ##
==========================================
- Coverage 60.44% 59.99% -0.45%
==========================================
Files 120 126 +6
Lines 13351 14314 +963
==========================================
+ Hits 8070 8588 +518
- Misses 4661 5074 +413
- Partials 620 652 +32
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
0851ca1
to
2bfdc21
Compare
Greetings. A very joyful and significant event. But still, I would like to clarify whether you plan to implement not only fmp4, but also mpegts format, as well as the ability to turn off the audio track, balance recording between mount points (save video files) and the ability to disable recording for some streams? Thank you, you are the best. |
I forgot to ask about the parameter: recordDeleteAfter: 24h How to disable deletion? |
b436384
to
2eef77e
Compare
1fdde23
to
0e10a8c
Compare
Hello @pikachu937,
MPEG-TS support can be added in the future, by me or by anyone else through a PR. I chose to focus on fMP4 because it's browser-compatible (while MPEG-TS is not) and since the next step is developing playback API, i would like this API to return browser-compatible videos.
No. If you want to remove audio, you can create a reader that reads from a path, removes audio and republishes the stream to another path.
No, load balancing can be achieved by using multiple instances of the server, while fauly tolerancy can be achieved by deploying the server inside Kubernetes with a storage plugin like Longhorn or GlusterFS or a hardware solution like a SAN. Nowadays load balancing and fault tolerancy are delegated to the infrastructure (K8s), there's no need to natively implement them.
yes, this will be done. The recording system is centralized in order clean up expired recordings regardless of the fact that a path is running or not.
we can also add this, even though i don't recommend it. |
Hello
it would be very nice to see the implementation of mpegts
I asked about turning off the audio track when saving, and not when broadcasting.
hmm... you propose to outsource this function, but it will work many times faster if implemented (inside the server)
I keep records from 7 to 60 days and I myself regulate when to delete them Will you implement adding work with a database to save metadata on records? |
568f562
to
99573e3
Compare
efc36cb
to
b9c2635
Compare
Fixes #1399
TODO
[ ] support VP8 tracks* [ ] support M-JPEG tracks* [ ] support G722 tracks* [ ] support G711 tracks* [ ] support LPCM tracksUsage
The recording format is fMP4, since it satisfies most requirements:
All parameters are in the configuration file:
Nightly binaries
[link removed]