Categories

Archives

Integrating native iOS applications with Flash Media Server

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.

Enjoy!

Follow the steps below to configure your own FMS installation to run the same examples:

  1. Download and install Flash Media Server
  2. Create “CallbackDemo” folder under [FMS-INSTALL]/applications
  3. Download and extract CallbackDemo-servercode.zip into [FMS-INSTALL]/applications/CallbackDemo
  4. Create “MethodInvocation” folder under [FMS-INSTALL]/applications
  5. Download and extract MethodInvocation-servercode.zip into [FMS-INSTALL]/applications/MethodInvocation
  6. Download Communication Library for iOS, extract and the examples and open the examples project in XCode

6 comments to Integrating native iOS applications with Flash Media Server

  • Sb

    Any news/progress regarding video & audio support ?

  • We’re still working on it and making great progress. Please stay tuned, we should be posting an update soon.

  • Fatema

    hi Mark

    I have the same question as sb :) any update regarding audio/video broadcast?

  • sam

    This example can use the rtmp streaming on iphone?
    If this examplecan to how to use the iphone?

  • GrafiOS

    It could be possible that this example doesn’t works with new version of Communication Library for iOS (2.0)? (not calling server functions, not disconnecting client…)

    Thanks!

  • james

    i get the error code in fms
    Unknown echoInt command issued for stream 1 (application ClientInvoke/_definst_).
    Unknown echoFloat command issued for stream 1 (application ClientInvoke/_definst_).
    seem the connect is fine
    and the “[rtmpClientInstance invoke:method withArgs:args]‘; is fine
    but the “responder:[AsynCall call:self method:@selector(onResult:)]” seem get some problem.

    i use your demolibdemos 2.3 2.2 and 2.0
    in the your wowza server is fine

    i see the youtube is work.
    but i try to use the fms4.0 and 4.5 server
    it always unable and show the same error code
    seem the

    my xcode is 4.3.2
    and the server code is download the MethodInvocation-servercode.zip
    client is using your demolibdemos

    did i do any thing less?
    or you have any suggest?

    thanks.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam protection by WP Captcha-Free