Option 1
https://docs.flashphoner.com/display/WCS52EN/Using+OBS+Studio#UsingOBSStudio-Knownissues
flash_rtp_activity_enabled=true
rtp_activity_timeout=10
If no audio or video for 10 seconds, the Stream will be released.
Option 2
rtmp.server_read_socket_timeout = 10
If no data read from...