Wowza Community

Rehash of mixing audio stream with video stream using AVMIX module

Looked at several posts and reviewed several Wowza docs. Not sure what I am missing.

Concerning Wowza Doc: https://www.wowza.com/docs/how-to-mix-audio-and-video-from-different-live-sources-moduleavmix#avMixNames

Goal:

To take a live video stream and add music from our radio station within the wowza server engine.

Situation:

I have an audio stream in application one (called App-1) and a video stream in application two (called App-2). I created a third application (called App-3) and using the Duplicate Streams Module in App-1 and App-2 have sent a copy of streams to App-3. Within App-3 I now see both Video Stream 1 and Audio Stream 1 in the incoming Stream section of the manager. I verified that this part of my process is working correctly by connecting to each stream in App-3 with its respective name and both play correctly.

I loaded the AVMix module in the module section of App-3.

ModuleCoreSecurityCore Security Module for Applicationscom.wowza.wms.security.ModuleCoreSecurity

I then went into the custom properties section and added:

PathNameTypeValue/Root/ApplicationsecurityPublishRequirePasswordBooleantrue/Root/ApplicationpushPublishMapPathString${com.wowza.wms.context.VHostConfigHome}/conf/${com.wowza.wms.context.Application}/PushPublishMap.txt/Root/ApplicationavMixNamesStringoutputName: combined | videoName: Stream_1 | audioName: Stream_2 | sortDelay: 12000/Root/Application/LiveStreamPacketizercupertinoCreateAudioVideoRenditionBooleantrue/Root/Application/LiveStreamPacketizercupertinoCreateVideoOnlyRenditionBooleantrue

That is a far as the article listed above goes.

I try to play from http://wowzaserver:port/App-3/combined/playlist.m3u8 and I get the file not found error.

I feel like maybe missing a step and need to create an sdp or smil file that will point to the stream called “combined” listed in the avmixNames property string.

In my error log I see:

2017-11-10
09:58:23 comment
application ModuleAVMix.loadConfig Video Name not set for Output Stream: combined Audio Name not set for Output Stream: combined [outputName: stitch ] 2017-11-10
09:58:23 comment
application ModuleAVMix.loadConfig Output Name is empty. Cannot create Output Stream. [ videoName: Stream_1] 2017-11-10
09:58:23 comment
application ModuleAVMix.loadConfig Output Name is empty. Cannot create Output Stream. [ audioName: Stream_2 ] 2017-11-10
09:58:23 comment
application ModuleAVMix.loadConfig Output Name is empty. Cannot create Output Stream. [ sortDelay: 12000] 2017-11-10
09:58:23 comment
server MediaStream.notifyActionPublish[App-3/definst/Stream_2] :
java.lang.NullPointerException|at com.wowza.wms.plugin.avmix.AVMixer.addStream(AVMixer.java:228)|at com.wowza.wms.plugin.avmix.ModuleAVMix$StreamListener.onPublish
(ModuleAVMix.java:30)|at com.wowza.wms.stream.MediaStream.notifyActionPublish
(MediaStream.java:2365)|at com.wowza.wms.stream.publish.Publisher.publish(Publisher.java:445)|at com.wowza.wms.stream.publish.Publisher.publish(Publisher.java:309)|

By the logs it looks like my issue is with my outputName: property setting. I changed the name still get the same and get the same error log.

Additional question: Are there specific video and audio stream types can be mixed together and some that cannot. If so what are the ones that will mix and the ones that will not mix?

Thank you for your consideration!