Skip to content

Commit 5428e73

Browse files
author
xia ning
authored
Merge pull request #198 from oOJohn6Oo/fixAudio
[BGF] replace the invalid url inside of the MediaPlayer demo.
2 parents 0ee3217 + d460c41 commit 5428e73

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/MediaPlayer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public class MediaPlayer extends BaseFragment implements View.OnClickListener, I
6666
private SeekBar progressBar;
6767
private long playerDuration = 0;
6868

69-
private static final String SAMPLE_MOVIE_URL = "https://mp4.video-call-statics.agora.io/prd%2F26aebb92aa41dc5a0a2f6c880b5ba08c_N9BsDk-H5tw-9bbcb5ab-64dc-45ea-92b8-4bbd02cc2cc1avc.mp4?Expires=1627016601&OSSAccessKeyId=LTAI4GFSLFYRoqnVcUrEjkig&Signature=TiPpNU6zi9aFHXRmY8Z1Ido2FMA%3D";
69+
private static final String SAMPLE_MOVIE_URL = "https://webdemo.agora.io/agora-web-showcase/examples/Agora-Custom-VideoSource-Web/assets/sample.mp4";
7070

7171
@Nullable
7272
@Override

Android/APIExample/app/src/main/res/layout/fragment_media_player.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@
112112
android:layout_width="0dp"
113113
android:layout_height="wrap_content"
114114
android:layout_weight="1"
115+
android:inputType="text|textUri"
115116
android:hint="@string/channel_id"
116-
android:singleLine="true"
117-
android:digits="@string/chanel_support_char"/>
117+
android:singleLine="true"/>
118118

119119
<androidx.appcompat.widget.AppCompatButton
120120
android:id="@+id/open"

0 commit comments

Comments
 (0)