acreskey
8 years agoVisitor
RAF.setAdUrl with package file
Hi,
Trying to set RAF.setAdUrl() with a local file (VMAP) but it's crashing inside RAF.
i.e.
This is what I'm doing:
Note that the test of ReadAsciiFile() succeeds and outputs the file correctly.
The captured VMAP had been read processed by RAF previously, when retrieved via HTTP.
Any ideas?
Trying to set RAF.setAdUrl() with a local file (VMAP) but it's crashing inside RAF.
i.e.
#5 Function roku_ads_parser_parse(xmldata_ As String, adserver_ As String) As Object
file/line: roku_ads_lib:/Roku_Ads_VAST_Parser.brs(190)
This is what I'm doing:
Note that the test of ReadAsciiFile() succeeds and outputs the file correctly.
file = "pkg:/config/ads.xml"
' test: succeeds
adXML = ReadAsciiFile(file)
? adXML
' crashes RAF
adInterface.setAdUrl(file)
The captured VMAP had been read processed by RAF previously, when retrieved via HTTP.
Any ideas?