# Invalid audio codec for iPhone/iPod:SPEEX

**URL:** <https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995>\
**Category:** Wowza Streaming Engine\
**Created:** [October 3, 2014, 4:53am UTC](https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995 "2014-10-03T04:53:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ar\_Ba](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@Ar\_Ba](https://community.wowza.com/u/Ar_Ba)\
**Post date:** [October 3, 2014, 4:53am UTC](https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995/1 "2014-10-03T04:53:44Z")

</div>

Hi!

We use Wowza 4.1.6. I enable Transcoder AddOn and configured application using 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&page=2)

On log still:

```auto
WARN	server	comment	2014-10-03	18:34:12	-	11.013	-	CupertinoPacketHandler.handleHolder[cams/_definst_/stream_name]: Invalid video/audio codec combination for iPhone/iPod: video:H264 audio:SPEEX
WARN	server	comment	2014-10-03	18:34:12	-11.013	-CupertinoPacketHandler.handleHolder[cams/_definst_/stream_name]: Invalid audio codec for iPhone/iPod:SPEEX

```

Can you explain why appear this warnings?

---

<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:** [October 3, 2014, 7:13am UTC](https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995/2 "2014-10-03T07:13:57Z")

</div>

Hello,

Can you please confirm you are playing the transcoded stream, and not the source stream when getting these errors?

Thank you,

Salvadore

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [October 8, 2014, 10:29pm UTC](https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995/3 "2014-10-08T22:29:58Z")

</div>

Hi,

When a stream is published to Wowza, it also becomes available for playback at Wowza output. In addition to this stream, if you also have the Transcoder addon enabled, the transcoded stream will also become available at Wowza output after it has been transformed by the Transcoder.

The warnings you are talking about are referring to the un-transcoded stream. Since your source is using Speex audio codec, the warning message is informing you that this particular stream is not supported by iOS devices since they do not support this audio codec.

You should’t get messages related to the transcoded stream.

Zoran

---

<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:** [October 6, 2014, 7:48am UTC](https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995/4 "2014-10-06T07:48:34Z")

</div>

Are you using the template named audioonly.xml in the Wowza /transcoder/templates folder. Use that template as a starting place. The name is a little misleading, it just means that it only transcodes the audio, not the video. The video is set to PassThru. That is the Transcoder template that is used in that article. Start with that, test it as-is before making changes.

Thank you.

Salvadore

---

<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:** [October 8, 2014, 7:09am UTC](https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995/5 "2014-10-08T07:09:04Z")

</div>

The audio will not be transcoded if set to Passthrough. I suggest using the audioonly.xml template as is, without modification, and see if that works.

If you are only streaming to Flash clients then you can disable cupertinostreamingpacketizer from the list.

Salvadore

---

<div class="post-metadata">

**Author:** ![Ar\_Ba](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@Ar\_Ba](https://community.wowza.com/u/Ar_Ba)\
**Post date:** [October 6, 2014, 5:25am UTC](https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995/6 "2014-10-06T05:25:41Z")

</div>

Hi,

This errors appears when i publish stream, before playing.

Thanks for reply!

---

<div class="post-metadata">

**Author:** ![Ar\_Ba](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@Ar\_Ba](https://community.wowza.com/u/Ar_Ba)\
**Post date:** [October 8, 2014, 4:08am UTC](https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995/7 "2014-10-08T04:08:28Z")

</div>

Yes, i’m using audioonly.xml. In wowzastreamingengine\_error.log :

```auto
Invalid video/audio codec combination for iPhone/iPod: video:H264 audio:SPEEX
Invalid audio codec for iPhone/iPod:SPEEX

```

Can these errors appears because in some streams audio was set Passthrough(though it not so)?

Maybe not pay attention to these warnings?

---

<div class="post-metadata">

**Author:** ![Ar\_Ba](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@Ar\_Ba](https://community.wowza.com/u/Ar_Ba)\
**Post date:** [October 8, 2014, 10:48am UTC](https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995/8 "2014-10-08T10:48:32Z")

</div>

> The audio will not be transcoded if set to Passthrough. I suggest using the audioonly.xml template as is, without modification, and see if that works.
> 
> If I use audioonly.xml without modification it works, but in logs there are warnings.
> 
> Thanks!

---

<div class="post-metadata">

**Author:** ![Ajay\_Devgan](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@Ajay\_Devgan](https://community.wowza.com/u/Ajay_Devgan)\
**Post date:** [February 9, 2017, 10:14pm UTC](https://community.wowza.com/t/invalid-audio-codec-for-iphone-ipod-speex/43995/9 "2017-02-09T22:14:50Z")

</div>

iPhone is a mobile phone developed by Apple. [iPhone Stuck in Headphone Mode](http://www.hackforsecurity.com/2016/04/iphone-stuck-in-headphone-mode-solution.html) iPhone combines an iPod music/video player, a mobile phone, an internet web and email client, and a handheld application platform into one device. iPhone is intended to compete in the smartphone market.Apple has released ten generations of iPhone models, each accompanied by one of the ten major releases of the iOS operating system.
