Hey Roku Community!
As I say in the title, I can’t do that the video node uses the cookies coming from an mpd manifest header response. I’m already calling the video node method enableCookies() in different moments, and that’s not working.
Based on some findings, I was able to follow a flow where:
-
do a GET request to the manifest URL
-
get response header to read
set-cookiesvalue -
build cookie to be set by using addCookies() method
And doing this flow, something weird is happening. it doesn’t work the first time I try to start playback (calling video.control = “start”), and the cookies that were added get cleared. But if I set cookies again (step 3) and start playback (video.control = “start”), it works!
in my opinion, it must be enough to get cookies added in the video node’s HTTP agent with just previously call enableCookies(). Is it possible that there are something else that I should try?
Thanks!
