API: Remove HTTP-RAW-API capability, RAW API removed. #2653
Labels
API
HTTP-API, HTTP-Callback, etc.
Enhancement
Improvement or enhancement.
TransByAI
Translated by AI/GPT.
Milestone
RAW API implementation is about how to modify the configuration and reload it. The most natural way is to write a backend server using Go or Node.js. After modifying the configuration file, you can send a signal to SRS or call the reload API. Moreover, how to modify the configuration and when to modify it are strongly related to the business, and they are part of the business system. Therefore, they were removed in version 4.0.
RAW API is removed because it implements the config file modify and reload, which should do by user server.
HTTP RAW API was introduced in version 3.0 as an experimental capability.
It mainly provides the ability to modify the system's API, primarily through modifying configuration files and then reloading them to take effect. After providing this capability, there have been continuous bug reports related to it, so it has been decided to remove this experimental capability in version 4.0.
The main reason for its numerous issues is that the business system, which should have been implemented by the users, was implemented within the RAW API. For example, on-demand recording only requires recording certain streams.
on_hls
callback can be used to decide which streams should be recorded.dvr_apply
, recording can be enabled for certain streams.Using the RAW API can trigger a significant number of boundary conditions, where streams may start and stop pushing, and the recording rules can be highly diversified. These are typical considerations that recording services need to take into account, as each recording may have different requirements, rather than being suitable for implementation in a generic open-source solution.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: