Skip to content

Commit

Permalink
Fixing typo in mapping mediaPlayback_stopPlayback correctly in Castin…
Browse files Browse the repository at this point in the history
…gServerBridge.mm
  • Loading branch information
sharadb-amazon committed Aug 22, 2022
1 parent b85c5ec commit ec7d1a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ - (void)mediaPlayback_stopPlayback:(void (^_Nonnull)(bool))responseCallback

_mediaPlayback_pauseResponseCallback = responseCallback;
dispatch_async(_chipWorkQueue, ^{
CHIP_ERROR err = CastingServer::GetInstance()->MediaPlayback_Pause([](CHIP_ERROR err) {
CHIP_ERROR err = CastingServer::GetInstance()->MediaPlayback_StopPlayback([](CHIP_ERROR err) {
[CastingServerBridge getSharedInstance].mediaPlayback_stopPlaybackResponseCallback(CHIP_NO_ERROR == err);
});
dispatch_async(clientQueue, ^{
Expand Down

0 comments on commit ec7d1a3

Please sign in to comment.