הטבלאות הבאות מתארות איך המחלקה, החבילה,
ושמות התלות ב-Gradle שונים בין exoplayer2
וההטמעה החדשה של media3
.
במהלך המעבר ל-Media3, כדאי לקרוא את AndroidX Media3 המדריך להעברת נתונים (מיגרציה).
מיפויים של חבילות
שם החבילה של Exo Player2 | שם חבילה של media3 |
com.google.android.exo Player2 | androidx.media3.exoplayer |
com.google.android.exo הערך2.analytics | androidx.media3.exo Player.analytics |
com.google.android.exoplayer2.audio | androidx.media3.exo הערך.audio |
com.google.android.exo Player2.castdemo | androidx.media3.demo.cast |
com.google.android.exo הערך2.database | androidx.media3.database |
com.google.android.exo הערך2.decoder | androidx.media3.decoder |
com.google.android.exo הערך2.demo | androidx.media3.demo.main |
com.google.android.exo הערך2.drm | androidx.media3.exoplayer.drm |
com.google.android.exoplayer2.ext.av1 | androidx.media3.decoder.av1 |
com.google.android.exo הערך2.ext.cast | androidx.media3.cast |
com.google.android.exo הערך2.ext.cronet | androidx.media3.datasource.cronet |
com.google.android.exo הערך2.ext.ffmpeg | androidx.media3.decoder.ffmpeg |
com.google.android.exo Player2.ext.flac | androidx.media3.decoder.flac |
com.google.android.exo הערך2.ext.ima | androidx.media3.exoplayer.ima |
com.google.android.exo הערך2.ext.leanback | androidx.media3.ui.leanback |
com.google.android.exoplayer2.ext.okhttp | androidx.media3.datasource.okhttp |
com.google.android.exo הערך2.ext.opus | androidx.media3.decoder.opus |
com.google.android.exo הערך2.ext.rtmp | androidx.media3.datasource.rtmp |
com.google.android.exo הערך2.ext.vp9 | androidx.media3.decoder.vp9 |
com.google.android.exo הערך2.ext.workmanager | androidx.media3.exo Player.workmanager |
com.google.android.exo הערך2.extractor | androidx.media3.extractor |
com.google.android.exoplayer2.gldemo | androidx.media3.demo.gl |
com.google.android.exoplayer2.mediacodec | androidx.media3.exoplayer.mediacodec |
com.google.android.exo הערך2.metadata | androidx.media3.extractor.metadata |
com.google.android.exoplayer2.col | androidx.media3.exo לחשבון.col |
com.google.android.exo הערך2.playbacktests | androidx.media3.test.exo Player.playback |
com.google.android.exoplayer2.robolectric | androidx.media3.test.utils.robolectric |
com.google.android.exo הערך2.scheduler | androidx.media3.exo הערך.scheduler |
com.google.android.exoplayer2.source | androidx.media3.exoplayer.source |
com.google.android.exo הערך2.source.rtsp | androidx.media3.exo הערך.rtsp |
com.google.android.exo הערך2.source.dash | androidx.media3.exo Player.dash |
com.google.android.exo המפורטות2.source.smoothstreaming | androidx.media3.exo הערך.smoothstreaming |
com.google.android.exoplayer2.source.hls | androidx.media3.exoplayer.hls |
com.google.android.exo הערך2.surfacedemo | androidx.media3.demo.surface |
com.google.android.exo הערך2.testdata | androidx.media3.test.data |
com.google.android.exo הערך2.testutil | androidx.media3.test.utils |
com.google.android.exoplayer2.text | androidx.media3.extractor.text |
com.google.android.exo הערך2.trackselection | androidx.media3.exoplayer.trackselection |
com.google.android.exo הערך2.transformer | androidx.media3.transformer |
com.google.android.exo הערך2.transformerdemo | androidx.media3.demo.transformer |
com.google.android.exo הערך2.ui | androidx.media3.ui |
com.google.android.exo הערך2.upstream.crypto | androidx.media3.exo הערך.upstream.crypto |
com.google.android.exoplayer2.upstream.cache | androidx.media3.datasource.cache |
com.google.android.exo הערך2.upstream | androidx.media3.datasource |
com.google.android.exo הערך2.util | androidx.media3.exo Player.util |
com.google.android.exo הערך2.util | androidx.media3.common.util |
com.google.android.exo הערך2.video | androidx.media3.exo Player.video |
שינוי שם של כיתה
שם הכיתה ב-exoplayer2 | שם חבילה של media3 | שמות מחלקות של media3 |
com.google.android.exo הערך2.ExoPlayerLibraryInfo | androidx.media3.common | MediaLibraryInfo – מדיה |
com.google.android.exo Player2.SimpleExoPlayer | androidx.media3.exoplayer | ExoPlayer |
com.google.android.exoplayer2.ui.StyledPlayerView | androidx.media3.ui | תצוגת נגן |
com.google.android.exoplayer2.ui.StyledPlayerControlView | androidx.media3.ui | PlayerControlView |
הכיתה הועברה לחבילות אחרות
שם החבילה של Exo Player2 | שם חבילה של media3 | שמות מחלקות של media3 |
com.google.android.exo Player2 | androidx.media3.exoplayer | פורמט Holder, PlayerMessage |
com.google.android.exoplayer2 | androidx.media3.common | BasePlayer, BundleListListRetriever, Bundleable, ControlDispatcher, C, DefaultControlDispatcher, DeviceInfo, ErrorMessageProvider, ExoPlayerLibraryInfo, פורמט, ForwardPlayer, HeartRating, רביםSeekPositionכפי, MediaItem, MediaMetadata, Parserפת, Percentage, Rating, Playback Turn, PlaybackParameters, Player, PositionInfo, Rating, StarRating, ThumbRating, PositionInfo, Rating, StarRating, |
com.google.android.exoplayer2.audio | androidx.media3.extractor | AacUtil, Ac3Util, Ac4Util, DtsUtil, MpegAudioUtil, OpusUtil, WavUtil |
com.google.android.exoplayer2.audio | androidx.media3.common | AudioAttribute, AuxImpactInfo |
com.google.android.exo הערך2.decoder | androidx.media3.exoplayer | DecoderCounters, DecoderReuseEvaluation |
com.google.android.exoplayer2.drm | androidx.media3.common | DrmInitData |
com.google.android.exo הערך2.metadata | androidx.media3.exoplayer.metadata | MetadataDecoderFactor, MetadataOutput, MetadataRenderer |
com.google.android.exoplayer2.metadata | androidx.media3.common | Metadata |
com.google.android.exo הערך2.col | androidx.media3.common | מַפתח שידור |
com.google.android.exo הערך2.source.ads | androidx.media3.common | מצב AdPlayback |
com.google.android.exoplayer2.source | androidx.media3.common | MediaPeriodId, TrackGroup |
com.google.android.exo הערך2.trackselection | androidx.media3.common | TrackSelectionParameter, TrackSelectionOverride |
com.google.android.exoplayer2.text | androidx.media3.common.text | סימן |
com.google.android.exoplayer2.text | androidx.media3.exo Player.text | Exo PlayerCuesDecode, SubtitleDecoderFactor, TextOutput, TextRenderer |
com.google.android.exo הערך2.text.span | androidx.media3.common.text | HarizontalTextInVerticalContextSpan, LanguageFeatureSpa, RubySpa, SpanUti, TextAnnotation, TextEmphasisSpan |
com.google.android.exo Player2.ui | androidx.media3.common | AdOverlayInf, AdViewProvider |
com.google.android.exo Player2.ui | androidx.media3.exoplayer.col | הורדתNotificationHelper |
com.google.android.exo הערך2.upstream | androidx.media3.common | קורא נתונים |
com.google.android.exo הערך2.upstream | androidx.media3.exo Player.upstream | Allocation, Allocator, BandwidthMeter, CachedRegionTracker, DefaultApplicationcator, DefaultBandwidthMeter, DefaultLoadErrorErrorPolicy, Loader, LoaderErrorThrower, ParsingLoadable, SlidingPercentile, TimeToFirstByteEstimator |
com.google.android.exo הערך2.upstream.crypto | androidx.media3.datasource | AesCipherDataSource, AesCipherDataSink, AesFlushingCipher |
com.google.android.exo הערך2.util | androidx.media3.common | ErrorMessageProvider, flagSet, FileType, MimeType, PriorityTaskManager |
com.google.android.exo הערך2.util | androidx.media3.common.util | AtomicFile, Assertion, BundleableUtil, BundleUtil, Clock, ClosedSource, CodecSpecificDataUtil, ColorParser, ConditionVariable, Consumer, CopyOnWriteMultise, EGLSurfaceTexture, GlProgram, GlUtil, HandlerWrapper, LibraryLoader, ListenerSet, Log, LongArray, MediaFormatUtil, NetworkTypeObserver, NonNullApi, NotificationUtil, ParsableBitArray, ParsableByteArray, RepeatModeUtil, RunnableFutureTask, SystemCloc, SystemHandlerWrapper, TimedValueQueue, TimestampAdjuster, TraceUtil, UnknownNull, UnstableApi, UriUtil, Util, XmlPullParserUtil |
com.google.android.exo הערך2.util | androidx.media3.extractor | NalUnitUtil, ParsableNalUnitBitArray |
com.google.android.exo הערך2.util | androidx.media3.exoplayer | MediaClock, StandaloneMediaClock |
com.google.android.exo הערך2.video | androidx.media3.common | ColorInfo, VideoSize |
com.google.android.exo הערך2.video | androidx.media3.extractor | AvcConfig, DolbyVisionConfig, HevcConfig |
מיפויי תלות
שם המודול של Exo Player2 | שם מודול media3 |
אקסו-נגן | נגן Media3-exo |
מסד נתונים של exo Player | media3-database |
exo Player-datasource | media3-datasource |
מפענח-נגן-exo | מקודד-Media3-מפענח |
אקסו-נגן משותף | media3-common |
exo Player-core | נגן Media3-exo |
מקף-נגן Exo | מקף-Media3-exo Player |
מחלץ אקסו | מחלץ מדיה3 |
אקסו-נגן-HL | משחקי Media3-exo Player-hls |
אקסו-נגן-רובלקטילי | media3-test-utils-robolectric |
exo Player-rtsp | media3-exo Player-rtsp |
סטרימר-נגן Exo | סטרימינג-החלקה של Media3-exo Player |
exo Player-testutils | media3-test-utils |
טרנספורמר אקסו-נגן | טרנספורמר מדיה 3 |
exo Player-ui | media3-ui |
הפעלת Cast | media3-cast |
תוסף-cronet | media3-datasource-cronet |
תוסף-ima | media3-exo Player-ima |
תוסף-leanback | media3-ui-leanback |
תוסף-okhttp | media3-datasource-okhttp |
תוסף-rtmp | media3-datasource-rtmp |
מנהל עבודה של תוספים | מנהל עבודה של media3-exoplayer-workmanager |