# Nokia phones and RTSP

**URL:** <https://community.wowza.com/t/nokia-phones-and-rtsp/671>\
**Category:** Wowza Streaming Engine\
**Tags:** media-players-and-devices\
**Created:** [May 12, 2011, 1:06pm UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671 "2011-05-12T13:06:24Z")\
**Posts on this page:** 12\
**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:** [May 12, 2011, 1:06pm UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/1 "2011-05-12T13:06:24Z")

</div>

One of our clients has one of the newer Nokia phones you can get on one of those deals at Wal Mart. The Wowza demo for mobile ([https://www.wowza.com/mobile.html](https://www.wowza.com/mobile.html))

plays just fine on his phone; both video and audio, and this is RTSP.

But on my RTSP stream, it plays fine in VLC and Android phones; but on the Nokia it just states “Unable to play media stream” or something along those lines. My Wowza error log for that day shows nothing useful.

Any thoughts? Maybe I misconfigured something on the Wowza size or maybe the Nokia doesn’t support the Baseband or something I chose in FMLE?

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [May 12, 2011, 2:37pm UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/2 "2011-05-12T14:37:11Z")

</div>

Look at troubleshooting guide here:

[https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback](https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback))

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [May 13, 2011, 3:08am UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/3 "2011-05-13T03:08:41Z")

</div>

Some mobile devices are not able to play mp3 audio when paired with H.264 video over RTSP. It is best to use H.264 and AAC.

Charlie

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 13, 2011, 12:20am UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/4 "2011-05-13T00:20:03Z")

</div>

h.264 is a format (which is required for many Wowza features and clients). mp4 is a container, a quicktime container (which also includes m4v, mov, and others). You can have other formats inside a quicktime container, and it is possible to put h.264 in other containers.

If you publish h.264 video and AAC or MP3 audio to Wowza application with StreamType “live-record”, you can instruct Wowza to record to an .mp4 container by adding mp4: prefix to the stream name in the encoder. mp4:myStream will record to myStream.mp4. If you do not add prefix, it will be myStream.flv.The flv file will contain h.264 video, but it won’t work for some things where h.264 in a quicktime container is required.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 13, 2011, 2:21am UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/5 "2011-05-13T02:21:15Z")

</div>

Mp3 audio should be no problem

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 20, 2011, 5:35pm UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/6 "2011-05-20T17:35:00Z")

</div>

Take a look at these examples:

