khat33b
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2016
11:26 PM
HLS streaming sometimes not working
I am running a video using HLS protocol in roVideoScreen. The problem is that sometimes the HLS streaming does not work. The URL is HTTP. What I am unable to understand is why this only happens sometimes. I get the following error:
How do I solve this?
showVideoScreen | msg = ConnectionContext failure | index = 0
status message: ConnectionContext failure
showVideoScreen | msg = Unspecified or invalid track path/url. | index = 0
status message: Unspecified or invalid track path/url.
showVideoScreen | msg = | index = -5
isRequestFailed error text: ; error ID: -5; info: <Component: roAssociativeArray> =
{
MediaFormat: <Component: roAssociativeArray>
}
How do I solve this?
2 REPLIES 2
JohnBasedow
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2016
01:27 AM
Re: HLS streaming sometimes not working
status message: ConnectionContext failure
I believe this message denotes when an HTTP error code was returned.
jedashford
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2016
11:06 AM
Re: HLS streaming sometimes not working
I found these lines help me debug all my hls streams:
Added to video screen object:
Added to video screen object:
syslog = CreateObject("roSystemLog")
syslog.SetMessagePort(screen.GetMessagePort())
syslog.EnableType("http.error")
syslog.EnableType("http.connect")
while true
msg = wait(0, screen.GetMessagePort())
'DEBUG
if type(msg) = "roSystemLogEvent"
print type(msg)
print msg.GetInfo()
print msg.GetData()
print msg.GetMessage()
end if