The rtmp data stream was interrupted after pushing to the Twitch platform for more than 30 seconds

I am currently developing an embedded rtmp streaming device to push rtmp data streams to the twitch platform, but found that after about 30 seconds of streaming, witch actively stopped the streaming;
As you can see from the messages caught by wireshark, when my device has been pushing audio and video data to the twitch server, after about 30 seconds the server sends a TCP FIN, then a TCP RST, and then the stream is cut off;
I tried to do the same with obs and ffmpeg, and they both behaved normally;
How can I solve this problem?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.