[https://www.wowza.com/docs/how-to-encode-video-on-demand-content](https://www.wowza.com/docs/how-to-encode-video-on-demand-content)

Use the IPhone ones for this. It’s important to setup and use the presets. (-vpre)

Richard

---

<div class="post-metadata">

**Author:** ![Ryan\_G](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@Ryan\_G](https://community.wowza.com/u/Ryan_G)\
**Post date:** [May 12, 2011, 2:43pm UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/7 "2011-05-12T14:43:25Z")

</div>

Charlie, I’ve been following that. There’s nothing on Nokia, other than that it probably supports RTSP. It does of course, since my client could play the mobile test.

On FMLE, I have:

Format: H.264

FPS: 15

Input: 320x180 (dont maintain aspect ratio)

Output: 96kbps, 240x160

Baseline: 1.2

Keyframes: 4

And audio is disabled. These are super low numbers and still the Nokia phone couldn’t play it (it uses Realplayer). Trying to figure out why this is.

---

<div class="post-metadata">

**Author:** ![Ryan\_G](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@Ryan\_G](https://community.wowza.com/u/Ryan_G)\
**Post date:** [May 12, 2011, 3:51pm UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/8 "2011-05-12T15:51:26Z")

</div>

If I’m encoding RTMP to Wowza with h.264 (IN FMLE), does that mean I’m not using MP4? I notice in Wirecast, the Flash options dont show anything about MP4, only Quicktime options do. Wondering if my problem is that it must be MP4 for these odd mobile devices to play it.

---

<div class="post-metadata">

**Author:** ![Ryan\_G](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@Ryan\_G](https://community.wowza.com/u/Ryan_G)\
**Post date:** [May 12, 2011, 5:31pm UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/9 "2011-05-12T17:31:07Z")

</div>

Excellent info! After doing so much with this I forgot about basic things like putting “mp4:” in the front of the stream name.

The nokia device is now playing the video! Only problem, when we enable MP3 audio, it’s erroring out, saying something like “audio and video not available at once”.

Do we only have MP3 as an option because of our Webcam? Or is it because we’re doing MP4 with H.264? Our stream name is “mp4:myStream.sdp”

---

<div class="post-metadata">

**Author:** ![Ryan\_G](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@Ryan\_G](https://community.wowza.com/u/Ryan_G)\
**Post date:** [May 13, 2011, 11:16am UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/10 "2011-05-13T11:16:11Z")

</div>

> Some mobile devices are not able to play mp3 audio when paired with H.264 video over RTSP. It is best to use H.264 and AAC.
> 
> Charlie

If I don’t have an AAC option, is that because the webcam doesn’t support it? Or maybe an incorrect setting.

EDIT: Seems to be a hardware limitation, My webcam has different audio options than the motherboard’s audio card.

---

<div class="post-metadata">

**Author:** ![Wiktor\_Chuhra](https://avatars.discourse-cdn.com/v4/letter/w/d9b06d/32.png) [@Wiktor\_Chuhra](https://community.wowza.com/u/Wiktor_Chuhra)\
**Post date:** [May 20, 2011, 8:30pm UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/11 "2011-05-20T20:30:16Z")

</div>

I have problem while streaming to Nokia N8

To find out what is best -suited bitrate/resolution for Nokia i did following:

use ffmpeg and encode video (sample.mp4 from wowza installation) with such directives:

ffmpeg -threads 4 -y -i sample.mp4 -r 30 -vcodec libx264 -s 176x144 -b 192000 -g 60 -an sample\_1\_1.mp4

ffmpeg -threads 4 -y -i sample.mp4 -r 30 -vcodec libx264 -s 320x240 -b 384000 -g 60 -an sample\_1\_2.mp4

ffmpeg -threads 4 -y -i sample.mp4 -r 30 -vcodec libx264 -s 352x288 -b 768000 -g 60 -an sample\_1\_3.mp4

ffmpeg -threads 4 -y -i sample.mp4 -r 30 -vcodec libx264 -s 352x288 -b 2000000 -g 60 -an sample\_2.mp4

ffmpeg -threads 4 -y -i sample.mp4 -r 30 -vcodec libx264 -s 480x352 -b 4000000 -g 60 -an sample\_2\_1.mp4

Where:

libx264 - software library and application for encoding video streams into the H.264/MPEG-4 AVC

r - frames per second;

b - bits per second ;

g - key interval (frames);

an - remove audio

I received following results while opening VOD stream on Nokia:

**level** _ **resolution** __ **bitrate** _\_\_\_\_\_\_ **artifacts/quality**

1.1\_\_\_\_\_\_\_176x144\_\_\_\_\_\_192000\_\_\_\_\_\_ small/small resolution

1.2\_\_\_\_\_\_\_320x240\_\_\_\_\_\_384000\_\_\_\_\_\_yes(rarely)/normal

1.3\_\_\_\_\_\_\_352x288\_\_\_\_\_\_768000\_\_\_\_\_\_yes(often)/normal

2\_\_\_\_\_\_\_\_\_352x288\_\_\_\_\_\_2,000,000\_\_\_\_yes(very often)/bad

2.1\_\_\_\_\_\_\_ 480x352\_\_\_\_\_\_4,000,000\_\_\_\_yes(very often)/bad

As you can see in almost all cases I receive bad video quality on target device due to artifacts. Can i receive some advice in improving video quality?

---

<div class="post-metadata">

**Author:** ![maysfd\_dfsmay](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@maysfd\_dfsmay](https://community.wowza.com/u/maysfd_dfsmay)\
**Post date:** [May 17, 2011, 7:44pm UTC](https://community.wowza.com/t/nokia-phones-and-rtsp/671/12 "2011-05-17T19:44:37Z")

</div>

It is the season of [Oakley Sunglasses](http://www.cheapoakleysunglasses.co.uk). And purchase [Discount Oakley Sunglasses](http://www.cheapoakleysunglasses.co.uk) Online is a great way to save money. [Oakley Outlet](http://www.cheapoakleysunglasses.co.uk) is a famous shop sells 2011 new Oakley sunglasses uk.
