# Disable Audio to Videochat

**URL:** https://community.wowza.com/t/disable-audio-to-videochat/44508
**Category:** Wowza Streaming Engine
**Created:** [January 2, 2015, 2:14pm UTC](https://community.wowza.com/t/disable-audio-to-videochat/44508 "2015-01-02T14:14:05Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Andrei\_Rubino](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Andrei\_Rubino](https://community.wowza.com/u/Andrei_Rubino)
#### Post date: [January 2, 2015, 2:14pm UTC](https://community.wowza.com/t/disable-audio-to-videochat/44508/1 "2015-01-02T14:14:05Z")

</div>

Hello , I am new to wowza .

I wonder how do I disable the audio of a video chat application ?

thank you.

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [January 6, 2015, 10:42am UTC](https://community.wowza.com/t/disable-audio-to-videochat/44508/2 "2015-01-06T10:42:19Z")

</div>

Hi,

For RTMP playback, you can set a stream to video only using onStreamCreate event below:

[How to use event listeners in Wowza#IMediaStreamActionNotify3](https://www.wowza.com/docs/how-to-use-event-listeners-in-wowza-media-server#IMediaStreamActionNotify3)

something like this.

```auto
public void onStreamCreate(IMediaStream stream)
 {
  stream.setReceiveAudio(false);
 }

```

Another option would be to use the [Transcoder AddOn](https://www.wowza.com/docs/how-to-set-up-and-run-wowza-transcoder-for-live-streaming) and create an encode which does not have audio by editing the transcoding template.

The encode could have the Video/Codec as PassThru and the Audio/Codec as Disable as shown in the example below.

```auto
			<Encode>
				<Enable>true</Enable>
				<Name>source</Name>
				<StreamName>mp4:${SourceStreamName}_source</StreamName>
				<Video>
					<!-- H.264, H.263, PassThru, Disable -->
					<Codec>PassThru</Codec>
					<Bitrate>${SourceVideoBitrate}</Bitrate>
					<Parameters></Parameters>
				</Video>
				<Audio>
					<!-- AAC, PassThru, Disable -->
					<Codec>Disable</Codec>
					<Bitrate></Bitrate>
					<Parameters></Parameters>
				</Audio>
				<Properties>
				</Properties>
			</Encode>

```

Regards,

Jason

---

<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: [January 15, 2015, 11:18pm UTC](https://community.wowza.com/t/disable-audio-to-videochat/44508/3 "2015-01-15T23:18:39Z")

</div>

Hi

You do need to ensure that you playback the Transcoded stream name and not the source.

In this case that would be:

yourstreamname\_512

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: [January 28, 2015, 11:02pm UTC](https://community.wowza.com/t/disable-audio-to-videochat/44508/4 "2015-01-28T23:02:32Z")

</div>

Hi,

> When testing in the Player to stream " 999\_portalpet\_512 ​​" does not work and the " 999\_portalpet " works with audio .

What does not work exactly? It doesn’t play at all? What do you see? Any messages?

What are the source stream’s video and audio codecs ?

Daren

---

<div class="post-metadata">

### Author: ![Andrei\_Rubino](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Andrei\_Rubino](https://community.wowza.com/u/Andrei_Rubino)
#### Post date: [January 15, 2015, 7:58pm UTC](https://community.wowza.com/t/disable-audio-to-videochat/44508/5 "2015-01-15T19:58:50Z")

</div>

Hello , I made ​​changes to the file transcoder , but not emerged effects .

see my .xml transcoder

is something wrong ?

\<?xml version="1.0" encoding="UTF-8"?\>

default

false

PortalPet

true

mp4:${SourceStreamName}\_512

H.264

QuickSync

-1

Main

512000

true

0

match-source

0

0

0,0,0,0

Disable

---

<div class="post-metadata">

### Author: ![Andrei\_Rubino](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Andrei\_Rubino](https://community.wowza.com/u/Andrei_Rubino)
#### Post date: [January 28, 2015, 9:53am UTC](https://community.wowza.com/t/disable-audio-to-videochat/44508/6 "2015-01-28T09:53:07Z")

</div>

Friend, still can not disable the audio .

My name stream in stream files is " 999\_portalpet "

We publish as " 999\_portalpet " , and when checking inconming streams there are 2 streams active

1. 999\_portalpet\_512 ​​- place ( Transcoder )

2. 999\_portalpet - rtmp : [//192.168.1.10](https://192.168.1.10) : 61021

When testing in the Player to stream " 999\_portalpet\_512 ​​" does not work and the " 999\_portalpet " works with audio .

another test

My name stream in stream files is " 999\_portalpet\_512 ​​"

We publish as " 999\_portalpet\_512 ​​" , and when checking inconming streams there are 2 streams active

1. 999\_portalpet\_512\_512 - place ( Transcoder )

2. 999\_portalpet\_512 ​​- rtmp : [//192.168.1.10](https://192.168.1.10) : 61021

When testing in the Player to stream " 999\_portalpet\_512\_512 " does not work and the " 999\_portalpet\_512 ​​" works with audio .

Can you help me?

---

<div class="post-metadata">

### Author: ![Andrei\_Rubino](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Andrei\_Rubino](https://community.wowza.com/u/Andrei_Rubino)
#### Post date: [March 26, 2015, 5:04pm UTC](https://community.wowza.com/t/disable-audio-to-videochat/44508/7 "2015-03-26T17:04:58Z")

</div>

Disable

even with these settings I can not disable the audio webcam.

I just can not disable the transmission of audio Webcam.

Help
