"belltown" wrote:
Here's an example of how to do it: viewtopic.php?p=159066&sid=c468fce74f1bc0d8057769c51a03533a#p159384
Another thing to try: Do you get the same result from roVideoScreen as you do from roVideoPlayer?
Thank you for your attention and detailed answers/ideas, @belltown!
Yes, i was pretty much doing what RokuKevin suggested in that post - with one difference, i was on
roVideoPlayer and not
roVideoScreen. For the sake of testing, i changed the code, this time with
roVideoScreen - both
with and without the
.addHeader("Authorization", ...) i see
exactly the same in debug log:
------ Running ------
roVideoScreenEvent 11, 0: HTTP status 401
roVideoScreenEvent 11, 0: Unspecified or invalid track path/url.
roVideoScreenEvent 9,-5: {"MediaFormat":{}}
roVideoScreenEvent 1, 0:
roVideoScreenEvent 9,-5: The format is not supported or the media is corrupt.{"MeasuredBitrate":1990,"StreamBitrate":0,"Url":"http://192.168.1.23/h264.raw"}
Now if i completely drop my pants (disable server-side User Access Control), i get this:
------ Running ------
roVideoScreenEvent 20, 0: Stream started.{"IsUnderrun":false,"MeasuredBitrate":1990,"StreamBitrate":0,"Url":"http://192.168.1.23/h264.raw"}
roVideoScreenEvent 11, 0: Content contains no playable tracks.
roVideoScreenEvent 9,-5: {"MediaFormat":{}}
roVideoScreenEvent 1, 0:
Tests kinda, sorta seem to hint setting "Authorization" header - while working with roUrlTransfer - does not seem to work anymore with roVideoPlayer/roVideoScreen.
I realize i am in a screwy place because (a) i cannot get clean log due to 2nd issue, the particular stream format seems unsupported (or do i have to add some magic param <> "mp4"?) and (b) server-side is a streaming appliance i cannot tap into (network sniffing is not completely out of the question but much frown on my side).
PS. ditto with
roVideoPlayer: regardless of "Authorization" header, i get exactly the same log with
roVideoPlayerEvent 11, 0: HTTP status 401
In contrast, when pant-less, i see logged
roVideoPlayerEvent 20, 0: Stream started. {"IsUnderrun":false, "MeasuredBitrate":1990, "StreamBitrate":0, "Url":"http://192.168.1.23/h264.raw"}