Function rusteron_archive::bindings::aeron_archive_start_recording
source ยท pub unsafe extern "C" fn aeron_archive_start_recording(
subscription_id_p: *mut i64,
aeron_archive: *mut aeron_archive_t,
recording_channel: *const c_char,
recording_stream_id: i32,
source_location: aeron_archive_source_location_t,
auto_stop: bool,
) -> c_int
Expand description
Start recording a channel/stream pairing.
Channels that include session id parameters are considered different than channels without session ids. If a publication matches both a session id specific channel recording and a non session id specific recording, it will be recorded twice.
@param subscription_id_p out param set to the subscription id of the recording @param aeron_archive the archive client @param recording_channel the channel of the publication to be recorded @param recording_stream_id the stream id of the publication to be recorded @param source_location the source location of the publication to be recorded @param auto_stop should the recording be automatically stopped when complete @return 0 for success, -1 for failure