@videosdk.live/react-sdk
Advanced tools
Comparing version 0.1.78 to 0.1.79
@@ -269,7 +269,7 @@ // Type definitions for @videosdk.live/react-sdk 0.1 | ||
status: | ||
| 'HLS_STARTING' | ||
| 'HLS_STARTED' | ||
| 'HLS_PLAYABLE' | ||
| 'HLS_STOPPING' | ||
| 'HLS_STOPPED'; | ||
| 'HLS_STARTING' | ||
| 'HLS_STARTED' | ||
| 'HLS_PLAYABLE' | ||
| 'HLS_STOPPING' | ||
| 'HLS_STOPPED'; | ||
downstreamUrl?: string; | ||
@@ -283,6 +283,6 @@ playbackHlsUrl?: string; | ||
status: | ||
| 'RECORDING_STARTING' | ||
| 'RECORDING_STARTED' | ||
| 'RECORDING_STOPPING' | ||
| 'RECORDING_STOPPED'; | ||
| 'RECORDING_STARTING' | ||
| 'RECORDING_STARTED' | ||
| 'RECORDING_STOPPING' | ||
| 'RECORDING_STOPPED'; | ||
}) => void; | ||
@@ -293,6 +293,6 @@ onLivestreamStateChanged?: ({ | ||
status: | ||
| 'LIVESTREAM_STARTING' | ||
| 'LIVESTREAM_STARTED' | ||
| 'LIVESTREAM_STOPPING' | ||
| 'LIVESTREAM_STOPPED'; | ||
| 'LIVESTREAM_STARTING' | ||
| 'LIVESTREAM_STARTED' | ||
| 'LIVESTREAM_STOPPING' | ||
| 'LIVESTREAM_STOPPED'; | ||
}) => void; | ||
@@ -303,8 +303,8 @@ onMeetingStateChanged?: ({ | ||
state: | ||
| 'CONNECTING' | ||
| 'CONNECTED' | ||
| 'FAILED' | ||
| 'DISCONNECTED' | ||
| 'CLOSING' | ||
| 'CLOSED'; | ||
| 'CONNECTING' | ||
| 'CONNECTED' | ||
| 'FAILED' | ||
| 'DISCONNECTED' | ||
| 'CLOSING' | ||
| 'CLOSED'; | ||
}) => void; | ||
@@ -433,2 +433,3 @@ onParticipantModeChanged?: ({ | ||
remove: () => void; | ||
captureImage: ({ height, width }: { height?: number, width?: number }) => Promise<string | null>; | ||
pin: (data: 'SHARE_AND_CAM' | 'CAM' | 'SHARE') => void; | ||
@@ -676,7 +677,7 @@ unpin: (data: 'SHARE_AND_CAM' | 'CAM' | 'SHARE') => void; | ||
status: | ||
| 'HLS_STARTING' | ||
| 'HLS_STARTED' | ||
| 'HLS_PLAYABLE' | ||
| 'HLS_STOPPING' | ||
| 'HLS_STOPPED'; | ||
| 'HLS_STARTING' | ||
| 'HLS_STARTED' | ||
| 'HLS_PLAYABLE' | ||
| 'HLS_STOPPING' | ||
| 'HLS_STOPPED'; | ||
downstreamUrl?: string; | ||
@@ -690,6 +691,6 @@ playbackHlsUrl?: string; | ||
status: | ||
| 'RECORDING_STARTING' | ||
| 'RECORDING_STARTED' | ||
| 'RECORDING_STOPPING' | ||
| 'RECORDING_STOPPED'; | ||
| 'RECORDING_STARTING' | ||
| 'RECORDING_STARTED' | ||
| 'RECORDING_STOPPING' | ||
| 'RECORDING_STOPPED'; | ||
}) => void; | ||
@@ -700,6 +701,6 @@ onLivestreamStateChanged?: ({ | ||
status: | ||
| 'LIVESTREAM_STARTING' | ||
| 'LIVESTREAM_STARTED' | ||
| 'LIVESTREAM_STOPPING' | ||
| 'LIVESTREAM_STOPPED'; | ||
| 'LIVESTREAM_STARTING' | ||
| 'LIVESTREAM_STARTED' | ||
| 'LIVESTREAM_STOPPING' | ||
| 'LIVESTREAM_STOPPED'; | ||
}) => void; | ||
@@ -710,8 +711,8 @@ onMeetingStateChanged?: ({ | ||
state: | ||
| 'CONNECTING' | ||
| 'CONNECTED' | ||
| 'FAILED' | ||
| 'DISCONNECTED' | ||
| 'CLOSING' | ||
| 'CLOSED'; | ||
| 'CONNECTING' | ||
| 'CONNECTED' | ||
| 'FAILED' | ||
| 'DISCONNECTED' | ||
| 'CLOSING' | ||
| 'CLOSED'; | ||
}) => void; | ||
@@ -900,5 +901,5 @@ onParticipantModeChanged?: ({ | ||
persist: boolean; | ||
sendOnly: Array<String>; | ||
sendOnly?: Array<String>; | ||
}, | ||
payload: object, | ||
payload?: object, | ||
) => void; | ||
@@ -916,2 +917,16 @@ messages: Array<{ | ||
export function useFile(): { | ||
uploadBase64File: ({ base64Data, token, fileName }: { | ||
base64Data: string; | ||
token: string; | ||
fileName: string; | ||
}) => Promise<string | null>; | ||
fetchBase64File: ({ url, token }: { | ||
url: string; | ||
token: string; | ||
}) => Promise<string | null>; | ||
}; | ||
/** | ||
@@ -955,16 +970,16 @@ * @param microphoneId - It will be the id of the mic from which the audio should be captured. | ||
noiseConfig?: | ||
| { | ||
echoCancellation: boolean; | ||
autoGainControl: boolean; | ||
noiseSuppression: boolean; | ||
} | ||
| undefined; | ||
| { | ||
echoCancellation: boolean; | ||
autoGainControl: boolean; | ||
noiseSuppression: boolean; | ||
} | ||
| undefined; | ||
encoderConfig?: | ||
| 'speech_low_quality' | ||
| 'speech_standard' | ||
| 'music_standard' | ||
| 'standard_stereo' | ||
| 'high_quality' | ||
| 'high_quality_stereo' | ||
| undefined; | ||
| 'speech_low_quality' | ||
| 'speech_standard' | ||
| 'music_standard' | ||
| 'standard_stereo' | ||
| 'high_quality' | ||
| 'high_quality_stereo' | ||
| undefined; | ||
microphoneId?: string | undefined; | ||
@@ -1016,21 +1031,21 @@ }): Promise<MediaStream>; | ||
encoderConfig?: | ||
| 'h90p_w160p' | ||
| 'h180p_w320p' | ||
| 'h216p_w384p' | ||
| 'h360p_w640p' | ||
| 'h540p_w960p' | ||
| 'h720p_w1280p' | ||
| 'h1080p_w1920p' | ||
| 'h1440p_w2560p' | ||
| 'h2160p_w3840p' | ||
| 'h120p_w160p' | ||
| 'h180p_w240p' | ||
| 'h240p_w320p' | ||
| 'h360p_w480p' | ||
| 'h480p_w640p' | ||
| 'h540p_w720p' | ||
| 'h720p_w960p' | ||
| 'h1080p_w1440p' | ||
| 'h1440p_w1920p' | ||
| undefined; | ||
| 'h90p_w160p' | ||
| 'h180p_w320p' | ||
| 'h216p_w384p' | ||
| 'h360p_w640p' | ||
| 'h540p_w960p' | ||
| 'h720p_w1280p' | ||
| 'h1080p_w1920p' | ||
| 'h1440p_w2560p' | ||
| 'h2160p_w3840p' | ||
| 'h120p_w160p' | ||
| 'h180p_w240p' | ||
| 'h240p_w320p' | ||
| 'h360p_w480p' | ||
| 'h480p_w640p' | ||
| 'h540p_w720p' | ||
| 'h720p_w960p' | ||
| 'h1080p_w1440p' | ||
| 'h1440p_w1920p' | ||
| undefined; | ||
facingMode?: 'user' | 'environment' | undefined; | ||
@@ -1073,8 +1088,8 @@ optimizationMode?: 'text' | 'motion' | 'detail' | undefined; | ||
encoderConfig?: | ||
| 'h360p_30fps' | ||
| 'h720p_5fps' | ||
| 'h720p_15fps' | ||
| 'h1080p_15fps' | ||
| 'h1080p_30fps' | ||
| undefined; | ||
| 'h360p_30fps' | ||
| 'h720p_5fps' | ||
| 'h720p_15fps' | ||
| 'h1080p_15fps' | ||
| 'h1080p_30fps' | ||
| undefined; | ||
optimizationMode?: 'text' | 'motion' | 'detail' | undefined; | ||
@@ -1081,0 +1096,0 @@ withAudio?: 'enable' | 'disable'; |
@@ -74,3 +74,7 @@ export class Participant { | ||
/** | ||
* @description This method can be used to set the incoming video quality of the participant | ||
* @description This method can be used to capture image in the meeting | ||
*/ | ||
captureImage({height,width}:{height?:number,width?:number}): Promise<string | null>; | ||
/** | ||
* @description This method can be used to set the incoming video quality of the participant | ||
* @param quality | ||
@@ -77,0 +81,0 @@ */ |
{ | ||
"name": "@videosdk.live/react-sdk", | ||
"version": "0.1.78", | ||
"version": "0.1.79", | ||
"license": "ISC", | ||
@@ -76,5 +76,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@videosdk.live/js-sdk": "0.0.74", | ||
"@videosdk.live/js-sdk": "0.0.75", | ||
"events": "^3.3.0" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
450366
4902
+ Added@videosdk.live/js-sdk@0.0.75(transitive)
- Removed@videosdk.live/js-sdk@0.0.74(transitive)
Updated@videosdk.live/js-sdk@0.0.75