# Optimised encoder settings for streaming video to media server

**URL:** https://community.wowza.com/t/optimised-encoder-settings-for-streaming-video-to-media-server/44473
**Category:** Wowza Streaming Engine
**Created:** [December 18, 2014, 10:58am UTC](https://community.wowza.com/t/optimised-encoder-settings-for-streaming-video-to-media-server/44473 "2014-12-18T10:58:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Anil\_Agrawal](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@Anil\_Agrawal](https://community.wowza.com/u/Anil_Agrawal)
#### Post date: [December 18, 2014, 10:58am UTC](https://community.wowza.com/t/optimised-encoder-settings-for-streaming-video-to-media-server/44473/1 "2014-12-18T10:58:15Z")

</div>

I am developing a simple live streaming mobile application. In which I am recording the video from mobile cam (IOS and Android Native apps) and streaming it to a media server(Wowza) that broadcasting the live stream on real time. I want to use H.264 video codec and AAC audio codecs.

How should I take care of Encoding from Point of origin of Live-stream to media server. Any suggestions or Inputs can be of great help

---

<div class="post-metadata">

### Author: ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)
#### Post date: [December 19, 2014, 1:00am UTC](https://community.wowza.com/t/optimised-encoder-settings-for-streaming-video-to-media-server/44473/2 "2014-12-19T01:00:33Z")

</div>

Hi,

I guess you just need to look at writing an RTSP (or RTMP) server in your app. There seem to be a number of example Android RTSP servers with source code [out there](https://github.com/fyhertz/libstreaming). iOS RTSP/RTMP servers appear to be quite thin on the ground…

An interesting method in the iOS space appears to be to [compile ffmpeg for iOS](http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/) and use the ffmpeg tools to send the stream to the streaming server, which is an interesting approach. A quick (but not free) way is to pay for the [SDK and source](http://www.videostreamsdk.com/)to incorporate into your app.

Paul
