greenscreen icon indicating copy to clipboard operation
greenscreen copied to clipboard

Audio Support?

Open theaccordance opened this issue 11 years ago • 6 comments

Curious, is audio currently supported with Greenscreen? I set up the nyan test channel and noticed the audio isn't coming through.

theaccordance avatar Jan 05 '15 19:01 theaccordance

Unfortunately, audio isn't supported!

On Mon, Jan 5, 2015 at 2:32 PM, Joe Mainwaring [email protected] wrote:

Curious, is audio currently supported with Greenscreen? I set up the nyan test channel and noticed the audio isn't coming through.

— Reply to this email directly or view it on GitHub https://github.com/groupon/greenscreen/issues/25.

ehzhang avatar Jan 05 '15 19:01 ehzhang

That is unfortunate! Do you know if it's a technical limitation, or simply lack of support for the feature?

theaccordance avatar Jan 05 '15 19:01 theaccordance

This seems to be a technical limitation -

Greenscreen uses a custom receiver, explained in the Google Chromecast js API here: https://developers.google.com/cast/docs/custom_receiver

To keep pages dynamic, we use an iframe in each receiver. Because of browser security concerns, I don't believe that we would be able to trigger media events in the custom receiver using media from the content within the iframe. :(

On Mon, Jan 5, 2015 at 2:51 PM, Joe Mainwaring [email protected] wrote:

That is unfortunate! Do you know if it's a technical limitation, or simply lack of support for the feature?

— Reply to this email directly or view it on GitHub https://github.com/groupon/greenscreen/issues/25#issuecomment-68765696.

ehzhang avatar Jan 05 '15 20:01 ehzhang

Audio is working fine on my end. Just use a audio or even video tag. Audio comes out fine through the tv which is then routed to speakers

doubleaa93 avatar Feb 05 '15 01:02 doubleaa93

@doubleaa93, are you rendering a publicly available URL? If so, can you share so I can test?

theaccordance avatar Feb 18 '15 17:02 theaccordance

@theaccordance , Here is a jsfiddle with a audio tag. Point one of your channels to it and test if sound comes out fine. https://jsfiddle.net/6uxc2cpa/embedded/result/ It just uses html5 audio tags

doubleaa93 avatar Feb 18 '15 18:02 doubleaa93