1. DVR record apply support regex, for usage: please enter
config file -dvr_apply and start regex with /^xxx$/
2. Add custom homepage for player, enter the url
localhost:8080/players/homepage.html to access
3. Add WHEP player, enter the url localhost:8080/players/whep_itp.html
4. Convert Files Format from CRLF to LF (Windows to Linux)
* Known Issues:
1. There is a unsmooth swup between hompage and player page, Swup.js
will be used to fix this issue in the future.
|
||
|---|---|---|
| .. | ||
| launch.json | ||
| README.md | ||
| settings.json | ||
| tasks.json | ||
Debug with VSCode
Support run and debug with VSCode.
SRS
Install the following extensions:
- CMake Tools
- CodeLLDB
- C/C++ Extension Pack
Open the folder like ~/git/srs in VSCode.
Run commmand > CMake: Configure to configure the project.
Note: You can press
Ctrl+R, then typeCMake: Configurethen selectClangas the toolchain.
Note: The
settings.jsonis used to configure the cmake. It will use${workspaceFolder}/trunk/ide/srs_clion/CMakeLists.txtand${workspaceFolder}/trunk/ide/vscode-buildas the source file and build directory.
Click the Run > Run Without Debugging button to start the server.
Note: The
launch.jsonis used for running and debugging. The build will output the binary to${workspaceFolder}/trunk/ide/vscode-build/srs.
Proxy
Install the following extensions:
- Go
Open the folder like ~/git/srs in VSCode.
Select the View > Run and select Launch srs-proxy to start the proxy server.
Click the Run > Run Without Debugging button to start the server.
Note: The
launch.jsonis used for running and debugging.