[Live-devel] RTSP Server suddenly stops streaming

Tiago Fonseca Tiago.Fonseca at vision-box.com
Wed Oct 21 09:17:00 PDT 2015


Your explanation about fDurationInMicroseconds really helped me understanding a little bit more about FramedSource.

About h264 stream stop, I removed any delays that I was inserting in deliverFrame() and still no improvement.
Here is the output from Wireshark:
348458	2024.774850000	10.5.2.39	192.168.5.165	UDP	1498	Source port: 6970  Destination port: 63436
348459	2024.774889000	10.5.2.39	192.168.5.165	UDP	1498	Source port: 6970  Destination port: 63436
348460	2024.774928000	10.5.2.39	192.168.5.165	UDP	174	Source port: 6970  Destination port: 63436
348461	2027.421479000	10.5.2.39	192.168.5.165	UDP	94	Source port: 6971  Destination port: 63437
348462	2033.509549000	10.5.2.39	192.168.5.165	UDP	94	Source port: 6971  Destination port: 63437
348463	2035.429099000	192.168.5.165	10.5.2.39	RTSP	199	TEARDOWN rtsp://10.5.2.39/NgRtspStream/ RTSP/1.0
348464	2035.429352000	192.168.5.165	10.5.2.39	TCP	60	54825→554 [FIN, ACK] Seq=4493 Ack=3333 Win=16338 Len=0
348465	2035.429499000	10.5.2.39	192.168.5.165	TCP	54	554→54825 [ACK] Seq=3333 Ack=4494 Win=254 Len=0
348466	2035.429615000	10.5.2.39	192.168.5.165	RTSP	120	Reply: RTSP/1.0 200 OK
Wireshark file: https://meocloud.pt/link/ae0cea39-bb63-4790-9e12-69d3d7accac9/RTSPLive555Server_stop3_part.pcapng/

As you can see, packet send rate begin to slow down, until client shuts the stream down.
>From my encoder logging, I can see that it is running and encoding as expected and there is always an available frame to be sent.
Any ideas on logging points to help me understand where the problem might be?

Best regards,
Tiago Fonseca


AVISO DE CONFIDENCIALIDADE: Este e-mail e quaisquer ficheiros informáticos com ele transmitidos são confidenciais e destinados ao conhecimento e uso exclusivo do respectivo destinatário, não podendo o conteúdo dos mesmos ser alterado. Caso tenha recebido este e-mail indevidamente, queira informar de imediato o remetente e proceder à destruição da mensagem. 



CONFIDENTIALITY WARNING: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Their contents may not be altered. If you have received this e-mail in error please notify the sender and destroy it immediately.




More information about the live-devel mailing list