EnTerr
11 years agoRoku Guru
HTTP Authentication in roVideoPlayer - how?
In short, my question is how to do http authentication for a video clip that is to play in roVideoPlayer.
BASIC authentication in this case (it's given as-is, i cannot change it, so not looking forward to discuss dis-merits of open text auth).
Seems it should be a textbook example but i cannot find it in teh RTFM. How is it done?
Can i use URL in the form "http://user:password@server/path"?
I tried that in CustomVideoPlayer example and it slightly changed the error log but not sure is it because it cannot parse such URL or because of error down the road. This is how it looks when invoked w/o user:password@ and gets kicked a 401 by the server:
BASIC authentication in this case (it's given as-is, i cannot change it, so not looking forward to discuss dis-merits of open text auth).
Seems it should be a textbook example but i cannot find it in teh RTFM. How is it done?
Can i use URL in the form "http://user:password@server/path"?
I tried that in CustomVideoPlayer example and it slightly changed the error log but not sure is it because it cannot parse such URL or because of error down the road. This is how it looks when invoked w/o user:password@ and gets kicked a 401 by the server:
------ Running ------And this is with the prefix:
11, 0: startup progress
11, 66: startup progress
11, 132: startup progress
11, 0: HTTP status 401
11, 198: startup progress
11, 0: Unspecified or invalid track path/url.
9,-5:
MediaFormat: <Component: roAssociativeArray>
16, 0: Playback completed.
11, 0: end of playlist
9,-5: The format is not supported or the media is corrupt.
16, 0: Playback completed.
11, 0: end of playlist
------ Running ------The lack of 401 seems to hint it passed but did it really?
11, 0: startup progress
11, 66: startup progress
11, 132: startup progress
11, 198: startup progress
11, 0: Unspecified or invalid track path/url.
9,-5:
MediaFormat: <Component: roAssociativeArray>
16, 0: Playback completed.
11, 0: end of playlist
9,-5: The format is not supported or the media is corrupt.
16, 0: Playback completed.
11, 0: end of playlist