Dim source As JavaObject = player.CreateUriSource("https//www....")
Dim r As Reflector
r.Target = source
r.Target = r.GetField("dataSourceFactory")
Dim jo As JavaObject = r.GetField("baseDataSourceFactory")
Dim requestProperties As JavaObject = jo.RunMethod("getDefaultRequestProperties", Null)
requestProperties.RunMethod("set", Array("Authorization", "value"))
player.Prepare(source)
Dim source As JavaObject = player.CreateUriSource("https//www....")
Dim r As Reflector
r.Target = source
r.Target = r.GetField("dataSourceFactory")
Dim jo As JavaObject = r.GetField("baseDataSourceFactory")
Dim requestProperties As JavaObject = jo.RunMethod("getDefaultRequestProperties", Null)
requestProperties.RunMethod("set", Array("Authorization", "value"))
player.Prepare(source)
Dim source As JavaObject = player.CreateUriSource("https//www....")
Dim r As Reflector
r.Target = source
r.Target = r.GetField("dataSourceFactory")
Dim jo As JavaObject = r.GetField("baseDataSourceFactory")
Dim requestProperties As JavaObject = jo.RunMethod("getDefaultRequestProperties", Null)
requestProperties.RunMethod("set", Array("Authorization", "value"))
player.Prepare(source)