-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streaming Media #9
Comments
Here we go: from
So each camera feed lives at
It might be worth seeing how easy it would be to use these. |
Camera names:
|
I dug into this earlier in the summer, and I found the same thing, but VLC wouldn't open them for me. (and if VLC doesn't open it, I assume that nothing can!) Given that, feel like coding something basic up? |
From only a minute of research, I have not found anything that can stream the |
Hmm. Lemme try some things. |
I'm going to try https://github.com/react-native-community/react-native-video first. It's in my history as something I've visited before. |
Check out the issues related to the keyword Otherwise, see this particular thread. |
yeah, it's just not doing much of anything for me at the moment. thanks for the links! |
So. Current status:
Then I remembered that you can put custom html into the web view, so I tried building a little html snippet to load the video: <video autoplay muted>
<source src="$url/playlist.m3u8" type="application/x-mpegURL">
</video> Which worked in desktop Safari! And … partially worked in the app. So that's current status. |
Nice work! Webviews seem to handle it well (from what I can see) |
Or we could load a static thumbnail of each video from the feed and show that in the list. |
It's bedtime for me now. 😴 |
Is it possible to display them all on this screen, full width and normal height, and then allow rotation to put it in full screen? Or tapping? |
Maybe. I was tired of fighting the layout system 😂 |
I recognize we are getting closer to having these display in a Webview. If we do ever decide to render these another way, here are a couple possibilities. |
With our current implementation of separate webviews, one can play the stream multiple times if they pinch out of a stream instead of hitting the "Done" button. That's not entirely ideal, so we should most likely move forward with passing the stream url onwards to a separate view... and be sure that the "Done" button on the stream does not prevent us from opening the view again. Also, rotation only works in the simulator but not on the actual device. I am now testing on iOS 10. See #123 |
Another thought for Streaming media is the potential to provide access (with rss/json) to the events via the streams up on multimedia |
That's a good plan, something for another version. Maybe make an issue to track it? |
oops |
Sure. That child story now lives at #127. |
Closing this one, see #137 |
It is, but the webcams at least are also available as a raw MP4 stream, IIRC. I'll look around for the URL again.
This is being developed in the streaming-media branch.
The text was updated successfully, but these errors were encountered: