One way to avoid the totally white screen is to use your own web page as a mediator as follows:
document.getElementById("header").innerHTML ="You can close this page";
window.location = "your_stream_URL_here";
setTimeout(window.close,2000); // seems to work, but not tested troughout
It is not perfect solution, but UX wise it is better than just to have the empty screen.
Probably you want to pass the stream as a parameter to your site, but the logic stays the same.