Skip to content

Commit

Permalink
fix(FEC-10155): text track language is incorrect on cast disconnecting (
Browse files Browse the repository at this point in the history
#318)

fix incorrect parameter (since #188)

Solves FEC-10155
  • Loading branch information
yairans authored Jun 1, 2020
1 parent 7adecb2 commit 75690a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/cast/remote-control.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function onRemoteDeviceDisconnected(payload: RemoteDisconnectedPayload): void {
this._eventManager.listenOnce(this, this.Event.Core.FIRST_PLAYING, () => {
this.textStyle = snapshot.textStyle;
configurePlayback.call(this, originPlaybackConfig);
setInitialTracks.call(this, snapshot);
setInitialTracks.call(this, snapshot.config.playback);
if (shouldPause) {
this.pause();
}
Expand Down

0 comments on commit 75690a3

Please sign in to comment.