Function rusteron_archive::bindings::aeron_archive_start_replay

source ยท
pub unsafe extern "C" fn aeron_archive_start_replay(
    replay_session_id_p: *mut i64,
    aeron_archive: *mut aeron_archive_t,
    recording_id: i64,
    replay_channel: *const c_char,
    replay_stream_id: i32,
    params: *mut aeron_archive_replay_params_t,
) -> c_int
Expand description

Start a replay

The lower 32-bits of the replay session id contain the session id of the image of the received replay and can be obtained by casting the replay session id to an int32_t. All 64-bits are required to uniquely identify the replay when calling aeron_archive_stop_replay.

@param replay_session_id_p out param set to the replay session id @param aeron_archive the archive client @param recording_id the id of the recording @param replay_channel the channel to which the replay should be sent @param replay_stream_id the stream id to which the replay should be sent @param params the aeron_archive_replay_params_t that control the behaviour of the replay @return 0 for success, -1 for failure