Skip to content

Commit

Permalink
Add missing types
Browse files Browse the repository at this point in the history
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
  • Loading branch information
SimonBrandner committed Aug 19, 2021
1 parent 6904f6b commit 22cd475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webrtc/callFeed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class CallFeed extends EventEmitter {
* This method should be only used by MatrixCall.
* @param newStream new stream with which to replace the current one
*/
public setNewStream(newStream: MediaStream) {
public setNewStream(newStream: MediaStream): void {
this.stream = newStream;
this.emit(CallFeedEvent.NewStream, this.stream);

Expand All @@ -131,7 +131,7 @@ export class CallFeed extends EventEmitter {
this.emit(CallFeedEvent.MuteStateChanged, this.audioMuted, this.videoMuted);
}

public measureVolumeActivity(enabled: boolean) {
public measureVolumeActivity(enabled: boolean): void {
if (enabled) {
if (!this.audioContext || !this.analyser || !this.frequencyBinCount || !this.hasAudioTrack) return;

Expand Down

0 comments on commit 22cd475

Please sign in to comment.