Skip to content

Commit

Permalink
1.7.5 update (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayk-zoom authored May 5, 2023
1 parent fabd593 commit aae6b6f
Show file tree
Hide file tree
Showing 33 changed files with 233 additions and 79 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
## CHANGELOG
## v1.7.5
### Added
* liveTranscriptionClient.disableCaptions method to allow hosts to disable captions in a session.
* stream.getCurrentSessionCallinInfo method to retrieve call-in info when the PSTN plan is available.

### Enhanced
* Noise suppression support by adding a backgroundNoiseSuppression option to the stream.startAudio method, and a new stream.enableBackgroundNoiseSuppression method.
* stream.startAudio method with a syncButtonsOnHeadset option to support mute state sync'ing with specific audio devices.
* stream.startAudio method with a mute option to automatically mute users upon joining audio.
* Phone user payload with a phoneNumber attribute on the side of caller.
* Share Tab Audio such that it can now also support using a microphone simultaneously.

### Fixed
* A/V sync issues when enabling "Optimize for Video Clip".
* stream.updateSharingCanvasDimension not working on certain browsers.
* Promise returned from stream.switchCamera method not resolving properly.

## v1.7.0
### Added
* checkFeatureRequirements API to check browser compatibility with supported features.
Expand Down
2 changes: 1 addition & 1 deletion dist/index.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.umd.js

Large diffs are not rendered by default.

Binary file modified dist/lib/audio.encode.wasm
Binary file not shown.
Binary file modified dist/lib/audio.simd.wasm
Binary file not shown.
6 changes: 4 additions & 2 deletions dist/lib/audio_simd.min.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/lib/js_audio_process.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lib/js_audio_worklet.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/js_audio_worklet_process.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/js_audio_worklet_simd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lib/js_media.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/lib/js_sharing_audio_worklet.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/lib/sharing_m.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/sharing_mtsimd.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/sharing_s.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/sharing_simd.min.js

Large diffs are not rendered by default.

Binary file modified dist/lib/video.decode.wasm
Binary file not shown.
Binary file modified dist/lib/video.mt.wasm
Binary file not shown.
Binary file modified dist/lib/video.mtsimd.wasm
Binary file not shown.
Binary file modified dist/lib/video.simd.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions dist/lib/video_m.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/video_mtsimd.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/video_s.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/lib/video_share_mtsimd.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/video_simd.min.js

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions dist/types/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ interface Participant {
audio: '' | 'computer' | 'phone';
/**
* Whether audio is muted.
* If the user is not joined the audio(not connected to the microphone), the value is undefined
* If the user is not joined to audio (not connected to the microphone), the value is undefined
*/
muted?: boolean;
/**
Expand Down Expand Up @@ -117,13 +117,18 @@ interface Participant {
*/
isVideoConnect: boolean;
/**
* customized user identity
* The `user_identity` from the JWT payload.
*/
userIdentity?: string;
/**
* Whether the user is only connected to the speaker, not the microphone
*/
isSpeakerOnly?: boolean;
/**
* The phone number if the user is call out user
* For the privacy concern, only the calling user has the property.
*/
phoneNumber?: string;
}
/**
* Subsession's status.
Expand Down
37 changes: 27 additions & 10 deletions dist/types/event-callback.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ export interface ParticipantPropertiesPayload {
*/
bShareToSubsession?: boolean;
/**
* Whether the user is phone call user.
* Whether the user joined via a phone call.
*/
isPhoneUser?: boolean;
/**
* The unified ID of a user among the main session or subsessions.
* The unified ID of a user within the main session or subsessions.
*/
userGuid?: string;
/**
Expand All @@ -88,13 +88,23 @@ export interface ParticipantPropertiesPayload {
*/
isVideoConnect?: boolean;
/**
* Customized user identity
* The `user_identity` from the JWT payload, not the in-session user ID.
*/
userIdentity?: string;
/**
* Whether the user is only connected to the speaker, not the microphone
*/
isSpeakerOnly?: boolean;
/**
* The phone number if the user is call out user
* For the privacy concern, only the calling user has the property.
*/
phoneNumber?: string;
/**
* Subsession ID.
* It's available if the user is in a subsession.
*/
subsessionId?: string;
}
/**
* The session's connection state.
Expand Down Expand Up @@ -1219,19 +1229,19 @@ export declare function event_network_quality_change(payload: {
level: number;
}): void;
/**
* Occurs when decode (recevied) or encode (sent) the share statistics data is changed
* Occurs when the share statistics data is changed during decoding (receipt) or encoding (sent)
* @param payload the event detail
* - `data`
* - `encoding`: if encoding is true, means that the data is encoding video data statisitics.
* - `encoding`: if encoding is true, means that the data is encoding video data statistics.
* - `avg_loss`: average package loss for video
* - `jitter`: jitter for video
* - `max_loss`: max package loss for video
* - `rtt`: round trip time for video .
* - `rtt`: round trip time for video
* - `sample_rate`: sample rate video
* - `width`: width for video
* - `height`: height for video
* - `fps`: fps for video
* - `type` : string share
* - `fps`: Frames per second (FPS) for video
* - `type` : string "VIDEOSHARE_QOS_DATA"
*
* ```javascript
* client.on('share_statistic_data_change', (payload) => {
Expand All @@ -1242,7 +1252,7 @@ export declare function event_network_quality_change(payload: {
*/
export declare function event_share_statistic_data_change(payload: {
/**
* Data.
* Quality of Service (QoS) data.
*/
data: {
/**
Expand Down Expand Up @@ -1278,9 +1288,16 @@ export declare function event_share_statistic_data_change(payload: {
*/
height: number;
/**
* Share's frame rate in frames per second (fps).
* Share's frame rate in frames per second (FPS).
*/
fps: number;
};
type: 'VIDEOSHARE_QOS_DATA';
}): void;
/**
* Occurs when host disable caption
* @param payload boolean
*
* @event
*/
export declare function event_caption_host_disable(payload: boolean): void;
6 changes: 6 additions & 0 deletions dist/types/live-transcription.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,4 +459,10 @@ export declare namespace LiveTranscriptionClient {
function getFullTranscriptionHistory():
| Array<LiveTranscriptionMessage>
| Promise<Array<LiveTranscriptionMessage>>;
/**
* Disable/enable the captions in meeting.
*
* @param disable Boolean, true to disable the captions, false to enable the captions.
*/
function disableCaptions(disable:boolean): ExecutedResult;
}
Loading

0 comments on commit aae6b6f

Please sign in to comment.