mirror of
https://github.com/androidx/media.git
synced 2025-05-08 08:00:49 +08:00
docs
This commit is contained in:
parent
8e24d29040
commit
c14a9c09b3
@ -97,7 +97,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an RTSP media period.
|
* Creates an RTSP media period.
|
||||||
* @param allocator An {@link Allocator} from which to obtain media buffer allocations.
|
* @param allocator An {@link Allocator} from which to obtain media buffer allocations.
|
||||||
* @param rtpDataChannelFactory A {@link RtpDataChannel.Factory} for {@link RtpDataChannel}.
|
* @param rtpDataChannelFactory A {@link RtpDataChannel.Factory} for {@link RtpDataChannel}.
|
||||||
* @param uri The RTSP playback {@link Uri}.
|
* @param uri The RTSP playback {@link Uri}.
|
||||||
* @param listener A {@link Listener} to receive session information updates.
|
* @param listener A {@link Listener} to receive session information updates.
|
||||||
|
@ -85,7 +85,7 @@ public final class RtspMediaPeriodTest {
|
|||||||
/* listener= */ timing -> refreshedSourceDurationMs.set(timing.getDurationMs()),
|
/* listener= */ timing -> refreshedSourceDurationMs.set(timing.getDurationMs()),
|
||||||
/* userAgent= */ "ExoPlayer:RtspPeriodTest",
|
/* userAgent= */ "ExoPlayer:RtspPeriodTest",
|
||||||
/* debugLoggingEnabled= */ false,
|
/* debugLoggingEnabled= */ false,
|
||||||
null);
|
/* socketFactory */ null);
|
||||||
|
|
||||||
mediaPeriod.prepare(
|
mediaPeriod.prepare(
|
||||||
new MediaPeriod.Callback() {
|
new MediaPeriod.Callback() {
|
||||||
|
@ -157,7 +157,7 @@ public final class RtspPlaybackTest {
|
|||||||
rtpDataChannelFactory,
|
rtpDataChannelFactory,
|
||||||
"ExoPlayer:PlaybackTest",
|
"ExoPlayer:PlaybackTest",
|
||||||
/* debugLoggingEnabled= */ false,
|
/* debugLoggingEnabled= */ false,
|
||||||
null),
|
/* socketFactory */ null),
|
||||||
false);
|
false);
|
||||||
return player;
|
return player;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user