English 中文(简体)
保持Alive RtspLink
原标题:Keeping Alive Rtsp Connection

我有一个简单的Rtsp客户......客户向Rtsp服务器发送Rtsp突击队,并从服务器中获取RTP包装。

The problem is that after a time( about 3-4 minute) my 3rd party RTSP Server drop connection with my RTSP Client.

我没有实施RTCP。 我从土库服务器中拿到rt包,但没有寄出任何RTCP PACKET。

I make simple search and find that some guys use some RTSP commands[ like OPTIONS, SET PARAMETER-GET PARAMETER ] too keep alive Connections between RTSP Server and Client... But in my case that does not work...

www.un.org/Depts/DGACM/index_spanish.htm 我的问题是:。

  1. What is the best way to keep alive connection with RTSP server?
  2. Do i have to implement RTCP [ send RTCP packets to server]? May the connection drop because i do not send RTCP packets to server?
最佳回答

您在SETUP反应中获得的时间分配价值如何? 你们是否利用这一价值来保持活力?

Session = "Session" ":" session-id [ ";" "timeout" "=" delta-seconds ]

一般说来,RTSP基于TCP, RTP基于UDP。 理想的情况是,这两个渠道都需要保持活力。 如果审校会议闭幕,并不意味着RTSP的连接也应当被冲破,而审校的频道必须关闭。

(1) 保持与RTSP服务器的联系的最佳途径是什么? ---> Send any RTSP request periodic (OPTIONS, SET_PARAMETER or GET_PARAMETER) before timeout Value received in SETUP response.

2) 是否必须实施RTCP[向服务器发送RTCP包]? 由于不向服务器发送RTCP包裹,连接是否会减少? RFC(RTSP或RTP)没有要求RTCP保持RTP的渠道。

问题回答

提出《任择议定书》要求,对我来说是徒劳的。

The only RTSP command that I could send to keep the connection alive was GET_PARAMETER

我的发言时间是60天,我每40天发出一个GET_PARAMETER要求。

象一个药店一样工作!

(无,您不必向服务器发送视频会议包裹)





相关问题
h264 RTP timestamp

I have a confusion about the timestamp of h264 RTP packet. I know the wall clock rate of video is 90KHz which I defined in the SIP SDP. The frame rate of my encoder is not exactly 30 FPS, it is ...

How can I mux/demux RTP media from one stream?

Currently, I m finding a lib able to stream video from multiple sources through one RTP Stream (one connection). Anbody have sugesstion on it? Actually, I figured out that Opal 3.8 is VoIP lib, ...

Rtp on Java beginners help?

I have started playing around with RTP on Java in Android and was wondering if anyone could give me a bit of help or guidance. Here is the code I have started on: public void rtpTest() throws ...

H264 RTP packet parsing [closed]

I am looking for source code of RTP Payload Format for H.264 Video according to RFC(3984). It would be great if someone can point out it. Also I am looking for wireshark plugin which can show me the ...

Reasons to use RTP when streaming a pre-existing file?

The only reason I could think of for using RTP to transfer a pre-existing file is if you re trying to monitor the amount of time a user is streaming the file, like if you re running a time-based On-...

udp socket options for sendng RTP

I am opening socket on windows platform for sending RTP voice packets. The application is softphone. What preferable options should be set on this socket.

RTP 溪流中的MPEG4/H264 I-Frame (IDR)

我需要探测RPG4 I-Frame在RPTP包装中。 我知道如何去除区域边界评估的头盔,使区域空间评估4框架进入其中,但我可以说明如何确定I-Frame。

热门标签