The Communication Library for iOS which we have recently released enables developers to integrate native iPhone and iPad applications with various server-side technologies. Since the library implements the RTMP protocol, it can easily connect the iOS applications with any RTMP-enabled media server. One of the most popular media servers is Adobe Flash Media Server. The video below provides an overview of the integration. Specifically, it demonstrates ability to do invocations of the server-side ActionScript running in FMS from the iOS apps using the library. Additionally, there is an example of the FMS data push implemented as an invocation of the client-side Objective-C functions from the code running in FMS.
In addition to the features reviewed in the video, the same library supports Remote Shared Objects. Currently, the integration enables data messaging, but we’re also working on adding support for video and audio broadcast and server-side recording. This new functionality will enable any iOS application to broadcast or record video stream from the device’s camera and audio from the microphone.
Follow the steps below to configure your own FMS installation to run the same examples:
- Download and install Flash Media Server
- Create “CallbackDemo” folder under [FMS-INSTALL]/applications
- Download and extract CallbackDemo-servercode.zip into [FMS-INSTALL]/applications/CallbackDemo
- Create “MethodInvocation” folder under [FMS-INSTALL]/applications
- Download and extract MethodInvocation-servercode.zip into [FMS-INSTALL]/applications/MethodInvocation
- Download Communication Library for iOS, extract and the examples and open the examples project in XCode