mirror of
https://github.com/samsonjs/media.git
synced 2026-04-23 14:15:48 +00:00
docs
This commit is contained in:
parent
8e24d29040
commit
c14a9c09b3
3 changed files with 3 additions and 3 deletions
|
|
@ -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…
Reference in a new issue