One of my most favorite features in the Communication Library for iOS is the support for server-side data push to iOS. We put together an example demonstrating the feature in action where a .NET server pushes real-time updates to an iPhone application. The example is demonstrated and reviewed in the video below. The instructions for running the example and the links for the source code are available below the video in this blog post. Enjoy!
Follow the steps below to deploy and run the example:
Download and install the latest version of WebORB for .NET. (This post assumes the product is installed in the default installation directory. For the version 4.4, the installation directory is: c:/Program Files/WebORB for .NET/4.4.0.0/)
Open the server-side project in Visual Studio. Compile the project and make sure the compiled assembly is copied into the /bin folder in the WebORB installation directory (c:/Program Files/WebORB for .NET/4.4.0.0/)
Create “StockExchange” directory under the “Applications” folder located at: c:/Program Files/WebORB for .NET/4.4.0.0/Applications)
Create the app.config file in the StockExchange directory with the following contents:
Open the WebORB Management Console. Switch to the ‘Messaging Server’ tab and make sure the StockExchange application is listed under the Applications node in the tree.
Run the iOS client application, enter the hostname for the server where WebORB for .NET is running and click Connect to establish a connection with the server-side application.
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:
Download and install Flash Media Server
Create “CallbackDemo” folder under [FMS-INSTALL]/applications
Cross platform application connectivity is to be a frequently requested and talked about feature. A lot of enterprise and consumer-facing applications require robust data exchange mechanism between application instances running on mobile devices. On top of this, many applications depend on real-time updates and notifications pushed from the server to the clients. One of the approaches for cross platform data exchange is a feature called Remote Shared Objects. The video below provides an explanation of the feature as well as a demonstration of iPhone, iPad and Windows Mobile phone communicating with each other as well as a browser-based Flex application.
The demo was built using the latest version of WebORB for .NET (the Java version would work just as well), Communication Library for iOS and a client library for Windows Mobile included into the WebORB distribution. Enjoy!
I’m happy to announce that version 1.0 of our new Communication Library for iOS is available for download. We posted a teaser a few weeks go, but now you can experience it yourself. Here’s what you get with the download:
Native Objective-C library for RTMP communication with any RTMP media server. This includes WebORB for .NET, WebORB for Java, Red5, FMS and Wowza Media Server
Support for Remote Shared Objects. This includes both working with the RSO data as well as support for the “send” function (client-to-client invoke)
We’re very excited about this new product and would welcome any feedback. We’re working on a web page dedicated to our mobile offerings and it should be up very soon with a lot more examples, complete documentation, technical articles and the product roadmap. Speaking of the roadmap, we plan to add support for HTTP-based remoting, publish/subscribe API as well as audio/video streaming capabilities.
If you have asked or thought of integrating iOS apps with RTMP servers, this might be of interest to you.. I thought I’d share a small sneak peak of a feature from the upcoming release of WebORB for .NET and WebORB for Java. Our server had supported RTMP for a long time for video streaming, recording, data push and remote shared objects. But now I’m happy to let you know that RTMP support for iOS is coming up! As you can see in the following screenshots, it is a sample application using Remote Shared Object hosted in a .Net backend and a remote method invocation (via RTMP); guys, this is only a tip of the iceberg…
Want to know more? Looking for video streaming solution for iPhone? Well guys, I’ve already said too much. Just stay in touch with us, and you will be able try it in the very near future.