diff --git a/fishjam/_fishjam_openapi_client/api/recordings/create_recording.py b/fishjam/_fishjam_openapi_client/api/recordings/create_recording.py index b26ead4..27edba1 100644 --- a/fishjam/_fishjam_openapi_client/api/recordings/create_recording.py +++ b/fishjam/_fishjam_openapi_client/api/recordings/create_recording.py @@ -57,6 +57,11 @@ def _parse_response( return response_402 + if response.status_code == 409: + response_409 = Error.from_dict(response.json()) + + return response_409 + if response.status_code == 503: response_503 = Error.from_dict(response.json()) diff --git a/fishjam/_fishjam_openapi_client/api/recordings/stop_recording.py b/fishjam/_fishjam_openapi_client/api/recordings/stop_recording.py index 6b082cd..9d987b2 100644 --- a/fishjam/_fishjam_openapi_client/api/recordings/stop_recording.py +++ b/fishjam/_fishjam_openapi_client/api/recordings/stop_recording.py @@ -73,7 +73,8 @@ def sync_detailed( Request the recorder to stop capturing. Finalization is asynchronous: the recording stays `active` until the capture is finalized, then becomes `finished`. Stopping a recording that is no longer - active is a no-op. + active is a no-op. Stopping a recording whose composition no longer exists, or whose recorder has + already ended, is a no-op as well. Args: recording_id (str): @@ -106,7 +107,8 @@ def sync( Request the recorder to stop capturing. Finalization is asynchronous: the recording stays `active` until the capture is finalized, then becomes `finished`. Stopping a recording that is no longer - active is a no-op. + active is a no-op. Stopping a recording whose composition no longer exists, or whose recorder has + already ended, is a no-op as well. Args: recording_id (str): @@ -134,7 +136,8 @@ async def asyncio_detailed( Request the recorder to stop capturing. Finalization is asynchronous: the recording stays `active` until the capture is finalized, then becomes `finished`. Stopping a recording that is no longer - active is a no-op. + active is a no-op. Stopping a recording whose composition no longer exists, or whose recorder has + already ended, is a no-op as well. Args: recording_id (str): @@ -165,7 +168,8 @@ async def asyncio( Request the recorder to stop capturing. Finalization is asynchronous: the recording stays `active` until the capture is finalized, then becomes `finished`. Stopping a recording that is no longer - active is a no-op. + active is a no-op. Stopping a recording whose composition no longer exists, or whose recorder has + already ended, is a no-op as well. Args: recording_id (str): diff --git a/protos b/protos index 5f84ff1..da96ef1 160000 --- a/protos +++ b/protos @@ -1 +1 @@ -Subproject commit 5f84ff1ebcada392e43fb766dde0622e469076fd +Subproject commit da96ef19f67cefd9ebb818d5f9b8c4c5bece74fa diff --git a/pyproject.toml b/pyproject.toml index e63fbef..0e46525 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "fishjam-server-sdk" -version = "0.30.2" +version = "0.31.0" description = "Python server SDK for the Fishjam" authors = [{ name = "Fishjam Team", email = "contact@fishjam.io" }] requires-python = ">=3.10" diff --git a/uv.lock b/uv.lock index 1816e47..5e6d07b 100644 --- a/uv.lock +++ b/uv.lock @@ -699,7 +699,7 @@ wheels = [ [[package]] name = "fishjam-server-sdk" -version = "0.30.2" +version = "0.31.0" source = { editable = "." } dependencies = [ { name = "aenum" },