Skip to content

Commit

Permalink
5.0.0 Release prep (#794)
Browse files Browse the repository at this point in the history
* Updated Media3 to `1.1.0`
* Removed the pre-release definition from the version (now 5.0.0)
  • Loading branch information
brianwernick authored Jul 21, 2023
1 parent add70d2 commit a3137f2
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 39 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repositories {
}
dependencies {
implementation 'com.devbrackets.android:exomedia:5.0.0-beta01'
implementation 'com.devbrackets.android:exomedia:5.0.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ plugins {
apply from: './gradle/util/testOutput.gradle'

ext {
media3Version = "1.0.2"
media3Version = "1.1.0"
}

allprojects {
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
api "androidx.media3:media3-exoplayer-smoothstreaming:$rootProject.ext.media3Version"

testImplementation 'junit:junit:4.13.2'
testImplementation "org.robolectric:robolectric:4.10"
testImplementation "org.robolectric:robolectric:4.10.3"
}

android {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@ class AnalyticsDelegate(
listener?.onSeekStarted(eventTime)
}

@Suppress("DeprecatedCallableAddReplaceWith")
@Deprecated("Replace with onPositionDiscontinuity(EventTime, PositionInfo, PositionInfo, Int)")
override fun onSeekProcessed(eventTime: AnalyticsListener.EventTime) {
@Suppress("DEPRECATION")
listener?.onSeekProcessed(eventTime)
}

override fun onPlaybackParametersChanged(eventTime: AnalyticsListener.EventTime, playbackParameters: PlaybackParameters) {
listener?.onPlaybackParametersChanged(eventTime, playbackParameters)
}
Expand Down Expand Up @@ -165,34 +158,6 @@ class AnalyticsDelegate(
listener?.onAudioAttributesChanged(eventTime, audioAttributes)
}

@Suppress("DeprecatedCallableAddReplaceWith")
@Deprecated("Replace with onAudioEnabled(EventTime, DecoderCounters) and onVideoEnabled(EventTime, DecoderCounters)")
override fun onDecoderEnabled(eventTime: AnalyticsListener.EventTime, trackType: Int, decoderCounters: DecoderCounters) {
@Suppress("DEPRECATION")
listener?.onDecoderEnabled(eventTime, trackType, decoderCounters)
}

@Suppress("DeprecatedCallableAddReplaceWith")
@Deprecated("Replace with onAudioDecoderInitialized(EventTime, String, Long, Long) and onVideoDecoderInitialized(EventTime, String, Long, Long)")
override fun onDecoderInitialized(eventTime: AnalyticsListener.EventTime, trackType: Int, decoderName: String, initializationDurationMs: Long) {
@Suppress("DEPRECATION")
listener?.onDecoderInitialized(eventTime, trackType, decoderName, initializationDurationMs)
}

@Suppress("DeprecatedCallableAddReplaceWith")
@Deprecated("Replace with onAudioInputFormatChanged(EventTime, Format, DecoderReuseEvaluation) and onVideoInputFormatChanged(EventTime, Format, DecoderReuseEvaluation)")
override fun onDecoderInputFormatChanged(eventTime: AnalyticsListener.EventTime, trackType: Int, format: Format) {
@Suppress("DEPRECATION")
listener?.onDecoderInputFormatChanged(eventTime, trackType, format)
}

@Suppress("DeprecatedCallableAddReplaceWith")
@Deprecated("Replace with onAudioDisabled(EventTime, DecoderCounters) and onVideoDisabled(EventTime, DecoderCounters)")
override fun onDecoderDisabled(eventTime: AnalyticsListener.EventTime, trackType: Int, decoderCounters: DecoderCounters) {
@Suppress("DEPRECATION")
listener?.onDecoderDisabled(eventTime, trackType, decoderCounters)
}

override fun onAudioSessionIdChanged(eventTime: AnalyticsListener.EventTime, audioSessionId: Int) {
listener?.onAudioSessionIdChanged(eventTime, audioSessionId)
}
Expand Down
2 changes: 1 addition & 1 deletion libraryInfo.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ GROUP_ID = com.devbrackets.android
VERSION_MAJOR = 5
VERSION_MINOR = 0
VERSION_PATCH = 0
VERSION_PRE_RELEASE = beta01
VERSION_PRE_RELEASE =

0 comments on commit a3137f2

Please sign in to comment.