aeron-archive/src/main/java/io/aeron/archive/client/AeronArchive.java
public void stopRecording(final Publication publication)
    {
        final String recordingChannel = ChannelUri.addSessionId(publication.channel(), publication.sessionId());

        stopRecording(recordingChannel, publication.streamId());
    }
public void stopRecording(final Publication publication)
    {
        final String recordingChannel = ChannelUri.addSessionId(publication.channel(), publication.sessionId());

        stopRecording(recordingChannel, publication.streamId());
    }
Stop recording a sessionId specific recording that pertains to the given {@link Publication}.

@param publication to stop recording for.