@videosdk.live/react-sdk
Advanced tools
Comparing version 0.1.69 to 0.1.70
export const MeetingProviderContex: any; | ||
export function useMeeting({ onParticipantJoined, onParticipantLeft, onSpeakerChanged, onPresenterChanged, onMainParticipantChanged, onEntryRequested, onEntryResponded, onRecordingStarted, onRecordingStopped, onChatMessage, onMeetingJoined, onMeetingLeft, onLiveStreamStarted, onLiveStreamStopped, onVideoStateChanged, onVideoSeeked, onWebcamRequested, onMicRequested, onPinStateChanged, onConnectionOpen, onConnetionClose, onSwitchMeeting, onError, onHlsStarted, onHlsStopped, onHlsStateChanged, onRecordingStateChanged, onLivestreamStateChanged, onMeetingStateChanged, onParticipantModeChanged }?: { | ||
onParticipantJoined?: () => void; | ||
onParticipantLeft?: () => void; | ||
onSpeakerChanged?: () => void; | ||
onPresenterChanged?: () => void; | ||
onMainParticipantChanged?: () => void; | ||
onEntryRequested?: () => void; | ||
onEntryResponded?: () => void; | ||
onRecordingStarted?: () => void; | ||
onRecordingStopped?: () => void; | ||
onChatMessage?: () => void; | ||
onMeetingJoined?: () => void; | ||
onMeetingLeft?: () => void; | ||
onLiveStreamStarted?: () => void; | ||
onLiveStreamStopped?: () => void; | ||
onVideoStateChanged?: () => void; | ||
onVideoSeeked?: () => void; | ||
onWebcamRequested?: () => void; | ||
onMicRequested?: () => void; | ||
onPinStateChanged?: () => void; | ||
onConnectionOpen?: () => void; | ||
onConnetionClose?: () => void; | ||
onSwitchMeeting?: () => void; | ||
onError?: () => void; | ||
onHlsStarted?: () => void; | ||
onHlsStopped?: () => void; | ||
onHlsStateChanged?: () => void; | ||
onRecordingStateChanged?: () => void; | ||
onLivestreamStateChanged?: () => void; | ||
onMeetingStateChanged?: () => void; | ||
onParticipantJoined?: (participant: Participant) => void; | ||
onParticipantLeft?: (participant: Participant) => void; | ||
onSpeakerChanged?: (activeSpeakerId: string | null) => void; | ||
onPresenterChanged?: (presenterId: string | null) => void; | ||
onMainParticipantChanged?: Function; | ||
onEntryRequested?: ({ participantId, name, allow, deny }: { | ||
participantId: string; | ||
name: string; | ||
allow: Function; | ||
deny: Function; | ||
}) => void; | ||
onEntryResponded?: ({ participantId, decision }: { | ||
participantId: string; | ||
decision: string; | ||
}) => void; | ||
onRecordingStarted?: Function; | ||
onRecordingStopped?: Function; | ||
onChatMessage?: Function; | ||
onMeetingJoined?: Function; | ||
onMeetingLeft?: Function; | ||
onLiveStreamStarted?: Function; | ||
onLiveStreamStopped?: Function; | ||
onVideoStateChanged?: Function; | ||
onVideoSeeked?: Function; | ||
onWebcamRequested?: ({ participantId, accept, reject }: { | ||
participantId: string; | ||
accept: Function; | ||
reject: Function; | ||
}) => void; | ||
onMicRequested?: ({ participantId, accept, reject }: { | ||
participantId: string; | ||
accept: Function; | ||
reject: Function; | ||
}) => void; | ||
onPinStateChanged?: Function; | ||
onConnectionOpen?: Function; | ||
onConnetionClose?: Function; | ||
onSwitchMeeting?: Function; | ||
onError?: ({ code, message }: { | ||
code: string; | ||
message: string; | ||
}) => void; | ||
onHlsStarted?: ({ downstreamUrl, }: { | ||
downstreamUrl: string; | ||
}) => void; | ||
onHlsStopped?: Function; | ||
onHlsStateChanged?: ({ status, downstreamUrl, playbackHlsUrl, livestreamUrl }: { | ||
status: "HLS_STARTING" | "HLS_STARTED" | "HLS_PLAYABLE" | "HLS_STOPPING" | "HLS_STOPPING"; | ||
downstreamUrl: string; | ||
playbackHlsUrl: string; | ||
livestreamUrl: string; | ||
}) => void; | ||
onRecordingStateChanged?: ({ status }: { | ||
status: "RECORDING_STARTING" | "RECORDING_STARTED" | "RECORDING_STOPPING" | "RECORDING_STOPPING"; | ||
}) => void; | ||
onLivestreamStateChanged?: ({ | ||
status: "LIVESTREAM_STARTING" | "LIVESTREAM_STARTED" | "LIVESTREAM_STOPPING" | "LIVESTREAM_STOPPING"; | ||
}); | ||
}): { | ||
@@ -116,3 +145,2 @@ meetingId: string; | ||
changeWebcam: (object: string | MediaStream) => void; | ||
replaceWebcamStream: (stream: MediaStream) => void; | ||
startVideo: ({ link }: { | ||
@@ -119,0 +147,0 @@ link: string; |
{ | ||
"name": "@videosdk.live/react-sdk", | ||
"version": "0.1.69", | ||
"version": "0.1.70", | ||
"license": "ISC", | ||
@@ -75,5 +75,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@videosdk.live/js-sdk": "0.0.64", | ||
"@videosdk.live/js-sdk": "0.0.65", | ||
"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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
412858
3620
+ Added@videosdk.live/js-sdk@0.0.65(transitive)
- Removed@videosdk.live/js-sdk@0.0.64(transitive)
Updated@videosdk.live/js-sdk@0.0.65