How we can capture live stream from gopro device in ios app and send it through opentok ?
I can stream from http://10.5.5.9:8080/live/amba.m3u8 in browser.
Now I want it to send to the server for live streaming on other devices.
How we can capture live stream from gopro device in ios app and send it through opentok ?
I can stream from http://10.5.5.9:8080/live/amba.m3u8 in browser.
Now I want it to send to the server for live streaming on other devices.
The iOS video player uses standard HTTP GET requests to download the stream. You need to write a small program to download the HTTP entities and upload them to a public server (or opentok if that's what you're after).
The data is ALREADY in chunks when coming from the live stream. The m3u8 file is a text playlist that lists the chunks! You can take a look with a traffic analysis tool like Wireshark, Fiddler or Charles.