RadioConsole2 icon indicating copy to clipboard operation
RadioConsole2 copied to clipboard

Add a web player resource with a customizable URL for audio streaming.

Open DevRanger opened this issue 10 months ago • 5 comments

Add a new console resource that supports stream URLs as receive-only (RX) resources, using the same UI as the existing radio resources.

DevRanger avatar Feb 06 '25 03:02 DevRanger

To make this easier, I might create a separate small program (rc2-stream or similar name) that can handle multiple web streams as individual virtual channels (similar to how rc2-dvm works).

Adding all the channel activity detection & connection logic to the console frontend would be a much harder endeavor.

W3AXL avatar Mar 22 '25 04:03 W3AXL

Sorry for the lag on this,

A separate app would kinda be a pain IMO, it'd be cool to just use the current radio resource UI and a toggle to play the stream. No need for RX indicators or anything like that,

DevRanger avatar Apr 14 '25 02:04 DevRanger

@DevRanger I've already gotten a headstart on this but I built it within the rc2-console itself, it does work well there. I think in some cases it's nice to just have the console do they heavy lifting without having to run a demon if not needed. I do need to do quite a bit of dis-entangling of my changes before I can get it in to a proper PR, but It's doable and does work. That being said though, I may just rework it into something like rc2-stream like @W3AXL mentioned

Image

djshadowxm82 avatar Oct 08 '25 14:10 djshadowxm82

The one issue I have with doing everything console-side is the additional CPU overhead for doing the sound detection/auto activity processing. Of course, it's entirely possible that's a non-issue, but CPU profiling of the console will be necessary to make sure we're not adding a ton of overhead.

I agree from an implementation standpoint keeping it in javascript does make things easy.

W3AXL avatar Oct 08 '25 14:10 W3AXL

I will do some profiling once I get some disentanglement done.

djshadowxm82 avatar Oct 08 '25 15:10 djshadowxm82