Wowza Community

retransmitting stream from camera

HI,

I’ve configured the server following this instruction:

Re-streaming an RTSP stream through Wowza Pro (RTSP/RTP))

After entering correct informations and clicking play button on /examples/LiveVideoStreaming/client/live.html I’m getting the blank/black video stream.

This camera supports only RTP over UDP

There is some error on the server side:

"DEBUG server comment - status: 400

DEBUG server comment - response: Bad"

What is causing this problem, please help :slight_smile:

This is full log from the server:

"DEBUG server comment - DESCRIBE: SDP: trackCount:1 trackNames:[track1,header]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://195.205.xx.xx/track1

DEBUG server comment - *** RTSPMessageSend ***

SETUP rtsp://195.205.xx.xx/track1 RTSP/1.0

Transport: RTP/AVP/TCP;unicast;interleaved=0-1

CSeq: 3

DEBUG server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:SETUP

SETUP rtsp://195.205.xx.xx/track1 RTSP/1.0

Transport: RTP/AVP/TCP;unicast;interleaved=0-1

CSeq: 3

DEBUG server comment - date: Mon, Jan 05 2004 14:40:20 GMT

DEBUG server comment - allow: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN

DEBUG server comment - uri: RTSP/1.0 400 Bad Request

DEBUG server comment - protocol: RTSP/1.0

DEBUG server comment - status: 400

DEBUG server comment - response: Bad

DEBUG server comment - date: Mon, Jan 05 2004 14:40:20 GMT

DEBUG server comment - allow: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN

ERROR server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: CSeq less than zero

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO server comment - RTPSessionTracker.remove[rtsp://admin:xxxx@195.205.xx.xx]: 0:true"

best regards

Piotr Polok

Try following these instructions:

https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming)

Charlie

There is an example in each of these posts of transcoding the video in an RTSP stream to h.264 for Wowza re-streaming:

https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts)

https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)

Richard

HI,

Thank you for the replay. This camera does not support H.264 and its why I can not go by this steps.

I’v tested the camera with ffmpeg and downloading the stream is possible.

Do you have other idea how to solve the problem?

br

Piotr Polok

Maybe the problem is that the camera is RTP over UDP while the “Transport” in the server is TCP

Transport: RTP/AVP/TCP;unicast;interleaved=0-1

HI,

Thank you very much for the reply. This solution is solving my problem.

best regards

Piotr Polok