diff --git a/app/build.gradle b/app/build.gradle index c582f4c..afd3266 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -42,7 +42,7 @@ dependencies { androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' implementation project(path: ':goonj') -// implementation('com.github.rever-ai:goonj:0.5.5') { +// implementation('com.github.rever-ai:goonj:0.5.6') { // transitive = true // } diff --git a/goonj/src/main/java/ai/rever/goonj/analytics/ExoPlayerAnalyticsListenerImp.kt b/goonj/src/main/java/ai/rever/goonj/analytics/ExoPlayerAnalyticsListenerImp.kt index 13cba35..f13c290 100644 --- a/goonj/src/main/java/ai/rever/goonj/analytics/ExoPlayerAnalyticsListenerImp.kt +++ b/goonj/src/main/java/ai/rever/goonj/analytics/ExoPlayerAnalyticsListenerImp.kt @@ -89,30 +89,24 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { eventTime: AnalyticsListener.EventTime?, playbackParameters: PlaybackParameters? ) { - super.onPlaybackParametersChanged(eventTime, playbackParameters) } override fun onDownstreamFormatChanged( eventTime: AnalyticsListener.EventTime?, mediaLoadData: MediaSourceEventListener.MediaLoadData? ) { - super.onDownstreamFormatChanged(eventTime, mediaLoadData) } override fun onDrmKeysLoaded(eventTime: AnalyticsListener.EventTime?) { - super.onDrmKeysLoaded(eventTime) } override fun onMediaPeriodCreated(eventTime: AnalyticsListener.EventTime?) { - super.onMediaPeriodCreated(eventTime) } override fun onRenderedFirstFrame(eventTime: AnalyticsListener.EventTime?, surface: Surface?) { - super.onRenderedFirstFrame(eventTime, surface) } override fun onReadingStarted(eventTime: AnalyticsListener.EventTime?) { - super.onReadingStarted(eventTime) } override fun onBandwidthEstimate( @@ -121,7 +115,6 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { totalBytesLoaded: Long, bitrateEstimate: Long ) { - super.onBandwidthEstimate(eventTime, totalLoadTimeMs, totalBytesLoaded, bitrateEstimate) } override fun onPlayerStateChanged( @@ -129,22 +122,18 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { playWhenReady: Boolean, playbackState: Int ) { - super.onPlayerStateChanged(eventTime, playWhenReady, playbackState) } override fun onAudioAttributesChanged( eventTime: AnalyticsListener.EventTime?, audioAttributes: AudioAttributes? ) { - super.onAudioAttributesChanged(eventTime, audioAttributes) } override fun onDrmSessionAcquired(eventTime: AnalyticsListener.EventTime?) { - super.onDrmSessionAcquired(eventTime) } override fun onDrmKeysRestored(eventTime: AnalyticsListener.EventTime?) { - super.onDrmKeysRestored(eventTime) } override fun onDecoderDisabled( @@ -152,14 +141,12 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { trackType: Int, decoderCounters: DecoderCounters? ) { - super.onDecoderDisabled(eventTime, trackType, decoderCounters) } override fun onShuffleModeChanged( eventTime: AnalyticsListener.EventTime?, shuffleModeEnabled: Boolean ) { - super.onShuffleModeChanged(eventTime, shuffleModeEnabled) } override fun onDecoderInputFormatChanged( @@ -167,18 +154,15 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { trackType: Int, format: Format? ) { - super.onDecoderInputFormatChanged(eventTime, trackType, format) } override fun onAudioSessionId(eventTime: AnalyticsListener.EventTime?, audioSessionId: Int) { - super.onAudioSessionId(eventTime, audioSessionId) } override fun onDrmSessionManagerError( eventTime: AnalyticsListener.EventTime?, error: Exception? ) { - super.onDrmSessionManagerError(eventTime, error) } override fun onSurfaceSizeChanged( @@ -186,7 +170,6 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { width: Int, height: Int ) { - super.onSurfaceSizeChanged(eventTime, width, height) } override fun onLoadStarted( @@ -194,7 +177,6 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { loadEventInfo: MediaSourceEventListener.LoadEventInfo?, mediaLoadData: MediaSourceEventListener.MediaLoadData? ) { - super.onLoadStarted(eventTime, loadEventInfo, mediaLoadData) } override fun onTracksChanged( @@ -202,22 +184,18 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { trackGroups: TrackGroupArray?, trackSelections: TrackSelectionArray? ) { - super.onTracksChanged(eventTime, trackGroups, trackSelections) } override fun onPositionDiscontinuity(eventTime: AnalyticsListener.EventTime?, reason: Int) { - super.onPositionDiscontinuity(eventTime, reason) } override fun onRepeatModeChanged(eventTime: AnalyticsListener.EventTime?, repeatMode: Int) { - super.onRepeatModeChanged(eventTime, repeatMode) } override fun onUpstreamDiscarded( eventTime: AnalyticsListener.EventTime?, mediaLoadData: MediaSourceEventListener.MediaLoadData? ) { - super.onUpstreamDiscarded(eventTime, mediaLoadData) } override fun onLoadCanceled( @@ -225,19 +203,15 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { loadEventInfo: MediaSourceEventListener.LoadEventInfo?, mediaLoadData: MediaSourceEventListener.MediaLoadData? ) { - super.onLoadCanceled(eventTime, loadEventInfo, mediaLoadData) } override fun onDrmSessionReleased(eventTime: AnalyticsListener.EventTime?) { - super.onDrmSessionReleased(eventTime) } override fun onMediaPeriodReleased(eventTime: AnalyticsListener.EventTime?) { - super.onMediaPeriodReleased(eventTime) } override fun onTimelineChanged(eventTime: AnalyticsListener.EventTime?, reason: Int) { - super.onTimelineChanged(eventTime, reason) } override fun onDecoderInitialized( @@ -246,7 +220,6 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { decoderName: String?, initializationDurationMs: Long ) { - super.onDecoderInitialized(eventTime, trackType, decoderName, initializationDurationMs) } override fun onDroppedVideoFrames( @@ -254,7 +227,6 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { droppedFrames: Int, elapsedMs: Long ) { - super.onDroppedVideoFrames(eventTime, droppedFrames, elapsedMs) } override fun onDecoderEnabled( @@ -262,7 +234,6 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { trackType: Int, decoderCounters: DecoderCounters? ) { - super.onDecoderEnabled(eventTime, trackType, decoderCounters) } override fun onVideoSizeChanged( @@ -272,13 +243,6 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { unappliedRotationDegrees: Int, pixelWidthHeightRatio: Float ) { - super.onVideoSizeChanged( - eventTime, - width, - height, - unappliedRotationDegrees, - pixelWidthHeightRatio - ) } override fun onAudioUnderrun( @@ -287,11 +251,9 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { bufferSizeMs: Long, elapsedSinceLastFeedMs: Long ) { - super.onAudioUnderrun(eventTime, bufferSize, bufferSizeMs, elapsedSinceLastFeedMs) } override fun onDrmKeysRemoved(eventTime: AnalyticsListener.EventTime?) { - super.onDrmKeysRemoved(eventTime) } override fun onLoadError( @@ -301,6 +263,5 @@ object ExoPlayerAnalyticsListenerImp: AnalyticsListener { error: IOException?, wasCanceled: Boolean ) { - super.onLoadError(eventTime, loadEventInfo, mediaLoadData, error, wasCanceled) } } \ No newline at end of file