@fishjam-cloud/js-server-sdk 0.14.0 → 0.15.0

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.
package/dist/index.d.mts CHANGED
@@ -100,6 +100,12 @@ interface RoomConfig {
100
100
  * @memberof RoomConfig
101
101
  */
102
102
  'peerlessPurgeTimeout'?: number | null;
103
+ /**
104
+ * The use-case of the room. If not provided, this defaults to full_feature.
105
+ * @type {string}
106
+ * @memberof RoomConfig
107
+ */
108
+ 'roomType'?: RoomConfigRoomTypeEnum;
103
109
  /**
104
110
  * Enforces video codec for each peer in the room
105
111
  * @type {string}
@@ -113,6 +119,12 @@ interface RoomConfig {
113
119
  */
114
120
  'webhookUrl'?: string | null;
115
121
  }
122
+ declare const RoomConfigRoomTypeEnum: {
123
+ readonly FullFeature: "full_feature";
124
+ readonly AudioOnly: "audio_only";
125
+ readonly Broadcaster: "broadcaster";
126
+ };
127
+ type RoomConfigRoomTypeEnum = typeof RoomConfigRoomTypeEnum[keyof typeof RoomConfigRoomTypeEnum];
116
128
  declare const RoomConfigVideoCodecEnum: {
117
129
  readonly H264: "h264";
118
130
  readonly Vp8: "vp8";
@@ -314,4 +326,4 @@ declare class ServiceUnavailableException extends FishjamBaseException {
314
326
  declare class UnknownException extends FishjamBaseException {
315
327
  }
316
328
 
317
- export { BadRequestException, type Brand, type CloseEventHandler, type ErrorEventHandler, type ExpectedEvents, FishjamBaseException, FishjamClient, type FishjamConfig, FishjamNotFoundException, FishjamWSNotifier, ForbiddenException, type NotificationEvents, type Peer, type PeerId, PeerNotFoundException, type PeerOptions, PeerStatus, type Room, type RoomConfig, RoomConfigVideoCodecEnum, type RoomId, RoomNotFoundException, ServiceUnavailableException, UnauthorizedException, UnknownException };
329
+ export { BadRequestException, type Brand, type CloseEventHandler, type ErrorEventHandler, type ExpectedEvents, FishjamBaseException, FishjamClient, type FishjamConfig, FishjamNotFoundException, FishjamWSNotifier, ForbiddenException, type NotificationEvents, type Peer, type PeerId, PeerNotFoundException, type PeerOptions, PeerStatus, type Room, type RoomConfig, RoomConfigRoomTypeEnum, RoomConfigVideoCodecEnum, type RoomId, RoomNotFoundException, ServiceUnavailableException, UnauthorizedException, UnknownException };
package/dist/index.d.ts CHANGED
@@ -100,6 +100,12 @@ interface RoomConfig {
100
100
  * @memberof RoomConfig
101
101
  */
102
102
  'peerlessPurgeTimeout'?: number | null;
103
+ /**
104
+ * The use-case of the room. If not provided, this defaults to full_feature.
105
+ * @type {string}
106
+ * @memberof RoomConfig
107
+ */
108
+ 'roomType'?: RoomConfigRoomTypeEnum;
103
109
  /**
104
110
  * Enforces video codec for each peer in the room
105
111
  * @type {string}
@@ -113,6 +119,12 @@ interface RoomConfig {
113
119
  */
114
120
  'webhookUrl'?: string | null;
115
121
  }
122
+ declare const RoomConfigRoomTypeEnum: {
123
+ readonly FullFeature: "full_feature";
124
+ readonly AudioOnly: "audio_only";
125
+ readonly Broadcaster: "broadcaster";
126
+ };
127
+ type RoomConfigRoomTypeEnum = typeof RoomConfigRoomTypeEnum[keyof typeof RoomConfigRoomTypeEnum];
116
128
  declare const RoomConfigVideoCodecEnum: {
117
129
  readonly H264: "h264";
118
130
  readonly Vp8: "vp8";
@@ -314,4 +326,4 @@ declare class ServiceUnavailableException extends FishjamBaseException {
314
326
  declare class UnknownException extends FishjamBaseException {
315
327
  }
316
328
 
317
- export { BadRequestException, type Brand, type CloseEventHandler, type ErrorEventHandler, type ExpectedEvents, FishjamBaseException, FishjamClient, type FishjamConfig, FishjamNotFoundException, FishjamWSNotifier, ForbiddenException, type NotificationEvents, type Peer, type PeerId, PeerNotFoundException, type PeerOptions, PeerStatus, type Room, type RoomConfig, RoomConfigVideoCodecEnum, type RoomId, RoomNotFoundException, ServiceUnavailableException, UnauthorizedException, UnknownException };
329
+ export { BadRequestException, type Brand, type CloseEventHandler, type ErrorEventHandler, type ExpectedEvents, FishjamBaseException, FishjamClient, type FishjamConfig, FishjamNotFoundException, FishjamWSNotifier, ForbiddenException, type NotificationEvents, type Peer, type PeerId, PeerNotFoundException, type PeerOptions, PeerStatus, type Room, type RoomConfig, RoomConfigRoomTypeEnum, RoomConfigVideoCodecEnum, type RoomId, RoomNotFoundException, ServiceUnavailableException, UnauthorizedException, UnknownException };