Comments (6)
I would have guessed that this isn't explicitly configurable, but that the Android devices are just waiting for a change in playback status before showing a notification. Meaning there's nothing special to do to support this.
What are you casting that doesn't trigger a notification?
I haven't got an Android device to test this on, so I'm not sure how helpful I can be. I can try a VM, I suppose.
from fx_cast.
I wouldn't think they are waiting for a change in playback status. If you get rid of the notification, it comes back after some time. This leads me to conclusion that it has something to do with packets. And since I know when devices are casting, they send out a packet occasionally that keeps the network alive it would make sense if the packet that keeps the network alive also has the info shown in the notification (it shows what app or website is casting).
To answer your question, I was casting from vrv.co . It shows the notification on it's mobile app and when casting from a chromium-based browser. That notification pops up with all android apps that cast that I have tried.
from fx_cast.
The Chromecast advertises itself to other devices via mDNS. The playback status and current app (or status line?) are contained within a TXT record (st, rs). Waiting for a change in playback status is just waiting for an mDNS update.
In any case, if the same app is exhibiting different behaviour on Chrome than Firefox, that’s a bug, so I’ll take a look.
from fx_cast.
Oh okay. That makes sense.
I will try it with other websites too to see if the same issue is occurring elsewhere and report back later. Just to make sure it isn't just VRV doing that.
from fx_cast.
Notification does not pop up when casting either YouTube or Netflix as well.
from fx_cast.
Did some testing on an Android phone. Haven't been able to get cast notifications to show up under any circumstance, even for Chrome-initiated cast sessions. No luck with the VM, either. No configuration issues as far as I can tell.
I think I'm probably wrong about how Android devices pick up the playback state, since the device broadcasted device state state is identical for fx_cast and Chrome. Still doesn't really make much sense, I have no idea.
You could try with some other desktop applications with cast support (VLC, WebTorrent, etc...) and see what happens there. WebTorrent uses the same implementation (node-castv2), I think, so it would be interesting to know if that works. Also, I did find someone reporting the same problem with pychromecast.
I'll leave this issue open, and probably come back to it in the future if I can get way to test this, but nothing I can do right now.
from fx_cast.
Related Issues (20)
- Improve UX for audio-only devices when requesting video cast session
- Support for Roku? HOT 2
- netflix wigging out and crashing HOT 2
- Casting in Mirror Mode does not send audio HOT 1
- Cannot scroll/filter device-selection list HOT 2
- While the extension is active, I can't connect to a Twitch account HOT 6
- Add the ability to simply cast the entire tab HOT 2
- "there is a problem with the bridge" HOT 9
- Default action policy is not handled correctly
- Improve bridge error handling
- Implement chrome.cast.Session#queueLoad
- I have a Chromecast device, and casting works fine from Chrome, but not from Firefox and fx_cast. HOT 8
- Updated translations for 'ru': Russian (Русский) HOT 1
- Issue with Firefox 118.0? HOT 17
- Unable to cast from Jellyfin web client
- Won't install on Asahi Linux HOT 3
- No devices found + weird error logs HOT 1
- Error with the bridge HOT 3
- error with the bridge on MBP 14" early 2023 m2 pro chip
- Whitelist menus don't handle IP address hosts properly
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 fx_cast.