Contents

stop

Stops the session and terminates media playback on the remote device.

Declaration

- (void) stop;

Discussion

Call this method to end the playback session and clean up resources on both the local and remote devices. After calling this method, the session is terminated and further calls to session methods will have no effect.

The system automatically handles disconnection and cleanup of the remote application or player. If you need to start playback again, create a new AVSystemRouteSession instance.