Comments (7)
MSE will work anyway. There is no reason to use it with more priority than WebRTC.
https://github.com/AlexxIT/go2rtc/tree/master/api#javascript-api
I don't see the point of setting a manual priority.
Some tablets can play only few video on same page.
WebRTC/custom_components/webrtc/www/video-rtc.js
Lines 564 to 576 in 309b6d5
from webrtc.
Yeah @AlexxIT, it's not about how many videos a tablet can play. It's about the black blink that is doing, so that's why I cannot just set RTC to avoid that one second black screen (RTC is working on most of the scenarios, except when I am using my phone hotspot or in some WiFis).
The actual behavior (if RTC is working) is: connects using MSE, and then switches to RTC.
If RTC doesn't work, it just connects using MSE which is ok
from webrtc.
I don't understand. Is black screen constant or it shows during few seconds?
from webrtc.
@AlexxIT I recorded a video, basically it's the black blinking when the stream switches from MSE to RTC (at the beginning), I've refreshed the page a few times, sometimes it's very fast that you don't notice, and sometimes is really bad, specially if you have like 3 cameras on the same Home Assistant page, even for my Pixel 7 Pro.
Video: https://drive.google.com/file/d/1oHV-gwe64aTICj3iMsjsAIaKZOAFaYte/view?usp=sharing
My card config for that example was the default, just adding camera name.
from webrtc.
You can enable only webrtc mode without switching
from webrtc.
yeah, I've tried that, the issue of doing that, RTC is not working in some scenarios (ports forwarded correctly), such as using mobile hotspot
, some wifi networks using double nat
, etc, that's why I need both set.
from webrtc.
Well. Blinking while technology change is a "normal" behaviour...
from webrtc.
Related Issues (20)
- HA Core 2024.4.0 - WebRTC-Camera lovelace card can't play video from externally (works normally within same wifi) HOT 2
- [Feature Request] Two-way push to talk with secondary stream HOT 4
- Removed from HACS but still loads in browser? HOT 1
- Image in webrtc card is cropped HOT 1
- Would like to have an picture-glance entity list instead of shortcuts
- Card Size in Panel View too big
- Requests HOT 1
- Request: color change and state record shortcut HOT 3
- Deprecation since 2024.5.0b0 HOT 4
- Question / Request: MultiStreamsMixer HOT 1
- how to hide 2 or more shortcuts ? HOT 4
- [Question] [Home assistant] Disable player control? Go2rtc frame.jpg as poster? HOT 8
- webrtc-camera custom card and api HOT 1
- Custom element doesn't exist: webrtc-camera HOT 2
- H264 MSE Stream freezes on Chrome HOT 1
- Cannot connect to host frigate:1984
- custom:webrtc-camera not available in Dashboards? HOT 1
- Feature request - Auto restart/refresh feed / note dropped feeds HOT 1
- Feature Request - fullscrean switch to another stream HOT 2
- Need feature to set aspect ratio for poster
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.