# Audio transcoding

**URL:** <https://community.wowza.com/t/audio-transcoding/92635>\
**Category:** Wowza Streaming Engine\
**Tags:** transcoder\
**Created:** [January 5, 2021, 1:50pm UTC](https://community.wowza.com/t/audio-transcoding/92635 "2021-01-05T13:50:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yossi\_Dar](https://avatars.discourse-cdn.com/v4/letter/y/f1d935/32.png) [@Yossi\_Dar](https://community.wowza.com/u/Yossi_Dar)\
**Post date:** [January 5, 2021, 1:50pm UTC](https://community.wowza.com/t/audio-transcoding/92635/1 "2021-01-05T13:50:41Z")

</div>

Is it possible to use the wowza engine transcoder to change audio sample rate and number of channels?  
More specific: AAC 1 channel 44100Hz -\> opus 2 channels 48000Hz

Thanks  
Yossi

---

<div class="post-metadata">

**Author:** ![video\_streaming](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@video\_streaming](https://community.wowza.com/u/video_streaming)\
**Post date:** [January 5, 2021, 6:30pm UTC](https://community.wowza.com/t/audio-transcoding/92635/2 "2021-01-05T18:30:09Z")

</div>

Yes, we now support resampling of sample rates and channels.

You’ll need to go to this document and scroll down to the section for **Set up an RTMP source for a transcoded video and audio stream** and click on " SEE THE STEPS."

You’ll see this in that section:

 ![Screen Shot 2021-01-05 at 12.07.09 PM](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/1X/7cdd3c01434ace532da88c34172b8a9bcd68c6e6.png)  
  

That is the correct way of setting the channels to 2 & adjusting the sample rate.

---

<div class="post-metadata">

**Author:** ![Yossi\_Dar](https://avatars.discourse-cdn.com/v4/letter/y/f1d935/32.png) [@Yossi\_Dar](https://community.wowza.com/u/Yossi_Dar)\
**Post date:** [January 6, 2021, 2:41pm UTC](https://community.wowza.com/t/audio-transcoding/92635/3 "2021-01-06T14:41:07Z")

</div>

Thanks! Yet it doesn’t work for me.  
After following the document and adding the relevant parameters to the existing audioonly.xml, when I’m trying to play WebRTC I’m getting `stream is not ready` error.  
I also see error in the logs: `JNI:AudioEncoderOpus.initialize[_defaultVHost_:live/_definst_/test:opus]: Sample rate is not supported [8KHz, 12KHz, 16KHz, 24KHz, 48KHz]: 44100`  
Log lines added at the end.

- I can play the original stream with WebRTC without audio of course.
- If I resample + stereo before sending to the engine - the transcoder (without the extra parameters of resampling in the transcoder) works fine and I can play it with audio on the WebRTC player.

Log:  
#Version: 1.0  
#Start-Date: 2021-01-06 12:47:32 UTC  
#Software: 4.8.8.01 build20201216140014  
#Date: 2021-01-06

UTC comment server I2021-01-06 14:23:28NFO 200 - MediaCasterStreamValidator.init[live/_definst_]: Started _defaultVHost_ - - 1003.23 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:29 UTC app-start application INFO 200 _definst_ live/_definst__defaultVHost_ live _definst_ 1003.378 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:29 UTC connect-pending session INFO 100 10.200.10.10 - _defaultVHost_ live _definst_ 0.794 [any] 1935 rtmp://100.127.42.218:1935/live 10.200.10.10 rtmp - FMLE/3.0 (compatible; Lavf58.65.100) 1323550232 3230 3073 - - - - - - - - - - - - - rtmp://100.127.42.218:1935/live -  
2021-01-06 14:23:29 UTC connect session INFO 200 10.200.10.10 - _defaultVHost_ live _definst_ 0.81 [any] 1935 rtmp://100.127.42.218:1935/live 10.200.10.10 rtmp - FMLE/3.0 (compatible; Lavf58.65.100) 1323550232 3230 3073 - - - - - - - - - - - - - rtmp://100.127.42.218:1935/live -  
2021-01-06 14:23:29 UTC create stream INFO 200 - - _defaultVHost_ live _definst_ 0.017 [any] 1935 rtmp://100.127.42.218:1935/live 10.200.10.10 rtmp - FMLE/3.0 (compatible; Lavf58.65.100) 1323550232 3357 3413 1 0 0 0 - - - - - - rtmp://100.127.42.218:1935/live rtmp://100.127.42.218:1935/live - rtmp://100.127.42.218:1935/live -  
2021-01-06 14:23:30 UTC publish stream INFO 200 test - _defaultVHost_ live _definst_ 0.526 [any] 1935 rtmp://100.127.42.218:1935/live 10.200.10.10 rtmp - FMLE/3.0 (compatible; Lavf58.65.100) 1323550232 3403 3602 1 0 0 0 test - - - - - rtmp://100.127.42.218:1935/live/test rtmp://100.127.42.218:1935/live/test - rtmp://100.127.42.218:1935/live -  
2021-01-06 14:23:30 UTC comment server INFO 200 - LiveReceiver.init[live/_definst_/test]: sortPackets:false flushInterval:50 onFlushNotifyClients:true sendSetDataFrame:false sendUpdatedOnMetaData:false audioLag:0 videoLag:0 _defaultVHost_ live _definst_ 1004.759 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - TranscoderSessionNative.loadLibrary: Load transcoder list file: /usr/local/WowzaStreamingEngine/lib-native/linux64/transcoder.list _defaultVHost_ live _definst_ 1004.776 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - JNI:VideoEncoderH264QuickSyncHost.VideoEncoderH264QuickSyncHost[global]: Could not load shared library: libva.so.1: cannot open shared object file: No such file or directory _defaultVHost_ live _definst_ 1005.032 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - JNI:VideoEncoderH264QuickSyncHost.VideoEncoderH264QuickSyncHost[global]: Could not load shared library: libva-x11.so.1: cannot open shared object file: No such file or directory _defaultVHost_ live _definst_ 1005.033 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - LiveStreamTranscoder.init[live/_definst_/test]: Load transcoder template: file:///usr/local/WowzaStreamingEngine/transcoder/templates/No Video.xml _defaultVHost_ live _definst_ 1005.053 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - JNI:TranscoderSession.isCUDAAvailable[_defaultVHost_:live/_definst_/test]: NVidia hardware acceleration is NOT available _defaultVHost_ live _definst_ 1005.142 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - JNI:TranscoderSession.isQuickSyncAvailable[_defaultVHost_:live/_definst_/test]: Intel Quick Sync hardware acceleration is NOT available. _defaultVHost_ live _definst_ 1005.143 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - JNI:TranscoderSession.isBeamrAvailable[_defaultVHost_:live/_definst_/test]: Beamr4 is available: ENC[H264] DEC[H264], build:5.53003 _defaultVHost_ live _definst_ 1005.143 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - JNI:TranscoderSession.isBeamrAvailable[_defaultVHost_:live/_definst_/test]: Beamr5 is available: ENC[H265] DEC[H265], build:4.5 _defaultVHost_ live _definst_ 1005.144 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - JNI:TranscoderSession.isIntrinsicScalerAvailable[_defaultVHost_:live/_definst_/test]: Intrinsic scaler is available _defaultVHost_ live _definst_ 1005.144 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC transcoder-start transcoder INFO 200 test {“encoder”:false, “sortBufferEnable”:true, “sortBufferSize”:750, “sortBufferFlushInterval”:75} _defaultVHost_ live _definst_ 2.101 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC create stream INFO 200 - - - - - 0.005 - - - - - - - - - - 1 0 0 0 - - - - - - - - - - -  
2021-01-06 14:23:30 UTC publish stream INFO 200 test\_opus - - - - 0.013 - - - - - - - - - - 1 0 0 0 test\_opus - - - - - /test\_opus /test\_opus - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer[live/_definst_/test]: Create live stream packetizer: mpegdashstreamingpacketizer:test - - - 1005.233 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - LiveStreamPacketizerSanJose.init[live/_definst_/test]: chunkDurationTarget: 10000 - - - 1005.261 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - LiveStreamPacketizerSanJose.init[live/_definst_/test]: chunkDurationTolerance: 500 - - - 1005.261 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:30 UTC comment server INFO 200 - LiveStreamPacketizerSanJose.init[live/_definst_/test]: playlistChunkCount:4 - - - 1005.262 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - JNI:TranscoderSession.audioDecoderCreate[_defaultVHost_:live/_definst_/test]: Create audio decoder: AAC: default - - - 1005.294 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC decoder-audio-start transcoder INFO 200 test {“codec”:“AAC”, “objectType”:“LC”, “sampleRate”:44100, “channels”:1, “resample”:false} - - - 1005.295 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:live/_definst_/test:opus]: Create audio encoder: OPUS: default - - - 1005.31 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server ERROR 500 - JNI:AudioEncoderOpus.initialize[_defaultVHost_:live/_definst_/test:opus]: Sample rate is not supported [8KHz, 12KHz, 16KHz, 24KHz, 48KHz]: 44100 - - - 1005.315 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerPacketHandler.startStream[live/_definst_/test][a/v] - - - 1005.336 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer[live/_definst_/test]: Create live stream packetizer: sanjosestreamingpacketizer:test - - - 1005.345 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - SanJosePacketHandler.startStream[live/_definst_/test] - - - 1005.351 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket[live/_definst_/test]: Video codec: H264 - - - 1005.351 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket[live/_definst_/test]: Audio codec: AAC - - - 1005.352 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer[live/_definst_/test]: Create live stream packetizer: smoothstreamingpacketizer:test - - - 1005.386 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.startStream[live/_definst_/test] - - - 1005.394 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerCupertino.init[live/_definst_/test]: chunkDurationTarget: 10000 - - - 1005.426 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerCupertino.init[live/_definst_/test]: audioGroupCount: 3 - - - 1005.428 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerCupertino.init[live/_definst_/test]: playlistChunkCount:3 - - - 1005.434 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer[live/_definst_/test]: Create live stream packetizer: cupertinostreamingpacketizer:test - - - 1005.435 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - CupertinoPacketHandler.startStream[live/_definst_/test] - - - 1005.436 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/test]: Video codec:H264 isCompatible:true - - - 1005.437 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/test]: Audio codec:AAC isCompatible:true - - - 1005.437 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/test][avc1.42c01e]: H.264 Video info: {H264CodecConfigInfo: codec:H264, profile:Baseline, level:3.0, frameSize:720x1520, displaySize:720x1520, frameRate:6.0} - - - 1005.447 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/test][mp4a.40.2]: AAC Audio info: {AACFrame: codec:AAC, channels:1, frequency:44100, samplesPerFrame:1024, objectType:LC} - - - 1005.465 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.handlePacket[live/_definst_/test]: Fragment durations: [0.6,1.8,1.9] - - - 1005.733 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bitrate[live/_definst_/test]: 318068 - - - 1005.734 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:video id:0 count:1 duration:654 - - - 1005.784 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveReceiver.init[live/_definst_/test\_opus]: sortPackets:false flushInterval:50 onFlushNotifyClients:true sendSetDataFrame:false sendUpdatedOnMetaData:false audioLag:0 videoLag:0 - - - 1005.981 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerPacketHandler.handlePacket[live/_definst_/test][a/v]: Video codec:H264 isCompatible:true - - - 1005.992 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerPacketHandler.handlePacket[live/_definst_/test][a/v]: Audio codec:AAC isCompatible:true - - - 1005.993 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerPacketHandler.handlePacket[[live/_definst_/test][a/v]][mp4a.40.2]: AAC Audio info: {AACFrame: codec:AAC, channels:1, frequency:44100, samplesPerFrame:1024, objectType:LC} - - - 1005.994 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerPacketHandler.handlePacket[[live/_definst_/test][a/v]][avc1.42c01e|avc1.66.30]: H.264 Video info: {H264CodecConfigInfo: codec:H264, profile:Baseline, level:3.0, frameSize:720x1520, displaySize:720x1520, frameRate:6.0} - - - 1006.008 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.flushPendingAudio: Bitrate[live/_definst_/test]: 63738 - - - 1006.021 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:audio id:0 count:87 duration:2020 - - - 1006.101 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:31 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:video id:1 count:12 duration:1857 - - - 1006.181 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:32 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:audio id:1 count:87 duration:2020 - - - 1006.288 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:32 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:video id:2 count:12 duration:1984 - - - 1006.515 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:32 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:video id:3 count:12 duration:1852 - - - 1006.83 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:32 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:audio id:2 count:87 duration:2020 - - - 1006.832 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:32 UTC comment server INFO 200 - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/test]: Add chunk: id:1 mode:TS[H264,AAC] a/v/k:144/61/6 duration:10013 - - - 1006.854 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:32 UTC comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/test]: Add chunk: id:1 a/v/k:433/62/6 duration:10013 - - - 1006.861 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:33 UTC comment server INFO 200 - MPEGDashWriterHandler.createSegmentM4S[live/_definst_/test][a/v]: Add segment: id:1 type:m4s\_audio a:432 start:0 duration:10031 - - - 1007.468 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:33 UTC comment server INFO 200 - MPEGDashWriterHandler.createSegmentM4S[live/_definst_/test][a/v]: Add segment: id:1 type:m4s\_video v/k:61/6 start:0 duration:10013 - - - 1007.469 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:33 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:video id:4 count:12 duration:1991 - - - 1007.812 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:33 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:audio id:3 count:87 duration:2020 - - - 1007.916 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:35 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:video id:5 count:12 duration:1675 - - - 1009.788 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:35 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:audio id:4 count:87 duration:2020 - - - 1009.8 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:37 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:video id:6 count:12 duration:1841 - - - 1011.697 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:37 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:audio id:5 count:87 duration:2020 - - - 1011.921 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:39 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:video id:7 count:12 duration:2010 - - - 1013.729 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:39 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:audio id:6 count:87 duration:2020 - - - 1013.934 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:41 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:video id:8 count:12 duration:1992 - - - 1015.594 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:41 UTC comment server INFO 200 - WebSocketSession.create[2012597295] - - - 1015.617 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:41 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:audio id:7 count:87 duration:2020 - - - 1015.94 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:41 UTC comment server WARN 200 - WebRTCCommands.getOffer[live/_definst_/test\_opus]: STATUS\_STREAM\_NOT\_READY: test\_opus - - - 1015.952 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:43 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:video id:9 count:12 duration:1960 - - - 1017.618 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:43 UTC comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/test]: Add chunk: id:2 a/v/k:505/73/6 duration:11701 - - - 1017.62 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:43 UTC comment server INFO 200 - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/test]: Add chunk: id:2 mode:TS[H264,AAC] a/v/k:168/72/6 duration:11701 - - - 1017.62 - - - - - - - - - - - - - - - - - - - - - - - - -  
2021-01-06 14:23:43 UTC comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/test]: Add chunk: type:audio id:8 count:87 duration:2020 - - - 1017.838 - - - - - - - - - - - - - - - - - - - - - - - - -

Thanks  
Yossi

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [January 6, 2021, 5:54pm UTC](https://community.wowza.com/t/audio-transcoding/92635/4 "2021-01-06T17:54:22Z")

</div>

Well that stinks, I don’t see anything jumping out at me as far as why not in the logs and why it doesn’t like that 44100Hz. It will require the change to stereo as well for the audio to work, did you change that as _well?_

_If your source isn’t configured to send stereo audio, in the `<Decode> / <Audio>` container, set the **default.scaleChannels** parameter to **2** to force any mono audio frames to stereo by duplicating the mono stream for both the left and right channels._

WebRTC can be a complicated protocol for a lot of reasons that aren’t always your fault. The engineers are requesting a support ticket so they can further investigate this issue.

They’ll need to replicate and test which means uploading your files and logs through a ticket here:

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)

They can quickly identify what the problem is here @Yossi_Dar

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [January 6, 2021, 6:00pm UTC](https://community.wowza.com/t/audio-transcoding/92635/5 "2021-01-06T18:00:35Z")

</div>

I think I am seeing it is only 1 channel though in the logs, it needs to be stereo for webrtc audio to work. Also disable B frames in the encoder settings for a better WebRTC stream, it doesn’t like B-frames.
