# Can Wowza 4 stream from Flash to iPhone?

**URL:** <https://community.wowza.com/t/can-wowza-4-stream-from-flash-to-iphone/396>\
**Category:** Wowza Streaming Engine\
**Created:** [May 8, 2014, 11:16am UTC](https://community.wowza.com/t/can-wowza-4-stream-from-flash-to-iphone/396 "2014-05-08T11:16:19Z")\
**Posts on this page:** 7\
**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 8, 2014, 11:16am UTC](https://community.wowza.com/t/can-wowza-4-stream-from-flash-to-iphone/396/1 "2014-05-08T11:16:19Z")

</div>

Can Wowza 4 stream from Flash to iPhone?

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [May 8, 2014, 5:29am UTC](https://community.wowza.com/t/can-wowza-4-stream-from-flash-to-iphone/396/2 "2014-05-08T05:29:37Z")

</div>

Hi there.

iPhone requires H264 video and AAC or MP3 audio. Flash defaults are usually set up to output Sorenson Spark video and Nellymoser or Speex audio.

The Flash defaults only work for delivery to Flash clients, you will need to run the stream through the Wowza Transcoder for delivery to iOS devices.

Please take a look at these guides to set up your Flash app for Transcoding:

[How to convert Flash Player 11 output from H.264 + Speex audio to H.264 + AAC audio using Wowza Transcoder AddOn](https://www.wowza.com/docs/how-to-convert-flash-player-11-output-from-h-264-speex-audio-to-h-264-aac-audio-using-wowza-transcoder)

[How to set up a Flash application to publish H.264 video and Speex audio to Wowza Transcoder AddOn](https://www.wowza.com/docs/how-to-set-up-a-flash-application-to-publish-h-264-video-and-speex-audio-to-wowza-transcoder)

Salvadore

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [May 8, 2014, 5:15pm UTC](https://community.wowza.com/t/can-wowza-4-stream-from-flash-to-iphone/396/3 "2014-05-08T17:15:56Z")

</div>

) thanks.

[https://www.wowza.com/docs/how-to-convert-flash-player-11-output-from-h-264-speex-audio-to-h-264-aac-audio-using-wowza-transcoder](https://www.wowza.com/docs/how-to-convert-flash-player-11-output-from-h-264-speex-audio-to-h-264-aac-audio-using-wowza-transcoder)

video work fine!

but no audio

```auto
WARN	server	comment	2014-05-09	09:36:09	-	-	-	-	-	18.049	-	-	-	-	-	-	-	-	CupertinoPacketHandler.handleHolder[live/_definst_/stream1111]: Invalid video/audio codec combination for iPhone/iPod: video:H264 audio:SPEEX
WARN	server	comment	2014-05-09	09:36:09	-	-	-	-	-	18.051	-	-	-	-	-	-	-	-	CupertinoPacketHandler.handleHolder[live/_definst_/stream1111]: Invalid audio codec for iPhone/iPod:SPEEX

```

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [May 10, 2014, 9:03am UTC](https://community.wowza.com/t/can-wowza-4-stream-from-flash-to-iphone/396/4 "2014-05-10T09:03:01Z")

</div>

> Hi,
> 
> According to th log messages, the audio codec is speex:
> 
> Invalid audio codec for iPhone/iPod:SPEEX
> 
> You’ll need to transcode the audio so it can be played on mobile devices, such as iPhone an Android.
> 
> Salvadore [pointed to this article](https://www.wowza.com/docs/how-to-convert-flash-player-11-output-from-h-264-speex-audio-to-h-264-aac-audio-using-wowza-transcoder) that you should to follow to ensure the audio is converted so it is playable.
> 
> Daren

i did all steps

- 

Transcoder: Enabled see applications

added

```auto
<LiveStreamTranscoder>transcoder</LiveStreamTranscoder>

```

added

```auto
<Templates>audioonly.xml</Templates>

```

added new template audioonly.xml

but not work

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [May 10, 2014, 10:51am UTC](https://community.wowza.com/t/can-wowza-4-stream-from-flash-to-iphone/396/5 "2014-05-10T10:51:19Z")

</div>

thank you. work!

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [May 9, 2014, 10:51pm UTC](https://community.wowza.com/t/can-wowza-4-stream-from-flash-to-iphone/396/6 "2014-05-09T22:51:53Z")

</div>

Hi,

According to th log messages, the audio codec is speex:

Invalid audio codec for iPhone/iPod:SPEEX

You’ll need to transcode the audio so it can be played on mobile devices, such as iPhone an Android.

Salvadore [pointed to this article](https://www.wowza.com/docs/how-to-convert-flash-player-11-output-from-h-264-speex-audio-to-h-264-aac-audio-using-wowza-transcoder) that you should to follow to ensure the audio is converted so it is playable.

Daren

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [May 9, 2014, 11:54pm UTC](https://community.wowza.com/t/can-wowza-4-stream-from-flash-to-iphone/396/7 "2014-05-09T23:54:24Z")

</div>

Hi,

The access log should show that a new stream named ‘stream1111\_acc’ is created.

That is the stream with the aac audio. Did you try to play that stream?

This is the playback URL to use for iOS:

```auto
http://[wowza-address]:1935/live/stream1111_acc/playlist.m3u8

```

Daren
