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: 
toneymathew
Reel Rookie

timedmetadata

I am working on a video node, which has dynamic ad insertion. I am observing the timedmetadata for its events when ads are being inserted. But while the ads are playing I don't find any metadata information.

video.observeFieldScoped("timedMetaData", "onTimedMetaData")

What should i do to get the ads information in the timedMetaData field ?

 

 

0 Kudos
2 REPLIES 2
aBlaze
Channel Surfer

Re: timedmetadata

Hi,

Did You set "timedMetaDataSelectionKey" field of video node?

For obtaining metadata You have to set timed metadata selection keys, as follows: 

SGVideoNode.timedMetaDataSelectionKeys = ["*"]

Setting this array ["*"]  should select all timed metadata.

For more reading visit this documentation site  and search for "timedMetaDataSelectionKeys ", "timedMetaData " fields.

Although, i think that timed metadata which does not contain start time are not populated by SG video node. But this is my assumption for now, i need to take a deeper look at timedMetaData in roku and documentation.

 

0 Kudos
gheri1
Newbie

MPD callback event with timedMetadata

Hello Team,
I am thinking to check if its possible to do HTTP GET call on particular presentation time.
Can you help me with this ?? If its possible witrh timedMetadata and Reply with some example
Something you can refer for details https://github.com/Dash-Industry-Forum/dash.js/issues/2871

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.