Skip to content

Commit

Permalink
janus.d.ts: correct mediaState definition (meetecho#2396)
Browse files Browse the repository at this point in the history
  • Loading branch information
markspolakovs authored Oct 19, 2020
1 parent a36ddcc commit 2ead345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm/janus.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ declare namespace JanusJS {
consentDialog?: (on: boolean) => void;
webrtcState?: (isConnected: boolean) => void;
iceState?: (state: 'connected' | 'failed') => void;
mediaState?: (state: { type: 'audio' | 'video'; on: boolean }) => void;
mediaState?: (medium: 'audio' | 'video', receiving: boolean, mid?: number) => void;
slowLink?: (state: { uplink: boolean }) => void;
onmessage?: (message: Message, jsep?: JSEP) => void;
onlocalstream?: (stream: MediaStream) => void;
Expand Down

0 comments on commit 2ead345

Please sign in to comment.