# Livestream playback issue with android when transcoding !!

**URL:** <https://community.wowza.com/t/livestream-playback-issue-with-android-when-transcoding/41667>\
**Category:** Wowza Streaming Engine\
**Created:** [December 6, 2013, 10:22pm UTC](https://community.wowza.com/t/livestream-playback-issue-with-android-when-transcoding/41667 "2013-12-06T22:22:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahzaib\_cb](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@shahzaib\_cb](https://community.wowza.com/u/shahzaib_cb)\
**Post date:** [December 6, 2013, 10:22pm UTC](https://community.wowza.com/t/livestream-playback-issue-with-android-when-transcoding/41667/1 "2013-12-06T22:22:28Z")

</div>

Hello,

We’re decoding livestreaming into different bitrates i.e 360,160p

using wowza transcoder addon (ngrp) to playback livestream in IOS and

android devices. The decoding is only to AAC(44100Hz) for audio as video

input is already in H264 format. However, live playback working fine in IOS

but when we stream the livestream into android device, it plays for some

seconds and then error occured “cannot play video.Invalid Url”. The issue

is mostly in android 4.1 Icecream sandwitch and 4.1.2 jellybean.

Could you please assist me regarding it? We’re using monthly subscription

of wowza media server.

IOS/Android PLAYBACK URL : [http://ip:1935/transcoder/ngrp:live1\_all/playlist.m3u8](http://ip:1935/transcoder/ngrp:live1_all/playlist.m3u8)

Regards.

Shahzaib

---

<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:** [December 6, 2013, 11:27pm UTC](https://community.wowza.com/t/livestream-playback-issue-with-android-when-transcoding/41667/2 "2013-12-06T23:27:54Z")

</div>

Hi,

This is one of the best resources.

It is likely to be the video codec profile and/or level

being incompatible with Android.

iOS devices support a broader range of profiles and levels,

Android is generally restricted to Baseline profile for streaming.

It’s best to change the profile in the video codec at the source

so that it supports the widest range of devices.

Here’s an excellent resource that covers [video encoding for playback on Android.](http://features.encoding.com/android)

Important links within the above are:

[Video specifications.](http://features.encoding.com/android/#Video_Specifications_for_Android)

[Encoding recommendations.](http://features.encoding.com/android/#Video_Encoding_Recommendations)

Daren

---

<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:** [December 10, 2013, 1:45am UTC](https://community.wowza.com/t/livestream-playback-issue-with-android-when-transcoding/41667/3 "2013-12-10T01:45:15Z")

</div>

If the StreamNameGroup includes the source, which has mp3 audio, try taking it out. The Android device might be having trouble switching between bitrate renditions when one has mp3 audio and the others are AAC.

Richard

---

<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:** [December 11, 2013, 4:15pm UTC](https://community.wowza.com/t/livestream-playback-issue-with-android-when-transcoding/41667/4 "2013-12-11T16:15:10Z")

</div>

Thanks for the update.

The idea is that the StreamNameGroup shouldn’t contain any members that are not enabled for transcoding.

Zoran

---

<div class="post-metadata">

**Author:** ![shahzaib\_cb](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@shahzaib\_cb](https://community.wowza.com/u/shahzaib_cb)\
**Post date:** [December 7, 2013, 1:54am UTC](https://community.wowza.com/t/livestream-playback-issue-with-android-when-transcoding/41667/5 "2013-12-07T01:54:59Z")

</div>

Hello Daren,

We’re using FMLE for publishing stream with main profile,leve-2.1 and audio is mp3-44100 mono. But wowza re-encode this stream for 160\_p (Apple and android) into baseline profile with audio codec-AAC. If the problem with main profile than wowza re-encode the main into basline using transocder addon and issue remains the same.

Also IOS devices having issue with audio and this issue is similar to the thread [https://www.wowza.com/forums/showthread.php?16061-iOS-Audio-Gaps-with-MP3](https://www.wowza.com/forums/showthread.php?16061-iOS-Audio-Gaps-with-MP3) (but the thread ended up without conclusion) .

Live video playback works well on the beginning on IOS but after some time the small audio gaps comes into play after every 2~3 seconds.

---

<div class="post-metadata">

**Author:** ![shahzaib\_cb](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@shahzaib\_cb](https://community.wowza.com/u/shahzaib_cb)\
**Post date:** [December 10, 2013, 5:44am UTC](https://community.wowza.com/t/livestream-playback-issue-with-android-when-transcoding/41667/6 "2013-12-10T05:44:42Z")

</div>

I removed the unnecessary StreamNameGroup and used only 160p. That resolved my issue.

Thanks to support team!

Regards.

Shahzaib
