Create my own GoPro live stream - html

I am wondering if it's possible to stream from latests GoPro cameras throught mobile data.
I already have my own server and my own website, and I want to create a streaming page like this :
Buy a GoPro which handle wifi connection
Share my mobile data connection to my GoPro, and send my live video to my server
Develop a simple mobile app to remote my stream and to send my location data to my server too.
Add a streaming page to my website, with the video and my location + my browsed path from the beginning of my trip, for example on a map with the Google Map API. (I'll obviously do not add my home location)
I can develop on android and on my server, but I am wondering if it's possible to get the GoPro live video by this way. Have you some tips to help me ?
Thanks for your attention.

You could use Termux on Android with FFmpeg to re-stream the feed to your server or use Livestream app on iOS which has native GoPro support.

Related

Vimeo to record videos using a camcorder

Can I use Vimeo in my web application to record a video from my laptop which is connected to a camcorder ? Camcorder exposes JAVA API's which supports START / STOP / Zoom-in and all other camera options.
Vimeo was not created to record a video. It's just a video hosting platform similar to youtube but for professionals.
You need to be doing the recording and then use either their interface or their API to upload a video.
In your case, you could imagine creating an intermediate application that connects to your Camcorder's exposed API, gets the recorded video, and uploads it using Vimeo's API.
Here is an official list of libraries and sdk's that Vimeo proposes to simplify the API usage.

How to asynchronously upload an image from an air app on iOS/Android using as3 and php?

I want to upload an image from an air app running on iOS or Android to a server using php.
I need to have a functional UI while the file is uploaded, and I cannot have the user having to select the image from a gallery as it is already captured using CameraUI.
Ideally I should be able to get ProgressEvents during the upload to update the user on the progress.
When exporting for iOS or Android JPGEncoder is extremely slow.
I changed to using JPEGEncoderOptions instead, and things are working now!

getting videos in google drive (and Microsoft onedrive) to show in a video tag?

I have a website that has a web page with a html5 video-tag, and the user can supply a URL, and it will play in the video-tag.
The webpage uses JavaScript commands that control the video-tag - for instance, it can pause the video, move to a different point in the video, etc.
It works fine with the cloud. Videos stored on Microsoft Azure can be used, for instance (Azure gives you a way to get a URL to any video on your cloud storage, and streams it too).
However, I have users that store videos on Google-drive, and also on Microsoft One-Drive.
From what I can see, I can play these videos, but only in a page (probably with Google's own player in it) on their site.
It seems that there is no way to get a URL to these videos that I can put in a video tag.
Without the ability to do that, I can't use the javascript commands that work with the html5 video-tag.
Is there any workaround?
Or am I missing something?
Thanks.
For playing videos that are stored in google-drive using your app:
you need oauth2 credentials to access the user's drive, but assuming you have the oauth part covered :
you can create a drive application as a google appengine app and deploy it in a part of your website.
enable the drive-sdk and set the open-url to your website (that you have verified)
-> basically this tells drive to redirect towards your website whenever the user clicks on the video (from his drive)
when drive redirects to your website a json file will be sent, you'll have informations such as fileId from there i think you can execute the method files().get() to retrieve the necessary information for you to play the video
I advise you to take a look at this course in codeschool.

How can I stream a video file to a Google TV's Chrome browser?

I have attempted to setup a local streaming media server using VLC w/ a '.asx' file and an '' tag in an html file served by a local HTTP Server (Please see: http://wiki.videolan.org/Simple_Stream_VLC_to_Website ) on the same machine (as VLC). VLC is streaming the local file(s) perfectly (e.g. if I open the HTTP address from any web browser on a PC in the local network, including Chrome, it works flawlessly). However, I am looking for a way to stream content from the server and view it on a Google TV (i.e. Logitech Revu) using the built-in Chrome browser application, hence I am using http/html. I have been to websites that stream video (via flash?) within the browser. I would like to replicate this with my own local content. Any help is greatly appreciated. I am also hoping to create a formidable tutorial from any data gathered. Thank you.
p.s. I am open to server-side workarounds as my primary goal is to stream video inside a webpage on the Google TV's native Chrome app.
You will want to look into HLS. Essentially you need a web catcher.
http://4pcbr.com/topic/a_story_about_hls_video_handling and
http://www.jasonshah.com/http-live-streaming-and-android/ and http://en.wikipedia.org/wiki/HTTP_Live_Streaming

PhoneGap index page

i know that the index.html page (the PhoneGap startup page) needs to reside on the device. but if we want to create an app who uses third party user authentication before proceeding to core application, so then what we have to do?
Thanks in advance
On android you can change the starting page in the main activity or you can make a redirect in index.html
Well, you don't say if you are platform specific..
And there are lots of third party auth options..
But I can offer two solutions (admittedly my own code etc),
both of them use PhoneGap for Android and PhoneGap Plugins. The key piece of code for me has been the onLocationChange callback feature of the ChildBrowser plugin. Your app can take the user to other sites for auth or whatever, but still get control back.
Tutorial on Using Twitter REST API (OAuth 1, ChildBrowser, jsOAuth plugin)
Free Android App + Source on github : AppLaud App (OpenID, ChildBrowser, custom server)
For authentication, you can have a form in your index.html (maybe under login div) to do a post to an actual webserver.
Then, fetch the data returned from the webserver to let your user access the functionality of your native phonegap application.
You can have the functionality disabled until you receive the successful login from the webserver. If you post via ajax, the webview won't even blink, but you will still get the successful login response from webserver and simply enable functionality on your app after this.
Let me know if this is confusing and I'll try to explain more clearly and
I hope this helps.