Skip to content

[notice of availability] Node.js daemon-only bridge #326

@warren-bank

Description

@warren-bank

Hi Matt, @hensm

First off.. great work! I only installed this extension a few days ago, and it works so well on the few 1st-gen Chromecasts that I have.. laying around, gathering dust. Truly, I actually like it's UX better than in Chrome.

Funny to think that these old devices work great with Hulu, whereas my Android boxes cannot.. because the Hulu app's minSDK requires a newer version of Android.

Personally, when I'm using Windows OS:

  1. I refuse to use anything newer than Win7
  2. I only use PortableApps.. never install anything globally or touch the Windows registry

Admittedly, that's quirky..
in any case, to satisfy my own preferences..
I spent a few hours and made a fork of your bridge that doesn't use native messaging,
and consequently.. can run the WebSocket server in Node.js

It works great, so I figured that I'd share..
I'd ask that you consider offering the same as an official version,
but in the meanwhile.. I've published my fork to npm.

As a technical note, the only major change that I made to the code was to replace your dependency on mdns with node-dns-sd.. and wrote a little wrapper library to emulate the same events. This removes a ton of headache w/ the installation requirements of the former.

Also, I should mention.. that (aside from my own contributions) the code is generated by tsc and formatted for readability by prettier.. which is quick and easy, but doesn't produce the most elegant-to-read code. I didn't bother to rewrite it.. "if it ain't broke".. and such.


OK, announcement done.
Now, I'd like to quickly ask a question..

Regarding the different UX between fx_cast and native Chrome..

  1. I notice that the cast session doesn't stop when Firefox windows are closed, or the browser is exited
    • which is a huge improvement
  2. my question pertains to the inability to start a cast session from insecure web pages (ie: http: rather than https:)
    • this used to work in Chrome, then Chrome decided to disallow this functionality
    • I notice that this functionality is also disallowed in fx_cast
      • is there any way to make this work?
      • update: I spoke too soon, I just tested this functionality again.. now that I'm more familiar with fx_cast.. and can confirm that it can start (and manage) a cast session from insecure (ie: http:) pages.. excellent!
      • update: more specifically..
        HTML5 video player https: http:
        Video.js
        Clappr
        THEOplayer
        VisualOn

Thanks again.. 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions