mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00:00
Compare commits
4 commits
release
...
1.2.0-alph
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d7d129066 | ||
|
|
d4554aea19 | ||
|
|
ed15b15d24 | ||
|
|
d6c125e588 |
5 changed files with 14 additions and 39 deletions
|
|
@ -1,6 +1,11 @@
|
||||||
# Release notes
|
# Release notes
|
||||||
|
|
||||||
### Unreleased changes
|
## 1.2
|
||||||
|
|
||||||
|
### 1.2.0-alpha01 (2023-08-17)
|
||||||
|
|
||||||
|
This release includes the following changes since
|
||||||
|
[1.1.1 release](#111-2023-08-14)):
|
||||||
|
|
||||||
* Common Library:
|
* Common Library:
|
||||||
* Add a `@Nullable Throwable` parameter to the methods in the `Log.Logger`
|
* Add a `@Nullable Throwable` parameter to the methods in the `Log.Logger`
|
||||||
|
|
@ -40,7 +45,7 @@
|
||||||
(([#33](https://github.com/androidx/media/issues/33)),([#9978](https://github.com/google/ExoPlayer/issues/9978))).
|
(([#33](https://github.com/androidx/media/issues/33)),([#9978](https://github.com/google/ExoPlayer/issues/9978))).
|
||||||
* Rename `MimeTypes.TEXT_EXOPLAYER_CUES` to
|
* Rename `MimeTypes.TEXT_EXOPLAYER_CUES` to
|
||||||
`MimeTypes.APPLICATION_MEDIA3_CUES`.
|
`MimeTypes.APPLICATION_MEDIA3_CUES`.
|
||||||
* Add `PngExtractor` that sends and reads a whole png file into the the
|
* Add `PngExtractor` that sends and reads a whole PNG file into the
|
||||||
`TrackOutput` as one sample.
|
`TrackOutput` as one sample.
|
||||||
* Enhance `SequenceableLoader.continueLoading(long)` method in the
|
* Enhance `SequenceableLoader.continueLoading(long)` method in the
|
||||||
`SequenceableLoader` interface to
|
`SequenceableLoader` interface to
|
||||||
|
|
@ -60,7 +65,6 @@
|
||||||
associated constants. Use `Composition.HdrMode` and its associated
|
associated constants. Use `Composition.HdrMode` and its associated
|
||||||
constants instead.
|
constants instead.
|
||||||
* Simplify the `OverlaySettings` to fix rotation issues.
|
* Simplify the `OverlaySettings` to fix rotation issues.
|
||||||
* Track Selection:
|
|
||||||
* Extractors:
|
* Extractors:
|
||||||
* MPEG-TS: Ensure the last frame is rendered by passing the last access
|
* MPEG-TS: Ensure the last frame is rendered by passing the last access
|
||||||
unit of a stream to the sample queue
|
unit of a stream to the sample queue
|
||||||
|
|
@ -73,7 +77,7 @@
|
||||||
implementation details of an `Extractor` you must first call
|
implementation details of an `Extractor` you must first call
|
||||||
`Extractor.getUnderlyingInstance`.
|
`Extractor.getUnderlyingInstance`.
|
||||||
* Audio:
|
* Audio:
|
||||||
* Add support for 24/32-bit big endian PCM in MP4 and Matroska, and parse
|
* Add support for 24/32-bit big-endian PCM in MP4 and Matroska, and parse
|
||||||
PCM encoding for `lpcm` in MP4.
|
PCM encoding for `lpcm` in MP4.
|
||||||
* Add support for extracting Vorbis audio in MP4.
|
* Add support for extracting Vorbis audio in MP4.
|
||||||
* Audio Offload:
|
* Audio Offload:
|
||||||
|
|
@ -107,15 +111,9 @@
|
||||||
* Fix bug where the first frame couldn't be rendered if the audio stream
|
* Fix bug where the first frame couldn't be rendered if the audio stream
|
||||||
starts with negative timestamps
|
starts with negative timestamps
|
||||||
([#291](https://github.com/androidx/media/issues/291)).
|
([#291](https://github.com/androidx/media/issues/291)).
|
||||||
* Text:
|
|
||||||
* Metadata:
|
|
||||||
* DRM:
|
|
||||||
* Effect:
|
* Effect:
|
||||||
* Add `VideoFrameProcessor.queueInputBitmap(Bitmap, Iterator<Long>)`
|
* Add `VideoFrameProcessor.queueInputBitmap(Bitmap, Iterator<Long>)`
|
||||||
queuing bitmap input by timestamp.
|
queuing bitmap input by timestamp.
|
||||||
* Muxers:
|
|
||||||
* IMA extension:
|
|
||||||
* Session:
|
|
||||||
* UI:
|
* UI:
|
||||||
* Add a `Player.Listener` implementation for Wear OS devices that handles
|
* Add a `Player.Listener` implementation for Wear OS devices that handles
|
||||||
playback suppression due to
|
playback suppression due to
|
||||||
|
|
@ -130,13 +128,6 @@
|
||||||
add `dataSync` as `foregroundServiceType` in the manifest and add the
|
add `dataSync` as `foregroundServiceType` in the manifest and add the
|
||||||
`FOREGROUND_SERVICE_DATA_SYNC` permission
|
`FOREGROUND_SERVICE_DATA_SYNC` permission
|
||||||
([#11239](https://github.com/google/ExoPlayer/issues/11239)).
|
([#11239](https://github.com/google/ExoPlayer/issues/11239)).
|
||||||
* OkHttp Extension:
|
|
||||||
* Cronet Extension:
|
|
||||||
* RTMP Extension:
|
|
||||||
* HLS Extension:
|
|
||||||
* Smooth Streaming Extension:
|
|
||||||
* RTSP Extension:
|
|
||||||
* Decoder Extensions (FFmpeg, VP9, AV1, etc.):
|
|
||||||
* MIDI extension:
|
* MIDI extension:
|
||||||
* Release the MIDI decoder module, which provides support for playback of
|
* Release the MIDI decoder module, which provides support for playback of
|
||||||
standard MIDI files using the Jsyn library to synthesize audio.
|
standard MIDI files using the Jsyn library to synthesize audio.
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
project.ext {
|
project.ext {
|
||||||
releaseVersion = '1.1.1'
|
releaseVersion = '1.2.0-alpha01'
|
||||||
releaseVersionCode = 1_001_001_3_00
|
releaseVersionCode = 1_002_000_0_01
|
||||||
minSdkVersion = 16
|
minSdkVersion = 16
|
||||||
appTargetSdkVersion = 34
|
appTargetSdkVersion = 34
|
||||||
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some
|
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some
|
||||||
|
|
|
||||||
|
|
@ -29,11 +29,11 @@ public final class MediaLibraryInfo {
|
||||||
|
|
||||||
/** The version of the library expressed as a string, for example "1.2.3" or "1.2.3-beta01". */
|
/** The version of the library expressed as a string, for example "1.2.3" or "1.2.3-beta01". */
|
||||||
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa.
|
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa.
|
||||||
public static final String VERSION = "1.1.1";
|
public static final String VERSION = "1.2.0-alpha01";
|
||||||
|
|
||||||
/** The version of the library expressed as {@code TAG + "/" + VERSION}. */
|
/** The version of the library expressed as {@code TAG + "/" + VERSION}. */
|
||||||
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
|
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
|
||||||
public static final String VERSION_SLASHY = "AndroidXMedia3/1.1.1";
|
public static final String VERSION_SLASHY = "AndroidXMedia3/1.2.0-alpha01";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The version of the library expressed as an integer, for example 1002003300.
|
* The version of the library expressed as an integer, for example 1002003300.
|
||||||
|
|
@ -47,7 +47,7 @@ public final class MediaLibraryInfo {
|
||||||
* (123-045-006-3-00).
|
* (123-045-006-3-00).
|
||||||
*/
|
*/
|
||||||
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
|
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
|
||||||
public static final int VERSION_INT = 1_001_001_3_00;
|
public static final int VERSION_INT = 1_002_000_0_01;
|
||||||
|
|
||||||
/** Whether the library was compiled with {@link Assertions} checks enabled. */
|
/** Whether the library was compiled with {@link Assertions} checks enabled. */
|
||||||
public static final boolean ASSERTIONS_ENABLED = true;
|
public static final boolean ASSERTIONS_ENABLED = true;
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ def addMissingAarTypeToXml(xml) {
|
||||||
"androidx.appcompat:appcompat",
|
"androidx.appcompat:appcompat",
|
||||||
"androidx.core:core",
|
"androidx.core:core",
|
||||||
"androidx.core:core-ktx",
|
"androidx.core:core-ktx",
|
||||||
|
"androidx.exifinterface:exifinterface",
|
||||||
"androidx.leanback:leanback",
|
"androidx.leanback:leanback",
|
||||||
"androidx.media:media",
|
"androidx.media:media",
|
||||||
"androidx.media2:media2-session",
|
"androidx.media2:media2-session",
|
||||||
|
|
|
||||||
|
|
@ -29,23 +29,6 @@ afterEvaluate {
|
||||||
groupId = 'androidx.media3'
|
groupId = 'androidx.media3'
|
||||||
artifactId = findProperty('releaseArtifactId') ?: ''
|
artifactId = findProperty('releaseArtifactId') ?: ''
|
||||||
version = findProperty('releaseVersion') ?: ''
|
version = findProperty('releaseVersion') ?: ''
|
||||||
configurations.create("sourcesElement") { variant ->
|
|
||||||
variant.visible = false
|
|
||||||
variant.canBeResolved = false
|
|
||||||
variant.attributes.attribute(
|
|
||||||
Usage.USAGE_ATTRIBUTE,
|
|
||||||
project.objects.named(Usage, Usage.JAVA_RUNTIME))
|
|
||||||
variant.attributes.attribute(
|
|
||||||
Category.CATEGORY_ATTRIBUTE,
|
|
||||||
project.objects.named(Category, Category.DOCUMENTATION))
|
|
||||||
variant.attributes.attribute(
|
|
||||||
Bundling.BUNDLING_ATTRIBUTE,
|
|
||||||
project.objects.named(Bundling, Bundling.EXTERNAL))
|
|
||||||
variant.attributes.attribute(
|
|
||||||
DocsType.DOCS_TYPE_ATTRIBUTE,
|
|
||||||
project.objects.named(DocsType, DocsType.SOURCES))
|
|
||||||
components.release.addVariantsFromConfiguration(variant) {}
|
|
||||||
}
|
|
||||||
pom {
|
pom {
|
||||||
name =
|
name =
|
||||||
findProperty('releaseName')
|
findProperty('releaseName')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue