Hi Faruton!
Great plugin you got there :D
But the only thing I REALLY wanted to do with this plugin was to show my webcam in a circle through <video> with getUserMedia and CSS with border-radius. Its working in my browser but its not showing in OBS.
I'm guessing its because of the need for allowing CLR Browser to use my webcam but I can't make it work with a variety of settings.
That's why I'm here to get some help, is it just not implemented yet (getUserMedia) or there is no way to allow CLR to use my webcam?
Thanks in advance for your answer :D
(sorry for the way my sentences are constructed, I'm french :P)
--no-proxy-server
--no-proxy-server
--enable-media-stream
<script>
var video = document.querySelector("#videoElement");
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia || navigator.oGetUserMedia;
if (navigator.getUserMedia) {
navigator.getUserMedia({video: true}, handleVideo, videoError);
}
function handleVideo(stream) {
video.src = window.URL.createObjectURL(stream);
}
function videoError(e) {
}
</script>
We resolved this issue on IRC. It seems to have been a 64bit issue running Windows 7 (without SP1).@ball2hi I can assure you Desert Kharon works fine as I use it with the new CLR Browser without a problem, so it really does sound like an issue on your end. It looks like you're trying to use the 64-bit version of OBS, are you sure you installed the correct version of the plugin as well as the 64-bit version of the msvcrt dependency? Can you test with the 32-bit version of OBS to see if you get the same behavior?
Thank you! :D
But its not working, well there is a huge improvement: my webcam's led is working, therefor, CLR is using it! But strangely, it doesn't want to show it...
I'm guessing its because I'm using wampServer with localhost url (userGetMedia doesn't work through local .html file path). I tried with a simple Hello text file and it doesn't show it everytime (I have to change the width/height and sometimes it does show, sometimes it doesn't). And the webcam doesn't "activate" when using the Hello text file so its not the newly added command-lines which activate it automatically so it does read the html file containing my webcam...
Kinda strange in my opinion.. I thought it may be because of using localhost.. I have no clue xD
Edit: Its definitely not showing my webcam. I put a text inside the webcam file and its showing the text but not the webcam. I guess it needs more command-lines? There is the script I'm using:
Code:<script> var video = document.querySelector("#videoElement"); navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia || navigator.oGetUserMedia; if (navigator.getUserMedia) { navigator.getUserMedia({video: true}, handleVideo, videoError); } function handleVideo(stream) { video.src = window.URL.createObjectURL(stream); } function videoError(e) { } </script>
I hope it'll help you!
<html>
<head>
<meta charset='utf-8'/>
<script>
navigator.webkitGetUserMedia(
{
video: true
},
function handleVideo(stream)
{
var video = document.querySelector("#videoElement");
video.src = window.URL.createObjectURL(stream);
video.play();
},
function videoError(e) {});
</script>
</head>
<body>
<video id="videoElement"/>
</body>
</html>