bp2008 / ui3

A powerful, modern HTML5 web interface for Blue Iris.
GNU Lesser General Public License v3.0
120 stars 18 forks source link

Feature Request: Chromecast support #37

Closed ajhodges closed 3 years ago

ajhodges commented 4 years ago

Chromecast support is the only reason why I use the mobile app over ui3 anymore; it's extremely useful to be able to cast a video feed to one of my devices (Google Home display, or smart TV). Not sure how difficult this would be or if this is exposed in the BI API that you hook into.

bp2008 commented 4 years ago

What about Chrome's built-in Chromecasting support?

ajhodges commented 4 years ago

Certainly an option, but would be less performant since the stream would be coming from the device running the browser (potentially adding another wifi hop), rather than the BI server itself. I've had mixed results using Chrome's built-in support. I also switched to Firefox a while back.

bp2008 commented 4 years ago

I'll ask the Blue Iris developer about it, but I doubt the BI server plays any part in chromecasting from mobile apps.

ajhodges commented 4 years ago

Sure, I'm actually unsure of the mechanics of it. Maybe the mobile app does some sort of discovery and just sends a BI stream link. I understand if this is too complicated/out of scope, just would be nice :)

bp2008 commented 4 years ago

All I heard from Blue Iris support on this matter was that he'd ask the Android developer how Chromecasting was done in that app. That was months ago and there was no follow-up.

I've never Chromecasted from the Blue Iris mobile app so I'm not really sure what its capabilities and limitations are, but it is very likely that the app re-encodes video very similarly to how Chrome does anyway. Because I'm pretty sure the Blue Iris developer would have said so if Blue Iris was capable of providing Chromecast-compatible video streams.

If anything, the quality from casting out of the native Android app is probably worse than you'd get from casting through Chrome + UI3. Last I checked, the mobile apps still only support legacy server-defined streaming profiles which by default are all 720p @ 512 Kbps.