-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
DVR: Obtain complex recording rules for a specific stream from the API, with dvr_apply being the fixed rule. #2181
Comments
I hope the DVR path can support online OSS storage.
|
Regarding supporting cloud storage, refer to #1193.
|
Previously, it was accomplished through configuring dvr_apply, but this method cannot handle complex matching and is only suitable for fixed rule matching, which is prone to problems #2282. For complex matching, such as wildcard or dynamic adjustment needs, it is better to call the HTTP API to determine whether to record a certain stream, for example:
By requesting this API, it returns whether to record this stream and some necessary configurations. This way, you don't have to rely on SRS to perform complex recording logic.
|
Hello, may I ask how to dynamically configure 4.0, adjust the recording time period? After calling the raw API and getting a return code of 0, there is no actual effect.
|
4.0 no longer supports RAW API recording, right?
|
Essentially, what everyone wants is dynamic recording, where they can decide whether or not to record the stream and how to do it based on their own business needs. The RAW API can only achieve very limited capabilities and has many issues, which is why this solution has been removed. The alternative solution is a dynamic Forward-like approach, which can be referenced at: #1342 Dynamic Forward support has been quickly implemented and dynamic DVR will be done in the future.
|
Dup to #1577 Duplicate Issue, I have closed this one.
|
Description
v3.0.155
(Note: Please provide the actual logs for accurate translation)
Config for SRS:
Please provide the specific configuration for SRS.
Expected Behavior
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: