# Integrating native iOS apps with server-side code running in Wowza Media Server

**URL:** <https://community.wowza.com/t/integrating-native-ios-apps-with-server-side-code-running-in-wowza-media-server/107>\
**Category:** Wowza Developer Dojo\
**Created:** [July 7, 2011, 10:48pm UTC](https://community.wowza.com/t/integrating-native-ios-apps-with-server-side-code-running-in-wowza-media-server/107 "2011-07-07T22:48:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [July 7, 2011, 10:48pm UTC](https://community.wowza.com/t/integrating-native-ios-apps-with-server-side-code-running-in-wowza-media-server/107/1 "2011-07-07T22:48:57Z")

</div>

Hi guys,

We just posted a video and some sample code demonstrating integration between native iOS apps and server-side code deployed in Wowza. The examples we demonstrated include:

- iOS to Java remote method invocation via RTMP

- Java data push to iOS via Objective-C method invocation

- Remote Shared Objects hosted in Wowza

---

<div class="post-metadata">

**Author:** ![Ankit\_Thakur](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@Ankit\_Thakur](https://community.wowza.com/u/Ankit_Thakur)\
**Post date:** [December 20, 2011, 11:08pm UTC](https://community.wowza.com/t/integrating-native-ios-apps-with-server-side-code-running-in-wowza-media-server/107/2 "2011-12-20T23:08:15Z")

</div>

Hi Mark,

Nice tutorial.

I want to know, if can we post videos from iPhone to Wowza server for publishing the stream using rtmp protocol using “RTMP Communication Library”.

Thanks

Ankit

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [December 21, 2011, 1:11am UTC](https://community.wowza.com/t/integrating-native-ios-apps-with-server-side-code-running-in-wowza-media-server/107/3 "2011-12-21T01:11:47Z")

</div>

Hi Ankit,

There is the “Livu” app which I have read can stream from iPhone.

---

<div class="post-metadata">

**Author:** ![Ankit\_Thakur](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@Ankit\_Thakur](https://community.wowza.com/u/Ankit_Thakur)\
**Post date:** [December 21, 2011, 5:48pm UTC](https://community.wowza.com/t/integrating-native-ios-apps-with-server-side-code-running-in-wowza-media-server/107/4 "2011-12-21T17:48:45Z")

</div>

> Hi Ankit,
> 
> There is the “Livu” app which I have read can stream from iPhone.

Hi Randall,

Is this project having a source code available. I am trying to look for the same, but yet no luck.

And I have tried the sample code using “RTMP Communication Library”, but there also when we are sending the streams in array and on Java side, when we are trying to read the same from ADFArray class, like this :

BASE64Decoder decoder = new BASE64Decoder();

byte decodedBytes = decoder.decodeBuffer(streamName);

IVHost vhost = VHostSingleton.getInstance(VHost.VHOST\_DEFAULT);

Publisher publisher = Publisher.createInstance(vhost, “ios”);

publisher.setFileExtension(“mp4”);

publisher.setStreamType(“live”);

publisher.publish(“myStream1”, “append”);

AMFPacket amfPacket = new AMFPacket();

amfPacket.addData(decodedBytes, amfPacket.getSize(), decodedBytes.length);

switch (amfPacket.getType())

{

case IVHost.CONTENTTYPE\_AUDIO:…

case IVHost.CONTENTTYPE\_VIDEO:

case IVHost.CONTENTTYPE\_DATA:

}

But the output is comming as IVHost. CONTENTTYPE\_FUNCTION0

Thanks

Ankit

---

<div class="post-metadata">

**Author:** ![Miti\_Flores](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Miti\_Flores](https://community.wowza.com/u/Miti_Flores)\
**Post date:** [July 9, 2017, 7:06am UTC](https://community.wowza.com/t/integrating-native-ios-apps-with-server-side-code-running-in-wowza-media-server/107/5 "2017-07-09T07:06:57Z")

</div>

I am thankful to you for sharing this awesome article with this helpful links. Have lots of good information thanks for provide a such a good information. I get some very useful info [supremedissertations dissertation writing services here](https://supremedissertations.com/writing-services/dissertation-writing-services)
