You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srs/trunk
Winlin 7cf8c48157 WHIP: Improve HTTP DELETE for notifying server unpublish event (#3539)
This PR improves the functionality of the HTTP DELETE method used by WHIP to notify the server when the client stops publishing. The URL is parsed from the location header returned by SRS, and the URL is refined with the addition of the action=delete parameter to ensure more accurate identification of the DELETE request.

Furthermore, SRS will disconnect and close the session, enabling the client to publish the stream again quickly and easily. This update eliminates the approximately 30-second waiting period previously required for republishing the stream after an unpublish event.

Overall, this update provides a more effective and efficient method for notifying the server about unpublish events and will enhance the workflow experience for users of the WHIP platform.

-------

Co-authored-by: Haibo Chen <495810242@qq.com>
Co-authored-by: ChenGH <chengh_math@126.com>
2 years ago
..
3rdparty API: Support HTTP basic authentication for API. v6.0.4, v5.0.152 (#3458) 2 years ago
auto WebRTC: Support configure CANDIDATE by env (#3470) 2 years ago
conf Support composited bridges for 1:N protocols converting. v6.0.41 (#3392) 2 years ago
doc RTMP: Support enhanced RTMP specification for HEVC. v6.0.42 (#3495) 2 years ago
etc/init.d Squash: Fix bugs 3 years ago
gdb
ide/srs_clion Merge branch v5.0.103 into develop 2 years ago
modules Moduels: Refine the description 4 years ago
packaging Windows: Refine cygwin pipeline (#3260) 2 years ago
research RTMP: Support enhanced RTMP specification for HEVC. v6.0.42 (#3495) 2 years ago
scripts Package script support extra options. v5.0.102 2 years ago
src WHIP: Improve HTTP DELETE for notifying server unpublish event (#3539) 2 years ago
usr/lib/systemd/system Squash: Support RPM. Fix bugs. 3 years ago
.gitignore For #2136: API: Cleanup no active streams for statistics. v5.0.42 3 years ago
AUTHORS.md Add new contributors. 2 years ago
AUTHORS.txt Update AUTHORS 4 years ago
Dockerfile Rename SRS_SRS_LOG_TANK to SRS_LOG_TANK. #3410 2 years ago
Dockerfile.builds Merge branch v5.0.103 into develop 2 years ago
Dockerfile.cov Asan: Refine asan warning message for macOS. 2 years ago
Dockerfile.pkg Merge branch v5.0.103 into develop 2 years ago
Dockerfile.test GB28181: Enable regression test for gb28181. v5.0.122 2 years ago
configure Support composited bridges for 1:N protocols converting. v6.0.41 (#3392) 2 years ago