diff --git a/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspAuthenticationInfoTest.java b/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspAuthenticationInfoTest.java index 09e2977c5b..f7abd0f8c8 100644 --- a/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspAuthenticationInfoTest.java +++ b/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspAuthenticationInfoTest.java @@ -50,7 +50,7 @@ public class RtspAuthenticationInfoTest { RtspAuthenticationInfo authenticator = new RtspAuthenticationInfo( RtspAuthenticationInfo.DIGEST, - /* realm= */ "LIVE555 Streaming Media", + /* realm= */ "RTSP server", /* nonce= */ "0cdfe9719e7373b7d5bb2913e2115f3f", /* opaque= */ "5ccc069c403ebaf9f0171e9517f40e41"); @@ -60,10 +60,10 @@ public class RtspAuthenticationInfoTest { Uri.parse("rtsp://localhost:554/imax_cd_2k_264_6ch.mkv"), RtspRequest.METHOD_DESCRIBE)) .isEqualTo( - "Digest username=\"username\", realm=\"LIVE555 Streaming Media\"," + "Digest username=\"username\", realm=\"RTSP server\"," + " nonce=\"0cdfe9719e7373b7d5bb2913e2115f3f\"," + " uri=\"rtsp://localhost:554/imax_cd_2k_264_6ch.mkv\"," - + " response=\"ba9433847439387776f7fb905db3fcae\"," + + " response=\"cb635712efbdd027f0c823d0623449f6\"," + " opaque=\"5ccc069c403ebaf9f0171e9517f40e41\""); } } diff --git a/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspMediaPeriodTest.java b/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspMediaPeriodTest.java index 3ff2ab162e..caff5bb3f0 100644 --- a/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspMediaPeriodTest.java +++ b/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspMediaPeriodTest.java @@ -133,7 +133,7 @@ public final class RtspMediaPeriodTest { .add(RtspHeaders.CSEQ, headers.get(RtspHeaders.CSEQ)) .add( RtspHeaders.WWW_AUTHENTICATE, - "Digest realm=\"LIVE555 Streaming Media\"," + "Digest realm=\"RTSP server\"," + " nonce=\"0cdfe9719e7373b7d5bb2913e2115f3f\"," + " opaque=\"5ccc069c403ebaf9f0171e9517f40e41\"") .add(RtspHeaders.WWW_AUTHENTICATE, "BASIC realm=\"WallyWorld\"") diff --git a/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspMessageUtilTest.java b/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspMessageUtilTest.java index 1470b91610..d970117d4d 100644 --- a/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspMessageUtilTest.java +++ b/libraries/exoplayer_rtsp/src/test/java/androidx/media3/exoplayer/rtsp/RtspMessageUtilTest.java @@ -539,10 +539,10 @@ public final class RtspMessageUtilTest { public void parseWWWAuthenticateHeader_withDigestAuthentication_succeeds() throws Exception { RtspAuthenticationInfo authenticationInfo = RtspMessageUtil.parseWwwAuthenticateHeader( - "Digest realm=\"LIVE555 Streaming Media\", nonce=\"0cdfe9719e7373b7d5bb2913e2115f3f\""); + "Digest realm=\"RTSP server\", nonce=\"0cdfe9719e7373b7d5bb2913e2115f3f\""); assertThat(authenticationInfo.authenticationMechanism).isEqualTo(RtspAuthenticationInfo.DIGEST); assertThat(authenticationInfo.nonce).isEqualTo("0cdfe9719e7373b7d5bb2913e2115f3f"); - assertThat(authenticationInfo.realm).isEqualTo("LIVE555 Streaming Media"); + assertThat(authenticationInfo.realm).isEqualTo("RTSP server"); assertThat(authenticationInfo.opaque).isEmpty(); }