Skip to content

Commit 6fcafb9

Browse files
committed
Merge branch 'main' into agent-image-capture
2 parents 87216be + 03a0715 commit 6fcafb9

File tree

16 files changed

+63
-57
lines changed

16 files changed

+63
-57
lines changed

.github/workflows/build-and-test-room-manager-amd64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
[[ $(jq -r .peer.name tmp2.json) == "testPeerName" ]]
5959
- name: Test Livestream token endpoint
6060
run: |
61-
curl -vvv "http://127.0.0.1:8080/api/rooms?roomName=live&peerName=peer&roomType=livestream"
61+
curl -vvv "http://127.0.0.1:8080/api/rooms/livestream?roomName=live"
6262
curl -o tmp3.json -s -vvv "http://127.0.0.1:8080/api/rooms/live/livestream-viewer-token"
6363
TOKEN=$(jq -r .token tmp3.json)
6464
# test if it's a json web token

examples/room-manager/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "room-manager",
3-
"version": "0.24.0",
3+
"version": "0.25.0",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

examples/selective-subscription/backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "selective-subscription-backend",
3-
"version": "0.24.0",
3+
"version": "0.25.0",
44
"scripts": {
55
"dev": "bun run --watch src/index.ts",
66
"typecheck": "tsc --noEmit"

examples/selective-subscription/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "selective-subscription-frontend",
33
"private": true,
4-
"version": "0.24.0",
4+
"version": "0.25.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

examples/selective-subscription/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "selective-subscription-demo",
3-
"version": "0.24.0",
3+
"version": "0.25.0",
44
"workspaces": [
55
"frontend",
66
"backend"

examples/transcription/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "transcription-demo",
3-
"version": "0.24.0",
3+
"version": "0.25.0",
44
"scripts": {
55
"test": "echo \"Error: no test specified\" && exit 1",
66
"format": "prettier --write .",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.24.0",
2+
"version": "0.25.0",
33
"license": "Apache-2.0",
44
"workspaces": [
55
"packages/*",

packages/fishjam-openapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fishjam-cloud/fishjam-openapi",
3-
"version": "0.24.0",
3+
"version": "0.25.0",
44
"private": true,
55
"description": "Fishjam OpenAPI",
66
"homepage": "https://github.com/fishjam-cloud/js-server-sdk",

packages/fishjam-openapi/src/generated/api.ts

Lines changed: 48 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Fishjam Media Server
55
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
66
*
7-
* The version of the OpenAPI document: 0.23.0
7+
* The version of the OpenAPI document: 0.24.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,27 +23,6 @@ import type { RequestArgs } from './base';
2323
// @ts-ignore
2424
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
2525

26-
/**
27-
*
28-
* @export
29-
* @interface AddPeerRequest
30-
*/
31-
export interface AddPeerRequest {
32-
/**
33-
*
34-
* @type {PeerOptions}
35-
* @memberof AddPeerRequest
36-
*/
37-
'options': PeerOptions;
38-
/**
39-
*
40-
* @type {PeerType}
41-
* @memberof AddPeerRequest
42-
*/
43-
'type': PeerType;
44-
}
45-
46-
4726
/**
4827
* Output audio options
4928
* @export
@@ -156,6 +135,27 @@ export interface Peer {
156135
}
157136

158137

138+
/**
139+
* Peer configuration
140+
* @export
141+
* @interface PeerConfig
142+
*/
143+
export interface PeerConfig {
144+
/**
145+
*
146+
* @type {PeerOptions}
147+
* @memberof PeerConfig
148+
*/
149+
'options': PeerOptions;
150+
/**
151+
*
152+
* @type {PeerType}
153+
* @memberof PeerConfig
154+
*/
155+
'type': PeerType;
156+
}
157+
158+
159159
/**
160160
* Response containing peer details and their token
161161
* @export
@@ -498,6 +498,12 @@ export interface StreamConfig {
498498
* @memberof StreamConfig
499499
*/
500500
'public'?: boolean;
501+
/**
502+
* Webhook URL for receiving server notifications
503+
* @type {string}
504+
* @memberof StreamConfig
505+
*/
506+
'webhookUrl'?: string | null;
501507
}
502508
/**
503509
* Describes streamer status
@@ -716,11 +722,11 @@ export const RoomApiAxiosParamCreator = function (configuration?: Configuration)
716722
*
717723
* @summary Create peer
718724
* @param {string} roomId Room id
719-
* @param {AddPeerRequest} [addPeerRequest] Peer specification
725+
* @param {PeerConfig} [peerConfig] Peer specification
720726
* @param {*} [options] Override http request option.
721727
* @throws {RequiredError}
722728
*/
723-
addPeer: async (roomId: string, addPeerRequest?: AddPeerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
729+
addPeer: async (roomId: string, peerConfig?: PeerConfig, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
724730
// verify required parameter 'roomId' is not null or undefined
725731
assertParamExists('addPeer', 'roomId', roomId)
726732
const localVarPath = `/room/{room_id}/peer`
@@ -747,7 +753,7 @@ export const RoomApiAxiosParamCreator = function (configuration?: Configuration)
747753
setSearchParams(localVarUrlObj, localVarQueryParameter);
748754
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
749755
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
750-
localVarRequestOptions.data = serializeDataIfNeeded(addPeerRequest, localVarRequestOptions, configuration)
756+
localVarRequestOptions.data = serializeDataIfNeeded(peerConfig, localVarRequestOptions, configuration)
751757

752758
return {
753759
url: toPathString(localVarUrlObj),
@@ -1093,12 +1099,12 @@ export const RoomApiFp = function(configuration?: Configuration) {
10931099
*
10941100
* @summary Create peer
10951101
* @param {string} roomId Room id
1096-
* @param {AddPeerRequest} [addPeerRequest] Peer specification
1102+
* @param {PeerConfig} [peerConfig] Peer specification
10971103
* @param {*} [options] Override http request option.
10981104
* @throws {RequiredError}
10991105
*/
1100-
async addPeer(roomId: string, addPeerRequest?: AddPeerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PeerDetailsResponse>> {
1101-
const localVarAxiosArgs = await localVarAxiosParamCreator.addPeer(roomId, addPeerRequest, options);
1106+
async addPeer(roomId: string, peerConfig?: PeerConfig, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PeerDetailsResponse>> {
1107+
const localVarAxiosArgs = await localVarAxiosParamCreator.addPeer(roomId, peerConfig, options);
11021108
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11031109
const localVarOperationServerBasePath = operationServerMap['RoomApi.addPeer']?.[localVarOperationServerIndex]?.url;
11041110
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1226,12 +1232,12 @@ export const RoomApiFactory = function (configuration?: Configuration, basePath?
12261232
*
12271233
* @summary Create peer
12281234
* @param {string} roomId Room id
1229-
* @param {AddPeerRequest} [addPeerRequest] Peer specification
1235+
* @param {PeerConfig} [peerConfig] Peer specification
12301236
* @param {*} [options] Override http request option.
12311237
* @throws {RequiredError}
12321238
*/
1233-
addPeer(roomId: string, addPeerRequest?: AddPeerRequest, options?: any): AxiosPromise<PeerDetailsResponse> {
1234-
return localVarFp.addPeer(roomId, addPeerRequest, options).then((request) => request(axios, basePath));
1239+
addPeer(roomId: string, peerConfig?: PeerConfig, options?: any): AxiosPromise<PeerDetailsResponse> {
1240+
return localVarFp.addPeer(roomId, peerConfig, options).then((request) => request(axios, basePath));
12351241
},
12361242
/**
12371243
*
@@ -1332,13 +1338,13 @@ export class RoomApi extends BaseAPI {
13321338
*
13331339
* @summary Create peer
13341340
* @param {string} roomId Room id
1335-
* @param {AddPeerRequest} [addPeerRequest] Peer specification
1341+
* @param {PeerConfig} [peerConfig] Peer specification
13361342
* @param {*} [options] Override http request option.
13371343
* @throws {RequiredError}
13381344
* @memberof RoomApi
13391345
*/
1340-
public addPeer(roomId: string, addPeerRequest?: AddPeerRequest, options?: RawAxiosRequestConfig) {
1341-
return RoomApiFp(this.configuration).addPeer(roomId, addPeerRequest, options).then((request) => request(this.axios, this.basePath));
1346+
public addPeer(roomId: string, peerConfig?: PeerConfig, options?: RawAxiosRequestConfig) {
1347+
return RoomApiFp(this.configuration).addPeer(roomId, peerConfig, options).then((request) => request(this.axios, this.basePath));
13421348
}
13431349

13441350
/**
@@ -1492,7 +1498,7 @@ export const StreamApiAxiosParamCreator = function (configuration?: Configuratio
14921498
/**
14931499
*
14941500
* @summary Deletes stream
1495-
* @param {string} streamId
1501+
* @param {string} streamId Stream ID
14961502
* @param {*} [options] Override http request option.
14971503
* @throws {RequiredError}
14981504
*/
@@ -1564,7 +1570,7 @@ export const StreamApiAxiosParamCreator = function (configuration?: Configuratio
15641570
/**
15651571
*
15661572
* @summary Shows information about the stream
1567-
* @param {string} streamId
1573+
* @param {string} streamId Stream ID
15681574
* @param {*} [options] Override http request option.
15691575
* @throws {RequiredError}
15701576
*/
@@ -1625,7 +1631,7 @@ export const StreamApiFp = function(configuration?: Configuration) {
16251631
/**
16261632
*
16271633
* @summary Deletes stream
1628-
* @param {string} streamId
1634+
* @param {string} streamId Stream ID
16291635
* @param {*} [options] Override http request option.
16301636
* @throws {RequiredError}
16311637
*/
@@ -1650,7 +1656,7 @@ export const StreamApiFp = function(configuration?: Configuration) {
16501656
/**
16511657
*
16521658
* @summary Shows information about the stream
1653-
* @param {string} streamId
1659+
* @param {string} streamId Stream ID
16541660
* @param {*} [options] Override http request option.
16551661
* @throws {RequiredError}
16561662
*/
@@ -1683,7 +1689,7 @@ export const StreamApiFactory = function (configuration?: Configuration, basePat
16831689
/**
16841690
*
16851691
* @summary Deletes stream
1686-
* @param {string} streamId
1692+
* @param {string} streamId Stream ID
16871693
* @param {*} [options] Override http request option.
16881694
* @throws {RequiredError}
16891695
*/
@@ -1702,7 +1708,7 @@ export const StreamApiFactory = function (configuration?: Configuration, basePat
17021708
/**
17031709
*
17041710
* @summary Shows information about the stream
1705-
* @param {string} streamId
1711+
* @param {string} streamId Stream ID
17061712
* @param {*} [options] Override http request option.
17071713
* @throws {RequiredError}
17081714
*/
@@ -1734,7 +1740,7 @@ export class StreamApi extends BaseAPI {
17341740
/**
17351741
*
17361742
* @summary Deletes stream
1737-
* @param {string} streamId
1743+
* @param {string} streamId Stream ID
17381744
* @param {*} [options] Override http request option.
17391745
* @throws {RequiredError}
17401746
* @memberof StreamApi
@@ -1757,7 +1763,7 @@ export class StreamApi extends BaseAPI {
17571763
/**
17581764
*
17591765
* @summary Shows information about the stream
1760-
* @param {string} streamId
1766+
* @param {string} streamId Stream ID
17611767
* @param {*} [options] Override http request option.
17621768
* @throws {RequiredError}
17631769
* @memberof StreamApi

packages/fishjam-openapi/src/generated/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Fishjam Media Server
55
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
66
*
7-
* The version of the OpenAPI document: 0.23.0
7+
* The version of the OpenAPI document: 0.24.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)