mirror of
https://github.com/androidx/media.git
synced 2025-05-07 15:40:37 +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.
|
||||
* @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 uri The RTSP playback {@link Uri}.
|
||||
* @param listener A {@link Listener} to receive session information updates.
|
||||
|
@ -85,7 +85,7 @@ public final class RtspMediaPeriodTest {
|
||||
/* listener= */ timing -> refreshedSourceDurationMs.set(timing.getDurationMs()),
|
||||
/* userAgent= */ "ExoPlayer:RtspPeriodTest",
|
||||
/* debugLoggingEnabled= */ false,
|
||||
null);
|
||||
/* socketFactory */ null);
|
||||
|
||||
mediaPeriod.prepare(
|
||||
new MediaPeriod.Callback() {
|
||||
|
@ -157,7 +157,7 @@ public final class RtspPlaybackTest {
|
||||
rtpDataChannelFactory,
|
||||
"ExoPlayer:PlaybackTest",
|
||||
/* debugLoggingEnabled= */ false,
|
||||
null),
|
||||
/* socketFactory */ null),
|
||||
false);
|
||||
return player;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user