Comments (7)
from webrtc-video-broadcast.
Sorry for the late response. I'm not quite sure what your problem here is because the application shows the camera of the device that is accessing the /broadcast.html
endpoint. That means that no matter if you are hosting the application on a Raspberry Pi the application, will stream your windows camera if you access the /broadcast.html
endpoint from your windows device.
Hopefully, this helps you solve your problem. If not, let me know and I will take a closer look.
from webrtc-video-broadcast.
thanks for responding. I have a problem with navigator.mediaDevices ( is undefined) Have to figure out how to start drivers for camera and microphone on RPi.
from webrtc-video-broadcast.
when I run webrtc example from uv4l site https://www.linux-projects.org/uv4l/tutorials/streaming-server/ my camera and microphone work, but I don't know how to start their drivers outside that example
from webrtc-video-broadcast.
Yes, that is because you can only access things like mediaDevices
on localhost when using HTTP. If you want to use them on other domains than localhost, you will need to use HTTPS instead.
Here are some additional readings if you are interested:
- https://blog.mozilla.org/webrtc/camera-microphone-require-https-in-firefox-68/
- https://w3c.github.io/webappsec-secure-contexts/#localhost
from webrtc-video-broadcast.
Thanks again.
Your code work for me on my local network using both http and https.
I use one computer as broadcaster and others including Macbook and iPhone as clients
and all works nice.
On raspberry pi with https I have a funny effect after running https://192.168.0.83:4000/broadcast I have a stream from my PC, not from Raspberry Pi. My guess is that here is something in the broadcast.js code causing the use of IP address of localhost (my desktop PC) instead of IP address of RPi (192.168.0.83).
Can you kindly have a look and help to fix it?
I renamed here server_new.js into server_new.txt as .js is not accepted to be attached
root@raspberrypi:~# cd /www/WebRTC-Video-Broadcast
root@raspberrypi:/www/WebRTC-Video-Broadcast# node server_new.js
Server IP is: 192.168.0.83
Express server listening on: 192.168.0.83 : 4000
from webrtc-video-broadcast.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
from webrtc-video-broadcast.
Related Issues (20)
- visitor counter HOT 1
- error running localhost:4000/broadcast HOT 3
- Audio problem HOT 7
- Viewer only works sometimes HOT 5
- how to view multiple brodcast on screen HOT 1
- 1toN broadcast HOT 2
- Support for multiple Broadcast? HOT 1
- not working when install on server HOT 6
- Only a still shot remotely HOT 2
- Doesn't work on my server HOT 2
- Audio and Video is not enabling HOT 2
- Action Required: Fix Renovate Configuration
- how many users can view the stream please mention the maximum limit HOT 1
- Dependency Dashboard HOT 3
- video orientation and resolution HOT 3
- Capturestream on instead of camera HOT 3
- Broadcast video content freezes. Needs reload page to work again HOT 3
- socket.io path should point to node modules? HOT 1
- upgrade to native websockets HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc-video-broadcast.