Skip to content

Commit c66f08f

Browse files
fj-cloud-infraRelease Automation BotPiotrWodecki
authored
Release v0.27.0 (#80)
* chore: bump version to 0.27.0 * Update protos * test: classify ServerMessageNotificationBatch as ignored Webhook-only transport wrapper added in the latest proto update; the WebSocket notifier never receives it. Mirrors the classification in the JS server SDK. --------- Co-authored-by: Release Automation Bot <release-bot@fishjam-cloud.io> Co-authored-by: PiotrWodecki <Piotr.M.Wodecki@gmail.com>
1 parent 4adca6a commit c66f08f

49 files changed

Lines changed: 339 additions & 121 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

fishjam/_openapi_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""A client library for accessing Fishjam Media Server"""
1+
"""A client library for accessing Fishjam API"""
22

33
from .client import AuthenticatedClient, Client
44

File renamed without changes.

fishjam/_openapi_client/api/moq/create_moq_token.py renamed to fishjam/_openapi_client/api/mo_q/create_moq_token.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ def sync_detailed(
7676
client: AuthenticatedClient,
7777
body: MoqTokenConfig | Unset = UNSET,
7878
) -> Response[Error | MoqToken]:
79-
"""Creates a MoQ token for the given stream
79+
"""Create a MoQ token
80+
81+
Issue a short-lived JWT for a Media over QUIC client.
8082
8183
Args:
8284
body (MoqTokenConfig | Unset): MoQ token configuration
@@ -105,7 +107,9 @@ def sync(
105107
client: AuthenticatedClient,
106108
body: MoqTokenConfig | Unset = UNSET,
107109
) -> Error | MoqToken | None:
108-
"""Creates a MoQ token for the given stream
110+
"""Create a MoQ token
111+
112+
Issue a short-lived JWT for a Media over QUIC client.
109113
110114
Args:
111115
body (MoqTokenConfig | Unset): MoQ token configuration
@@ -129,7 +133,9 @@ async def asyncio_detailed(
129133
client: AuthenticatedClient,
130134
body: MoqTokenConfig | Unset = UNSET,
131135
) -> Response[Error | MoqToken]:
132-
"""Creates a MoQ token for the given stream
136+
"""Create a MoQ token
137+
138+
Issue a short-lived JWT for a Media over QUIC client.
133139
134140
Args:
135141
body (MoqTokenConfig | Unset): MoQ token configuration
@@ -156,7 +162,9 @@ async def asyncio(
156162
client: AuthenticatedClient,
157163
body: MoqTokenConfig | Unset = UNSET,
158164
) -> Error | MoqToken | None:
159-
"""Creates a MoQ token for the given stream
165+
"""Create a MoQ token
166+
167+
Issue a short-lived JWT for a Media over QUIC client.
160168
161169
Args:
162170
body (MoqTokenConfig | Unset): MoQ token configuration
File renamed without changes.

fishjam/_openapi_client/api/room/add_peer.py renamed to fishjam/_openapi_client/api/rooms/add_peer.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ def sync_detailed(
9696
client: AuthenticatedClient,
9797
body: PeerConfig | Unset = UNSET,
9898
) -> Response[Error | PeerDetailsResponse]:
99-
"""Create peer
99+
"""Create a peer
100+
101+
Add a peer to a room and return its connection token.
100102
101103
Args:
102104
room_id (str):
@@ -128,7 +130,9 @@ def sync(
128130
client: AuthenticatedClient,
129131
body: PeerConfig | Unset = UNSET,
130132
) -> Error | PeerDetailsResponse | None:
131-
"""Create peer
133+
"""Create a peer
134+
135+
Add a peer to a room and return its connection token.
132136
133137
Args:
134138
room_id (str):
@@ -155,7 +159,9 @@ async def asyncio_detailed(
155159
client: AuthenticatedClient,
156160
body: PeerConfig | Unset = UNSET,
157161
) -> Response[Error | PeerDetailsResponse]:
158-
"""Create peer
162+
"""Create a peer
163+
164+
Add a peer to a room and return its connection token.
159165
160166
Args:
161167
room_id (str):
@@ -185,7 +191,9 @@ async def asyncio(
185191
client: AuthenticatedClient,
186192
body: PeerConfig | Unset = UNSET,
187193
) -> Error | PeerDetailsResponse | None:
188-
"""Create peer
194+
"""Create a peer
195+
196+
Add a peer to a room and return its connection token.
189197
190198
Args:
191199
room_id (str):

fishjam/_openapi_client/api/room/create_room.py renamed to fishjam/_openapi_client/api/rooms/create_room.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ def sync_detailed(
8181
client: AuthenticatedClient,
8282
body: RoomConfig | Unset = UNSET,
8383
) -> Response[Error | RoomCreateDetailsResponse]:
84-
"""Creates a room
84+
"""Create a room
85+
86+
Create a new room with the given configuration.
8587
8688
Args:
8789
body (RoomConfig | Unset): Room configuration
@@ -110,7 +112,9 @@ def sync(
110112
client: AuthenticatedClient,
111113
body: RoomConfig | Unset = UNSET,
112114
) -> Error | RoomCreateDetailsResponse | None:
113-
"""Creates a room
115+
"""Create a room
116+
117+
Create a new room with the given configuration.
114118
115119
Args:
116120
body (RoomConfig | Unset): Room configuration
@@ -134,7 +138,9 @@ async def asyncio_detailed(
134138
client: AuthenticatedClient,
135139
body: RoomConfig | Unset = UNSET,
136140
) -> Response[Error | RoomCreateDetailsResponse]:
137-
"""Creates a room
141+
"""Create a room
142+
143+
Create a new room with the given configuration.
138144
139145
Args:
140146
body (RoomConfig | Unset): Room configuration
@@ -161,7 +167,9 @@ async def asyncio(
161167
client: AuthenticatedClient,
162168
body: RoomConfig | Unset = UNSET,
163169
) -> Error | RoomCreateDetailsResponse | None:
164-
"""Creates a room
170+
"""Create a room
171+
172+
Create a new room with the given configuration.
165173
166174
Args:
167175
body (RoomConfig | Unset): Room configuration

fishjam/_openapi_client/api/room/delete_peer.py renamed to fishjam/_openapi_client/api/rooms/delete_peer.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ def sync_detailed(
7575
*,
7676
client: AuthenticatedClient,
7777
) -> Response[Any | Error]:
78-
"""Delete peer
78+
"""Delete a peer
79+
80+
Remove a peer from a room and disconnect it.
7981
8082
Args:
8183
room_id (str):
@@ -107,7 +109,9 @@ def sync(
107109
*,
108110
client: AuthenticatedClient,
109111
) -> Any | Error | None:
110-
"""Delete peer
112+
"""Delete a peer
113+
114+
Remove a peer from a room and disconnect it.
111115
112116
Args:
113117
room_id (str):
@@ -134,7 +138,9 @@ async def asyncio_detailed(
134138
*,
135139
client: AuthenticatedClient,
136140
) -> Response[Any | Error]:
137-
"""Delete peer
141+
"""Delete a peer
142+
143+
Remove a peer from a room and disconnect it.
138144
139145
Args:
140146
room_id (str):
@@ -164,7 +170,9 @@ async def asyncio(
164170
*,
165171
client: AuthenticatedClient,
166172
) -> Any | Error | None:
167-
"""Delete peer
173+
"""Delete a peer
174+
175+
Remove a peer from a room and disconnect it.
168176
169177
Args:
170178
room_id (str):

fishjam/_openapi_client/api/room/delete_room.py renamed to fishjam/_openapi_client/api/rooms/delete_room.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ def sync_detailed(
7272
*,
7373
client: AuthenticatedClient,
7474
) -> Response[Any | Error]:
75-
"""Delete the room
75+
"""Delete a room
76+
77+
Delete a room by id and disconnect all of its peers.
7678
7779
Args:
7880
room_id (str):
@@ -101,7 +103,9 @@ def sync(
101103
*,
102104
client: AuthenticatedClient,
103105
) -> Any | Error | None:
104-
"""Delete the room
106+
"""Delete a room
107+
108+
Delete a room by id and disconnect all of its peers.
105109
106110
Args:
107111
room_id (str):
@@ -125,7 +129,9 @@ async def asyncio_detailed(
125129
*,
126130
client: AuthenticatedClient,
127131
) -> Response[Any | Error]:
128-
"""Delete the room
132+
"""Delete a room
133+
134+
Delete a room by id and disconnect all of its peers.
129135
130136
Args:
131137
room_id (str):
@@ -152,7 +158,9 @@ async def asyncio(
152158
*,
153159
client: AuthenticatedClient,
154160
) -> Any | Error | None:
155-
"""Delete the room
161+
"""Delete a room
162+
163+
Delete a room by id and disconnect all of its peers.
156164
157165
Args:
158166
room_id (str):

fishjam/_openapi_client/api/room/get_all_rooms.py renamed to fishjam/_openapi_client/api/rooms/get_all_rooms.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ def sync_detailed(
5353
*,
5454
client: AuthenticatedClient,
5555
) -> Response[Error | RoomsListingResponse]:
56-
"""Show information about all rooms
56+
"""List all rooms
57+
58+
List all rooms and livestreams.
5759
5860
Raises:
5961
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -76,7 +78,9 @@ def sync(
7678
*,
7779
client: AuthenticatedClient,
7880
) -> Error | RoomsListingResponse | None:
79-
"""Show information about all rooms
81+
"""List all rooms
82+
83+
List all rooms and livestreams.
8084
8185
Raises:
8286
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -95,7 +99,9 @@ async def asyncio_detailed(
9599
*,
96100
client: AuthenticatedClient,
97101
) -> Response[Error | RoomsListingResponse]:
98-
"""Show information about all rooms
102+
"""List all rooms
103+
104+
List all rooms and livestreams.
99105
100106
Raises:
101107
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -116,7 +122,9 @@ async def asyncio(
116122
*,
117123
client: AuthenticatedClient,
118124
) -> Error | RoomsListingResponse | None:
119-
"""Show information about all rooms
125+
"""List all rooms
126+
127+
List all rooms and livestreams.
120128
121129
Raises:
122130
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

fishjam/_openapi_client/api/room/get_room.py renamed to fishjam/_openapi_client/api/rooms/get_room.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ def sync_detailed(
7474
*,
7575
client: AuthenticatedClient,
7676
) -> Response[Error | RoomDetailsResponse]:
77-
"""Shows information about the room
77+
"""Get a room
78+
79+
Get a room by id.
7880
7981
Args:
8082
room_id (str):
@@ -103,7 +105,9 @@ def sync(
103105
*,
104106
client: AuthenticatedClient,
105107
) -> Error | RoomDetailsResponse | None:
106-
"""Shows information about the room
108+
"""Get a room
109+
110+
Get a room by id.
107111
108112
Args:
109113
room_id (str):
@@ -127,7 +131,9 @@ async def asyncio_detailed(
127131
*,
128132
client: AuthenticatedClient,
129133
) -> Response[Error | RoomDetailsResponse]:
130-
"""Shows information about the room
134+
"""Get a room
135+
136+
Get a room by id.
131137
132138
Args:
133139
room_id (str):
@@ -154,7 +160,9 @@ async def asyncio(
154160
*,
155161
client: AuthenticatedClient,
156162
) -> Error | RoomDetailsResponse | None:
157-
"""Shows information about the room
163+
"""Get a room
164+
165+
Get a room by id.
158166
159167
Args:
160168
room_id (str):

0 commit comments

Comments
 (0)