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
11.64k stars 1.47k forks source link

After whep index.html introduction, in-line username:password for read no longer works #1916

Closed saket424 closed 1 year ago

saket424 commented 1 year ago

Which version are you using?

v0.23.4

Which operating system are you using?

Linux amd64 Docker

Describe the issue

whep not working when username:password specified inline with URL

Describe how to replicate the issue

start the server publish with rtsp read with webrtc over whep using useername:pasword

Did you attach the server logs?

(index):112 error: TypeError: Failed to execute 'fetch' on 'Window': Request cannot be constructed from a URL that includes credentials: whep

Did you attach a network dump?

no

Playing of this url in the browser https://username:password@example.io:8889/endpoint1 results in the following error

(index):112 error: TypeError: Failed to execute 'fetch' on 'Window': Request cannot be constructed from a URL that includes credentials: whep

Before whep, this webrtc scenario where url contains username:password worked fine in google chrome

github-actions[bot] commented 1 year ago

This issue is being automatically closed because it does not follow the issue template. Please reopen the issue and make sure to include all sections of the template.

github-actions[bot] commented 9 months ago

This issue is being locked automatically because it has been closed for more than 6 months. Please open a new issue in case you encounter a similar problem.