bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.71k stars 1.4k forks source link

Support using regexp variables to change the scheme of an URL #3343

Open aler9 opened 1 month ago

aler9 commented 1 month ago

Describe the feature

Discussed in #3012 Discussed in #3283

Regexp variables can be currently used to change the host, credentials, port, path and query of an URL, but they cannot be used to change the scheme of an URL due to a preliminary validity check that is performed on the URL.

This validity check may be moved from initialization to runtime in order to support changing everything in the URL.