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.77k stars 5.28k forks source link

Forward: srs forward CANNOT carry correct vhost #1213

Open wnpllrzodiac opened 5 years ago

wnpllrzodiac commented 5 years ago

rtmp://192.168.1.1/live?vhost=test.com/test1 can correctly pass vhost to edge server(e.g. rtmp://192.168.1.1:11935/livevhost=test.com/test1)

rtmp://192.168.1.1/live/test1?vhost=test.com Failed to pass vhost, I found vhost set to defaultvhost from log

winlinvip commented 3 years ago

Known issue.

winlinvip commented 2 months ago

We should support forwarding with vhost, allowing domain name to be used for business identify.