@opentok/client
Advanced tools
Comparing version 2.19.3 to 2.20.0
@@ -84,2 +84,4 @@ declare namespace OT { | ||
export type VideoContentHint = "text" | "detail" | "motion" | ""; | ||
export type PublisherProperties = WidgetProperties & GetUserMediaProperties & { | ||
@@ -93,2 +95,3 @@ audioBitrate?: number; | ||
style?: Partial<PublisherStyle>; | ||
videoContentHint?: VideoContentHint; | ||
}; | ||
@@ -235,2 +238,4 @@ | ||
}; | ||
muteForced: Event<'muteForced', Publisher>; | ||
}> { | ||
@@ -254,2 +259,4 @@ accessAllowed: boolean; | ||
setVideoSource(videoSourceId: string): Promise<undefined>; | ||
getVideoContentHint(): VideoContentHint; | ||
setVideoContentHint(hint: VideoContentHint): void; | ||
getVideoSource(): {deviceId: string | null, type: string | null, track: MediaStreamTrack | null}; | ||
@@ -344,2 +351,4 @@ setStyle<Style extends keyof PublisherStyle>(style: Style, value: PublisherStyle[Style]): void; | ||
); | ||
muteForced: Event<'muteForced', Session>; | ||
}> { | ||
@@ -349,2 +358,3 @@ capabilities: { | ||
forceUnpublish: number; | ||
forceMute: number; | ||
publish: number; | ||
@@ -361,2 +371,4 @@ subscribe: number; | ||
forceUnpublish(stream: Stream, callback: (error?: OTError) => void): void; | ||
forceMuteStream(stream: Stream): Promise<void>; | ||
forceMuteAll(excludedStreams?: Stream[]): Promise<void>; | ||
getPublisherForStream(stream: Stream): Publisher | undefined; | ||
@@ -363,0 +375,0 @@ getSubscribersForStream(stream: Stream): [Subscriber]; |
{ | ||
"name": "@opentok/client", | ||
"version": "2.19.3", | ||
"version": "2.20.0", | ||
"description": "The OpenTok.js library lets you use OpenTok-powered video sessions on the web", | ||
@@ -5,0 +5,0 @@ "homepage": "https://tokbox.com/developer/sdks/js/", |
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
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
9178796
62452