Wowza Community

Wowza throw exception when receive UDP streams

We are sending UDP stream to the wowza, we can use ffmpeg to receive the stream without any problem, but wowza can’t parse the stream and always log the following error message:

> ERROR server comment 2022-01-10 11:36:49 - - - - - 125.335 - - - - - - - - RTPDePacketizerMPEGTS[channel7/_definst_/]: MPEG2MPTS:processNewBuffer() MPEG2SectionAssembler: java.lang.ArrayIndexOutOfBoundsException: -127|at com.wowza.wms.transport.mpeg2.MP4AudioExtensionLOAS.c(|at com.wowza.wms.transport.mpeg2.MP4AudioExtensionLOAS.toString(|at com.wowza.wms.transport.mpeg2.ProgramMapTable$StreamInfo.toString(|at com.wowza.wms.transport.mpeg2.ProgramMapTable.toString(|at com.wowza.wms.rtp.depacketizer.RTPDePacketizerMPEGTS.pmtAvailable(|at com.wowza.wms.transport.mpeg2.MPEG2PMTAssembler.buildTable(|at com.wowza.wms.transport.mpeg2.MPEG2TableAssembler.sectionNotify(|at com.wowza.wms.transport.mpeg2.MPEG2SectionAssembler.b(|at com.wowza.wms.transport.mpeg2.MPEG2SectionAssembler.processMpeg2Packet(|at com.wowza.wms.transport.mpeg2.MPEG2MPTS.processNewBuffer(|at com.wowza.wms.rtp.depacketizer.RTPDePacketizerMPEGTS.handleTransportStreamBlock(|at com.wowza.wms.rtp.depacketizer.RTPDePacketizerMPEGTS.handleRTPPacket(|at com.wowza.wms.rtp.model.RTPTrack$HandleRTPMessage.handleMessage(|at com.wowza.wms.rtp.model.RTPPort.handleMessage(

Can anyone help me to look at this issue, thanks?

Often that error can mean you don’t have the proper Java files running or if you do, they are not configured properly. Here are some tips for any Engine versions 4.7.8 and later:

Wowza Streaming Engine version 4.7.8 and later requires OpenJDK Java SE JRE 9.0.4 at a minimum but supports up to Java version 12.

You must have Java SDK version 9 installed before running the updater.

IF you are running Java 10-12, you must point Engine to the version of Java you are using. If this article doesn’t help the problem. a support ticket is required for technical support to review your Engine files and logs.