gortsplib icon indicating copy to clipboard operation
gortsplib copied to clipboard

If the client is backChannelSupported, then keepaliveTimer will not take effect?

Open kooksee opened this issue 1 year ago • 1 comments

https://github.com/bluenviron/gortsplib/blob/a9149e031f139686c4623f8da643d149204c57b6/client.go#L807

  • I found that when the client's RequestBackChannels are true, the connection will disconnect every little over a minute, WritePacketRTP will encounter EOF error
  • After my investigation, I found that client keepalived doesn't seem to be taking effect
  • I took out the initialization logic of KeepaliveTimer, and then the client worked normally
  • I would like to ask, is it because I used it improperly or is it a bug 图片

kooksee avatar May 23 '24 09:05 kooksee

Hello, thanks for creating this issue, i think this is a bug, caused by the fact that back channels have not been tested extensively due to lack of available hardware.

Can you write the exact lines you changed in order to make the library work with back channels and keepalives?

aler9 avatar Jun 30 '24 22:06 aler9

This issue is being locked automatically because it has been closed for more than 6 months. Please open a new issue in case you encounter a similar problem.

bluenviron-bot avatar Nov 07 '25 05:11 bluenviron-bot