Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Fixed

- Conviva
- Fixed an issue where the Paused player state was reported to Conviva after the session had ended.

### Changed

- New CocoaPods connector releases are now published exclusively to the [OptiView Player specs repository](https://github.com/THEOplayer/cocoapods-specs). Add `source 'https://github.com/THEOplayer/cocoapods-specs.git'` before `source 'https://cdn.cocoapods.org/'` in your Podfile to receive new releases. Keep the public source for third-party dependencies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ class PlayerHandler {
func pause(event: PauseEvent) {
log("handling pause")
self.playerState = .CONVIVA_PAUSED
// On iOS, PAUSE is dispatched right after ENDED, when the Conviva session has already been ended.
guard self.currentConvivaSession.started else { return }
self.reportPlayerState()
}

Expand Down
Loading