Skip to content

Commit

Permalink
fix(FEC-8308): audio track changes are not reproted (#7)
Browse files Browse the repository at this point in the history
Audio track change was not reported due to incorrect event handler.
  • Loading branch information
OrenMe authored and Dan Ziv committed Jun 13, 2018
1 parent 96a57c4 commit 295d2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kava.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ export default class Kava extends BasePlugin {
}

_onAudioTrackChanged(event: FakeEvent): void {
const audioTrack = event.payload.selectedVideoTrack;
const audioTrack = event.payload.selectedAudioTrack;
this._model.updateModel({language: audioTrack.language});
this._sendAnalytics(KavaEventModel.AUDIO_SELECTED);
}
Expand Down

0 comments on commit 295d2d3

Please sign in to comment.