Skip to content

Commit

Permalink
Support legacy channel message
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamerns committed Mar 30, 2021
1 parent e6f2b7b commit 98cfe8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,11 @@ export default class Client {
default:
// do nothing
}
} else {
// legacy channel message - payload contains audio levels
if (this.onspeaker) {
this.onspeaker(msg)
}
}
}
}

0 comments on commit 98cfe8d

Please sign in to comment.