Skip to content

Commit

Permalink
Feature/enhance typings (meetecho#2518)
Browse files Browse the repository at this point in the history
  • Loading branch information
bstuff committed Jan 21, 2021
1 parent 16173af commit 34f6f89
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions npm/janus.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ declare namespace JanusJS {
isArray: (array: any) => array is Array<any>;
extension: () => boolean;
httpAPICall: (url: string, options: any) => void;
}
interface DependenciesResult {
}

interface DependenciesResult {
adapter: any;
newWebSocket: (server: string, protocol: string) => WebSocket;
isArray: (array: any) => array is Array<any>;
Expand Down Expand Up @@ -127,6 +127,9 @@ declare namespace JanusJS {
handleRemoteJsep(params: { jsep: JSEP }): void;
dtmf(params: any): void;
data(params: any): void;
isAudioMuted(): boolean;
muteAudio(): void;
unmuteAudio(): void;
isVideoMuted(): boolean;
muteVideo(): void;
unmuteVideo(): void;
Expand Down

0 comments on commit 34f6f89

Please sign in to comment.