Thank you for the reply Luca it has been a great help.
I used wireshark and ffplay and found that RTCP packets are, like you said,
sent to the camera. I will look into the problem with the SSRC values.

I do have a question about the frequency of the  RTCP RR packets:
I used wireshark with mplayer to connect to a RTSP camera. I noticed that
mplayer sends a RTCP RR packet for each sender report received from the
camera (Approx every 2 seconds).

FFplay on the other hand does not reply to every sender report. It sends a
single RTCP RR packet to the camera before the camera closes the connection after
approx 1 min.

Is it possible to increase the frequency of RTCP RR packets sent to the camera?

On 28/06/10 22:00, Luca Abeni wrote:
> On 06/28/2010 07:54 AM, Jeffrey Barnes wrote:
>> Hello
>>
>> I have the same problem when using ffmpeg to save RTSP streams
>> from Axis IP cameras. I am able to start streaming from the camera
>> using av_open_input_file() and av_read_frame(), but the stream from
>> the camera stops after approx 1minute.
>>
>> The camera requires RTCP receiver reports to keep the
>> connection alive. I have analysed network traffic to the camera, and
>> no RTCP reports are sent to the camera when reading RTP packets
>
> I just tried, and I can see RTCP RR packets with wireshark, when playing
> an RTSP URL with ffplay.
> The problem might be that those RTCP RR packets contain a wrong SSRC
> value (the source SSRC seems to be used for the receiver, too). Hence,
> the axis camera might be discarding them.

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to