# G711 audio works on flash (rtmp) but does not work with rtsp

**URL:** <https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607>\
**Category:** Wowza Streaming Engine\
**Tags:** media-players-and-devices\
**Created:** [July 17, 2013, 6:33pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607 "2013-07-17T18:33:15Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ozgur\_Deniz\_Onur](https://avatars.discourse-cdn.com/v4/letter/o/6bbea6/32.png) [@Ozgur\_Deniz\_Onur](https://community.wowza.com/u/Ozgur_Deniz_Onur)\
**Post date:** [July 17, 2013, 6:33pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/1 "2013-07-17T18:33:15Z")

</div>

Hello,

Our IP cameras have H.264 video + G.711 audio.

We re-stream the video from wowza to clients. We use flash for web clients and rtsp for android clients.

We have no problems listening to g.711 audio with the web clients using strobe flash player.

However there is no audio in the rtsp stream.

It looks like wowza strips audio stream from the rtsp streams while restreaming but does not do that for rtmp streams, is this correct?

If yes is it possible to tell wowza not to do this? We want it to keep the audio track inside the rtsp stream while restreaming.

Since it keeps the audio for the rtmp streams I hope that this might be possible.

Note: we dont want to use wowza transcoder to convert audio to aac.

Best Regards,

Özgür

---

<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:** [July 17, 2013, 9:55am UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/2 "2013-07-17T09:55:00Z")

</div>

G711 works in Flash 11+ without transcoder.

Android devices do not support G711:

[Android Developers Website](http://developer.android.com/guide/appendix/media-formats.html)

If your camera does not have support for another audio format you will need to use Wowza’s Transcoder Addon.

Salvadore

---

<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:** [July 17, 2013, 5:11pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/3 "2013-07-17T17:11:25Z")

</div>

You should be able to playback a stream with g.711 audio in Flash RTMP and Flash HTTP players. At present, g.711 is not packetized for RTSP clients and it doesn’t work on HLS or HDS clients

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:** [July 18, 2013, 10:00am UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/4 "2013-07-18T10:00:41Z")

</div>

Özgür,

Yes, the [Wowza Transcoder](https://www.wowza.com/docs/how-to-set-up-and-run-wowza-transcoder-for-live-streaming) supports g.711 for decode. It will transcode the audio to AAC which will play in all supported clients.

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:** [July 19, 2013, 6:45pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/5 "2013-07-19T18:45:00Z")

</div>

Ozgur,

Without the Transcoder, Wowza just reflects streams. So this is a codec/player issue really, Wowza is just in between. You can try to do what you describe, but I don’t have any example and would probably not be able to support that effort through Wowza free Support.

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:** [July 22, 2013, 6:05pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/6 "2013-07-22T18:05:49Z")

</div>

Özgür,

Right, Wowza only really reflects g.711 audio to Flash RTMP clients.

Wowza does not provide professional service directly, but I will submit this as a request to backlog, which would be the best thing to do.

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:** [September 2, 2013, 11:25am UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/7 "2013-09-02T11:25:59Z")

</div>

Özgür,

Not as far as I know. It is a backlog item. I will ask for info on Tuesday.

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:** [April 10, 2014, 9:29pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/8 "2014-04-10T21:29:44Z")

</div>

Janet,

Not that I see in release notes, or recall otherwise but I will try, I have a camera with g.711 audio.

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:** [April 10, 2014, 11:11pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/9 "2014-04-10T23:11:20Z")

</div>

I tested in case I missed anything, but it is same. It is in the backlog, but there has been a focus on the Wowza 4 release. I don’t have a time frame for this.

Richard

---

<div class="post-metadata">

**Author:** ![Ozgur\_Deniz\_Onur](https://avatars.discourse-cdn.com/v4/letter/o/6bbea6/32.png) [@Ozgur\_Deniz\_Onur](https://community.wowza.com/u/Ozgur_Deniz_Onur)\
**Post date:** [July 17, 2013, 7:22pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/10 "2013-07-17T19:22:11Z")

</div>

Dear Salvadore,

Thank you for your reply.

We have imported the FFMPEG library to the Android platform.

So our android application does supoort G.711 streams.

We can get g.711 audio from our camera if we use the camera rtsp steram directly i.e. if we dont restream from wowza.

But wowza just strips the g.711 track from the stream while restreaming. We have verified this using vlc as well.

So is it possible to tell wowza not to discard the audio track from the rtsp stream?

Özgür

---

<div class="post-metadata">

**Author:** ![Ozgur\_Deniz\_Onur](https://avatars.discourse-cdn.com/v4/letter/o/6bbea6/32.png) [@Ozgur\_Deniz\_Onur](https://community.wowza.com/u/Ozgur_Deniz_Onur)\
**Post date:** [July 18, 2013, 9:18am UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/11 "2013-07-18T09:18:11Z")

</div>

Dear Richard,

Thank you for your reply.

Is there any workaround for this?

Can we tell wowza to just pass the stream as is without any processing?

Or maybe can we write our own module module to packetize g.711? I assume this must be quite difficult.

Can you give us advice on how to solve this problem without using wowza transcoder and without changing the camera?

Best Regards,

Özgür

---

<div class="post-metadata">

**Author:** ![Ozgur\_Deniz\_Onur](https://avatars.discourse-cdn.com/v4/letter/o/6bbea6/32.png) [@Ozgur\_Deniz\_Onur](https://community.wowza.com/u/Ozgur_Deniz_Onur)\
**Post date:** [July 18, 2013, 11:45pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/12 "2013-07-18T23:45:08Z")

</div>

Dear Richard,

I think I did not make myself clear.

We dont want to use Wowza Transcoder because it is too expensive since it is billed per stream.

Is there any workaround for this?

Do you think it is possible for us to write our own packetizer module that packetizes G.711 audio for RTSP streams.

We have a strong development team, I think we can do it if there is any documentation or samples etc.

Or maybe we can hire professional services from wowza to do it for us?

Can you please suggest how we should proceed.

Best Regards,

Ozgur

---

<div class="post-metadata">

**Author:** ![Ozgur\_Deniz\_Onur](https://avatars.discourse-cdn.com/v4/letter/o/6bbea6/32.png) [@Ozgur\_Deniz\_Onur](https://community.wowza.com/u/Ozgur_Deniz_Onur)\
**Post date:** [July 22, 2013, 10:16am UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/13 "2013-07-22T10:16:58Z")

</div>

Dear Richard,

Thank you for your answer. I will just ask my last set of questions about this issue.

Since you said wowza only reflects these streams, I wonder If misunderstood your last post.

All I need is wowza to reflect the stream as is, without changing it.

However it does not do this, it strips the g.711 audio from the stream.

And the reason is that a g.711 packetizer for rtsp streams is not implemented. Is this correct?

And there is no way to make wowza just reflect the stream without using its own packetizers. Is this also correct?

And finally can we get any professional services from wowza to implement a g.711 paketizer fo this for us?

Best Regards,

Özgür Deniz Önür

---

<div class="post-metadata">

**Author:** ![Ozgur\_Deniz\_Onur](https://avatars.discourse-cdn.com/v4/letter/o/6bbea6/32.png) [@Ozgur\_Deniz\_Onur](https://community.wowza.com/u/Ozgur_Deniz_Onur)\
**Post date:** [September 2, 2013, 1:32pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/14 "2013-09-02T13:32:40Z")

</div>

Dear Richard,

Do you know if there is any progress about G.711 packetizer for RTSP or HLS?

Latest wowza release notes contain some info about G.711 depacketizer but I doubt that they are related to rtsp packetizer for G.711.

Özgür

---

<div class="post-metadata">

**Author:** ![Janet\_Byron](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@Janet\_Byron](https://community.wowza.com/u/Janet_Byron)\
**Post date:** [April 10, 2014, 3:41pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/15 "2014-04-10T15:41:28Z")

</div>

Hi,

Has there been any movement on re-streaming G711 ulaw to an RTSP client? My Wowza customer would like to do this as well.

Thanks,

Janet

---

<div class="post-metadata">

**Author:** ![Janet\_Byron](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@Janet\_Byron](https://community.wowza.com/u/Janet_Byron)\
**Post date:** [April 10, 2014, 8:02pm UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/16 "2014-04-10T20:02:14Z")

</div>

Thank you for taking the time to test it, Richard. It’s very appreciated… I wish the result had been different, but it is what it is.

Janet

---

<div class="post-metadata">

**Author:** ![Jennifer\_Denney](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@Jennifer\_Denney](https://community.wowza.com/u/Jennifer_Denney)\
**Post date:** [December 17, 2014, 12:29am UTC](https://community.wowza.com/t/g711-audio-works-on-flash-rtmp-but-does-not-work-with-rtsp/34607/17 "2014-12-17T00:29:25Z")

</div>

Hi, rrlanham

Thanks for supporting.
