IPC crashes when returning to the foreground from the background with the message "Terminated due to signal 13 ?[0m pipe socket recv eof or error, -57(socket is not connected)"
Last Updated on:2024-09-19 02:35:36
Solution: 1. When entering the background, you need to stop video playback and disconnect the p2p connection. 2. Refer to this https://stackoverflow.com/questions/18935446/program-received-signal-sigpipe-broken-pipe/18963142#18963142, and handle the sigpipe signal.