ossrs / srs

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

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

Open 757957414 opened 10 months ago

757957414 commented 10 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 10 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 9 months ago

Welcome to patch this.

accestfromim commented 1 month ago

I'll working on this, thanks for providing this good-first-issue as a start point, I'll try to open a pr soon