Edimax IP camera problem

Hi,

I faced some strange issue with the stream from Edimax IP cameras.

Edimax codecs: H264 (Constrained Baseline Profile)/G.711

Video doesn’t work.

But there is audio!!!

And there are a lot of errors inside log file.

2014-04-03	14:08:53	IDT	comment	server	ERROR	500	-	LiveStreamPacketizerPacketHandler.handleHolder[live/_definst_/test.stream] : java.lang.NullPointerException|at com.wowza.wms.httpstreamer.mpegdashstreaming.livestreampacketizer.MPEGDashWriterHandler.createChunkM4S(MPEGDashWriterHandler.java:1435)|at com.wowza.wms.httpstreamer.mpegdashstreaming.livestreampacketizer.MPEGDashWriterHandler.endChunk(MPEGDashWriterHandler.java:507)|at com.wowza.wms.httpstreamer.model.LiveStreamPacketizerPacketHandler.endChunk(LiveStreamPacketizerPacketHandler.java:1031)|at com.wowza.wms.httpstreamer.model.LiveStreamPacketizerPacketHandler.handleHolderInternal(LiveStreamPacketizerPacketHandler.java:793)|at com.wowza.wms.httpstreamer.model.LiveStreamPacketizerPacketHandler.handleHolder(LiveStreamPacketizerPacketHandler.java:597)|

I checked with FFPROBE

 ffprobe rtsp://admin:1234@192.168.10.95:554/ipcam_h264.sdp
Input #0, rtsp, from 'rtsp://admin:1234@192.168.10.95:554/ipcam_h264.sdp':
  Metadata:
    title           : IPCam
  Duration: N/A, start: 0.000000, bitrate: 64 kb/s
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 640x480, 15 tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: pcm_alaw, 8000 Hz, 1 channels, s16, 64 kb/s

VLC:

Thanks,

any ideas appreciated

Hi,

When you say that video doesn’t work, can you please be more specific? Which streaming protocol are you using for playback? Which player?

Zoran

Hi,

Can you please add/enable the following .stream properties:

rtspFilterUnknownTracks : true

rtpIgnoreProfileLevelId : true

rtpIgnoreSPropParameterSets : true

Please use the instructions from the following forum article to enable these .stream settings: How to specify per-stream settings in .stream files

Zoran

Great.

Thank you for the update.

Zoran

Hi, I use RTMP protocol and a player from FlashRTMPPlayer provided with Wowza installation.

Wowza…: 4.0.3

Protocol.: RTMP

Player…: a player from FlashRTMPPlayer provided with Wowza installation

Conf…: Example configuration from example/live

Another IP cams (Panasonic, D-Link) work properly.

Thanks

Hi,

I’ve added the properties.

But still.

There is no video

There is audio

{
  "uri": "rtsp://admin:1234@192.168.10.95:554/ipcam_h264.sdp",
  "rtspFilterUnknownTracks": "true",
  "rtpIgnoreProfileLevelId": "true",
  "rtpIgnoreSPropParameterSets": "true"
}

And NullPointerException in logs:

2014-04-03	14:10:04	IDT	comment	server	ERROR	500	-	LiveStreamPacketizerPacketHandler.handleHolder[live/_definst_/test.stream] : java.lang.NullPointerException|at com.wowza.wms.httpstreamer.mpegdashstreaming.livestreampacketizer.MPEGDashWriterHandler.createChunkM4S(MPEGDashWriterHandler.java:1435)|at com.wowza.wms.httpstreamer.mpegdashstreaming.livestreampacketizer.MPEGDashWriterHandler.endChunk(MPEGDashWriterHandler.java:507)|at com.wowza.wms.httpstreamer.model.LiveStreamPacketizerPacketHandler.endChunk(LiveStreamPacketizerPacketHandler.java:1031)|at com.wowza.wms.httpstreamer.model.LiveStreamPacketizerPacketHandler.handleHolderInternal(LiveStreamPacketizerPacketHandler.java:793)|at com.wowza.wms.httpstreamer.model.LiveStreamPacketizerPacketHandler.handleHolder(LiveStreamPacketizerPacketHandler.java:597)|	-

I could open IP camera to outside.

Ok.

Solved.

RTPTransportMode: "udp"

Camera doesn’t support RTP over TCP.

The following JSON works:

GOOD

{
  "uri": "rtsp://admin:1234@192.168.10.95:554/ipcam_h264.sdp",
  "rtpTransportMode":"udp"
}

Thanks