Rtmp connection stop for no reason

Hi,im using librtmp develop an app to stream rtmp on twitch,my app works well on nginx rtmp server but not on twitch
after handshake success and send some video and audio data(about 10s), tcp connection was stopped by twitch rtmp server (FIN flag) .Besides,on the twitch web channel its always offline though server have acked some video data
anybody knows the reason?or how can i debug it because no error number,i tried twitch inspector

there is no clear information to debug