Skip to content

Commit

Permalink
CB-13632: (android) Allow UDP media streaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Goffioul committed Dec 4, 2017
1 parent ad48420 commit 690c8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/AudioPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ public long getCurrentPosition() {
* @return T=streaming, F=local
*/
public boolean isStreaming(String file) {
if (file.contains("http://") || file.contains("https://") || file.contains("rtsp://")) {
if (file.contains("http://") || file.contains("https://") || file.contains("rtsp://") || file.contains("udp://")) {
return true;
}
else {
Expand Down

0 comments on commit 690c8c5

Please sign in to comment.