Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
sudo97
Level 7

Video and Audio Format

Hello, does anyone know why in Scene Graph in Video Node audioFormat and videoFormat are always invalid, for example

sub init()
m.video = m.top.FindNode("video")
content = CreateObject("roSGNode", "ContentNode")
content.url = "http://vevoplaylist-live.hls.adaptive.level3.net/vevo/ch1/06/prog_index.m3u8"
content.streamformat = "hls"
m.video.content = content
m.video.ObserveField("position", "showFormat")
m.video.control = "play"
end sub

sub showFormat()
print m.video.audioFormat
print m.video.videoFormat
end sub



this always prints invalid with any stream I take.
0 Kudos
2 Replies
Yuriy_OM
Level 7

Re: Video and Audio Format

I can confirm this behavior. Would like to know the answer as well!
0 Kudos
nrahnemoon
Level 7

Re: Video and Audio Format

Bump. I'm on the same boat. Both these values are "invalid". I should also note that the video stream doesn't work on the Roku 1 or Roku SE for .ts partitioned .m3u8 streams.
0 Kudos