bluenviron / gortsplib

RTSP 1.0 client and server library for the Go programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

kooksee opened this issue · comments

if c.state == clientStatePlay && c.stdChannelSetupped {

  • 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
图片

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?