diff --git a/example/lib/examples/advanced/media_player/media_player.dart b/example/lib/examples/advanced/media_player/media_player.dart index 2afc034ab..761ad3b2e 100644 --- a/example/lib/examples/advanced/media_player/media_player.dart +++ b/example/lib/examples/advanced/media_player/media_player.dart @@ -41,8 +41,7 @@ class _State extends State { super.initState(); _channelIdController = TextEditingController(text: config.channelId); _textEditingController = TextEditingController( - text: - 'https://agoracdn.s3.us-west-1.amazonaws.com/videos/Agora.io-Interactions.mp4'); + text: 'https://download.agora.io/demo/test/Agora.io-Interactions.mp4'); _loopCountController = TextEditingController(text: '1'); _streamInfoIndexController = TextEditingController(text: '1'); _initEngine(); diff --git a/example/lib/examples/advanced/send_multi_video_stream/send_multi_video_stream.dart b/example/lib/examples/advanced/send_multi_video_stream/send_multi_video_stream.dart index 0c57e3b7d..9ffa87600 100644 --- a/example/lib/examples/advanced/send_multi_video_stream/send_multi_video_stream.dart +++ b/example/lib/examples/advanced/send_multi_video_stream/send_multi_video_stream.dart @@ -31,8 +31,7 @@ class _State extends State { super.initState(); _channelIdController = TextEditingController(text: config.channelId); _textEditingController = TextEditingController( - text: - 'https://agoracdn.s3.us-west-1.amazonaws.com/videos/Agora.io-Interactions.mp4'); + text: 'https://download.agora.io/demo/test/Agora.io-Interactions.mp4'); _initEngine(); } diff --git a/example/lib/examples/advanced/spatial_audio_with_media_player/spatial_audio_with_media_player.dart b/example/lib/examples/advanced/spatial_audio_with_media_player/spatial_audio_with_media_player.dart index 39adacf1c..d2c94aa3c 100644 --- a/example/lib/examples/advanced/spatial_audio_with_media_player/spatial_audio_with_media_player.dart +++ b/example/lib/examples/advanced/spatial_audio_with_media_player/spatial_audio_with_media_player.dart @@ -34,8 +34,7 @@ class _State extends State { super.initState(); _channelIdController = TextEditingController(text: config.channelId); _textEditingController = TextEditingController( - text: - 'https://agoracdn.s3.us-west-1.amazonaws.com/videos/Agora.io-Interactions.mp4'); + text: 'https://download.agora.io/demo/test/Agora.io-Interactions.mp4'); _initEngine(); } diff --git a/example/lib/examples/advanced/start_local_video_transcoder/start_local_video_transcoder.dart b/example/lib/examples/advanced/start_local_video_transcoder/start_local_video_transcoder.dart index 0b9661512..faf74c44d 100644 --- a/example/lib/examples/advanced/start_local_video_transcoder/start_local_video_transcoder.dart +++ b/example/lib/examples/advanced/start_local_video_transcoder/start_local_video_transcoder.dart @@ -48,8 +48,7 @@ class _State extends State { super.initState(); _controller = TextEditingController(text: config.channelId); _mediaPlayerUrlController = TextEditingController( - text: - 'https://agoracdn.s3.us-west-1.amazonaws.com/videos/Agora.io-Interactions.mp4'); + text: 'https://download.agora.io/demo/test/Agora.io-Interactions.mp4'); _initEngine(); _initImageFiles(); diff --git a/test_shard/integration_test_app/integration_test/testcases/mediaplayer_smoke_test_testcases.dart b/test_shard/integration_test_app/integration_test/testcases/mediaplayer_smoke_test_testcases.dart index 22e6bf5bc..a019d3268 100644 --- a/test_shard/integration_test_app/integration_test/testcases/mediaplayer_smoke_test_testcases.dart +++ b/test_shard/integration_test_app/integration_test/testcases/mediaplayer_smoke_test_testcases.dart @@ -51,8 +51,7 @@ void testCases() { await rtcEngine.enableVideo(); await mediaPlayerController.open( - url: - 'https://agoracdn.s3.us-west-1.amazonaws.com/videos/Agora.io-Interactions.mp4', + url: 'https://download.agora.io/demo/test/Agora.io-Interactions.mp4', startPos: 0); final eventCalled = await eventCalledCompleter.future; @@ -117,8 +116,7 @@ void testCases() { await rtcEngine.enableVideo(); await mediaPlayerController.open( - url: - 'https://agoracdn.s3.us-west-1.amazonaws.com/videos/Agora.io-Interactions.mp4', + url: 'https://download.agora.io/demo/test/Agora.io-Interactions.mp4', startPos: 0); final eventCalled = await eventCalledCompleter.future; @@ -181,8 +179,7 @@ void testCases() { await rtcEngine.enableVideo(); await mediaPlayerController.open( - url: - 'https://agoracdn.s3.us-west-1.amazonaws.com/videos/Agora.io-Interactions.mp4', + url: 'https://download.agora.io/demo/test/Agora.io-Interactions.mp4', startPos: 0); final eventCalled = await eventCalledCompleter.future; diff --git a/test_shard/integration_test_app/lib/fake_remote_user.dart b/test_shard/integration_test_app/lib/fake_remote_user.dart index ceb835461..69e6a028d 100644 --- a/test_shard/integration_test_app/lib/fake_remote_user.dart +++ b/test_shard/integration_test_app/lib/fake_remote_user.dart @@ -45,8 +45,7 @@ class FakeRemoteUser { .registerPlayerSourceObserver(mediaPlayerSourceObserver); await mediaPlayerController.open( - url: - 'https://agoracdn.s3.us-west-1.amazonaws.com/videos/Agora.io-Interactions.mp4', + url: 'https://download.agora.io/demo/test/Agora.io-Interactions.mp4', startPos: 0); await mediaPlayerControllerPlayed.future;