I'm using the Scene Graph Video node and am testing out the mute functionality. I've tested it out on three different devices:
- Streaming Stick (3500)
- Streaming Stick (3600x)
- Premiere+ (4630)
It works for the 4630 but not the 3500 or 3600x. Does anyone know why that is? I've used the sample code from this page (
https://sdkdocs.roku.com/display/sdkdoc/Video)
<Video
id="musicvideos"
width="1280"
height="720"
translation="[0,0]"
/>
<script type="text/brightscript" >
<![CDATA[
sub init()
m.top.setFocus(true)
setVideo()
end sub
function setVideo() as void
videoContent = createObject("RoSGNode", "ContentNode")
videoContent.url = "https://roku.s.cpl.delvenetworks.com/media/59021fabe3b645968e382ac726cd6c7b/60b4a471ffb74809beb2f7d5a15b3193/roku_ep_111_segment_1_final-cc_mix_033015-a7ec8a288c4bcec001c118181c668de321108861.m3u8"
videoContent.title = "Test Video"
videoContent.streamformat = "hls"
m.video = m.top.findNode("musicvideos")
m.video.content = videoContent
m.video.control = "play"
'Try muting during playback
m.video.mute = true
end function
]]>
</script>
My assumption is that it's dependent on the hardware and specifically the headphone jack on the remote. Neither the 3500 or 3600x have the headphone jack but the 4630 does. Thanks for taking a look and I'd appreciate any insight anyone has.
Thanks!