harlanc / xiu

A simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
https://www.rustxiu.com
MIT License
1.6k stars 168 forks source link

Add authorization header support #134

Closed Ceron257 closed 3 weeks ago

Ceron257 commented 3 weeks ago

This allows WHIP and WHEP clients to transmit the token either in the Authorization header or in the URI. The Authorization header takes precedence and as a fallback the URI token parameter will be used.

harlanc commented 3 weeks ago

thanks.