Skip to content

Commit

Permalink
IgnoreLatestPlayer 설정 시에 playServiceId 값 조절 (#1145)
Browse files Browse the repository at this point in the history
## Summary
- IgnoreLatestPlayer 설정 시에 playServiceId 값 조절
   - ignore를 했으나 값이 있는 경우에는 player의 playServiceId 전송하도록 적용
  • Loading branch information
ParkJongSang authored Mar 14, 2024
1 parent 17edfd3 commit 45b1445
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ private extension AudioPlayerAgent {
if ignoreLatestPlayer == true {
return PlaylistEvent(
typeInfo: typeInfo,
playServiceId: nil
playServiceId: latestPlayer?.payload.playServiceId
)
} else {
guard let player = self.latestPlayer else {
Expand All @@ -893,7 +893,7 @@ private extension AudioPlayerAgent {

return PlaylistEvent(
typeInfo: typeInfo,
playServiceId: latestPlayer?.payload.playServiceId
playServiceId: player.payload.playServiceId
)
}
}
Expand Down

0 comments on commit 45b1445

Please sign in to comment.