@aperture-browser/session-react 0.0.0-nightly.100.78b4e7ef6edc → 0.0.0-nightly.101.c63f90ec6164

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1953,15 +1953,16 @@ function useBrowserControl({ access, displayName, enabled = true, webrtcProducer
1953
1953
  } catch {}
1954
1954
  }, []);
1955
1955
  const settleRecording = (effect, failure) => effect.pipe(Effect.catch((error) => notify("error", errorMessage(error, failure))), Effect.ensuring(Effect.sync(() => setRecordingBusy(false))));
1956
- const runStartRecording = useEffectCallback((mode, targetId) => settleRecording(live.request("recording.start", {
1956
+ const runStartRecording = useEffectCallback((mode, targetId, settings) => settleRecording(live.request("recording.start", {
1957
1957
  mode,
1958
- targetId
1958
+ targetId,
1959
+ ...settings
1959
1960
  }), "Recording failed to start"), [live]);
1960
- const startRecording = useCallback((mode) => {
1961
+ const startRecording = useCallback((mode, settings) => {
1961
1962
  const targetId = activeTargetIdRef.current;
1962
1963
  if (!targetId || !canRecord || recordingBusy) return;
1963
1964
  setRecordingBusy(true);
1964
- runStartRecording(mode, targetId);
1965
+ runStartRecording(mode, targetId, settings);
1965
1966
  }, [
1966
1967
  canRecord,
1967
1968
  recordingBusy,
@@ -2225,4 +2226,4 @@ function useSession({ access, displayName, onNotice }) {
2225
2226
  //#endregion
2226
2227
  export { makeApertureRuntime as a, collaborationPaintLifetimeMs as c, RuntimeProviderMissingError as d, useBaseUrl as f, useRuntime as g, useRunApi as h, ApertureProvider as i, useLiveSession as l, useFork as m, shareSessionAccess as n, useBrowserControl as o, useEffectCallback as p, useSession as r, SessionViewport as s, LiveSessionError$1 as t, RuntimeProvider as u };
2227
2228
 
2228
- //# sourceMappingURL=headless-CPoXwbFz.js.map
2229
+ //# sourceMappingURL=headless-0KVuQrnF.js.map