3.1.4 Higher-Layer Triggered Events
When the higher-layer application or protocol requests to disconnect the Miracast connection, the Sink MUST send the Stop Projection message (section 2.2.2) to the Source to stop the projection of the multimedia data stream. After sending this message, the Sink MUST close the RTSP and TCP port 7250 session.