The Demo App
The demo app demonstrates the main ways of using the
PreviewMp4View components (please refer here for details on those components).
The demo app is available here. You will need Mac to build it.
Running the demo app:
- Install xCode and CocoaPods as described here. Make sure to select Development OS MacOS and Target OS iOS in order to see proper instructions.
Clone Flussonic Watcher SDK for iOS repo from GitHub:
git clone https://github.com/flussonic/flussonic-watcher-sdk-ios.git --depth 1
Go to demo app folder:
Open FlussonicDemoApp.xcworkspace project in xCode.
Run FlussonicDemoApp by selecting Product => Run
In the demo app:
CamerasListIsoTVC— the table that contains the list of cameras. Each cell contains an instance of
PreviewMp4View, which is used for fetching and displying the preview image.
PlayerIsoViewController— a sceen with the player (
FlussonicWatcherView) and an adapter
FlussonicVlcAdapter— the adapter for using it in the
VLCMediaPlayeras a player.