Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sudo97
Visitor

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 2
Yuriy_OM
Visitor

Re: Video and Audio Format

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

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.