ossrs / srs

SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
24.74k stars 5.28k forks source link

The "param" parameter is repeated in the http callback #3930

Open 757957414 opened 5 months ago

757957414 commented 5 months ago

Describe the bug The parameters carried by the "on_publish" and "on_unpublish" events of the HTTP callback will be repeated when the callback is triggered.

Version docker ossrs/srs:5 SRS/5.0.205

To Reproduce 1.docker run srs image

  1. Adjust the SRS configuration settings (using the rtmp2rtc.conf file as a reference). image

3.obs starts broadcasting image

4.Request parameter content is duplicated image

Expected behavior Content appears only once

TRANS_BY_GPT4

winlinvip commented 5 months ago

It appears that improvements are necessary. URLs have always carried historical baggage, with various compatibility measures. It would be worthwhile to consider making changes in the future.

TRANS_BY_GPT4

winlinvip commented 3 months ago

Welcome to patch this.