KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm getting an mjpeg stream via http and viewing it using the <img> tag. Pretty standard and no problem there, everything is streaming correctly. However, along with the encoded jpg data there's a UTC timestamp in the http response that I'd like to access. Basically, I'd like to be able to display the matching time with each frame. Here's the response I'm working with for each frame that comes through: Content-Type: image/jpeg Content-Length: 60189 Time-Stamp: 51961243969 UTC-Time: 1349439599864 Flags: 2097153 PlayID: 1 Camera-Type: Halocam IP Connection: Close [encoded jpg data] --myboundary Currently the <img> tag is taking that stream and interpreting the jpgs directly. Is there anyway to intercept, interpret or separate the UTC-Time value via javascript so I could display it on the page? I don't control the http response, but if a solution were available via some change there, I could talk to the person who does control it.
Tags (comma-separated)
Save Edits
Cancel