WebRTC-Video-Broadcast | WebRTC video/audio broadcast | Video Utils library
kandi X-RAY | WebRTC-Video-Broadcast Summary
kandi X-RAY | WebRTC-Video-Broadcast Summary
WebRTC video/audio broadcast
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get audio stream from userdata
- callback to update the options
- called when a stream is received
- Enable audio .
- Returns all available devices .
- Handles error messages
WebRTC-Video-Broadcast Key Features
WebRTC-Video-Broadcast Examples and Code Snippets
Community Discussions
Trending Discussions on WebRTC-Video-Broadcast
QUESTION
Hi there, I am attempting to build a WebRTC client in Android that subscribes to a video feed that is being broadcast using NodeJS and JavaScript.
The broadcaster code can be viewed in its entirety in this lovely article by Gabriel Tanner.
It works beautifully when running it in localhost under the http://localhost:4000/broadcaster.html
in Chrome and then visiting my IP Address from another device on the network. I can see the video and it is near real time.
I have tried this using two different webcam devices, both a built-in and a USB webcam but the Android client does not work even though the JavaScript Broadcaster and Client works fine.
The task at handAfter following the tutorial and getting the example to work I decided to try and implement my own Android application for which the entire source code can be viewed right here on my GitHub.
I have followed various tutorials around the place and the issue always stems from attempting to set the remote description which is done with the following bit of code:
...ANSWER
Answered 2021-Nov-16 at 04:29The error message was triggered due to the offer containing H264 codecs whilst the Android Client was not anticipating H264 and was not setup to encode and/or decode this particular hardware encoded stream.
The fix was to ensure that the connection factory was setup as such:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install WebRTC-Video-Broadcast
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page