Question / Help BrowserSource cannot load web sites hosted on localhost

canol

New Member
Hello, I am trying to show a web site hosted on my localhost via BrowserSource. But OBS does not load it even though the web site works fine on my browsers.

The address is: http://127.0.0.1:8888/

I tried different addresses and ports but OBS just does not load it although all of them work fine on my browser.

What might be the problem? The logs do not show any error. And BrowserSource successfully shows any web site hosted on internet.
 

canol

New Member
Ok I found the problem. After adding a "content-type" header with value "text/html" to my server's response, OBS was loading the page as well. Looks like the browser I use is treating the pages without content type as html by default so I didn't see a problem when I tried to load the page via browser.
 
Top