android icon indicating copy to clipboard operation
android copied to clipboard

Media Streaming Doesn't Work

Open lplassman opened this issue 8 years ago • 69 comments

Actual behaviour

  • Tell us what happens When tapping on a media file in the latest version of the app(3.3.0), it opens a player in the app, and then says in a little popup "Could not play the file using the builtin media player" and then it gives up.

Expected behaviour

  • Tell us what should happen It should play mp3 and mp4 files when selecting them.

Steps to reproduce

  1. Tap a media file in the Nextcloud app
  2. Media Player opens and produces the error

Environment data

Android version: 8.0

Device model: LG V30

Stock or customized system: Stock

Nextcloud app version: 3.3.0

Nextcloud server version:14.0

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

lplassman avatar Sep 19 '18 17:09 lplassman

GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/pull/183 (Streaming), https://github.com/nextcloud/android/issues/1218 (Multiple picture transfer doesn't work), https://github.com/nextcloud/android/issues/1009 (Send not working), https://github.com/nextcloud/android/issues/643 (Autoupload does not work), and https://github.com/nextcloud/android/issues/294 (Instant Upload Doesn't Work (Nexus5X)).

nextcloud-android-bot avatar Sep 19 '18 17:09 nextcloud-android-bot

I can confirm this bug. Although streaming works with VLC at least (if you have it installed) by selecting the "Stream with..." option.

gradinaruvasile avatar Sep 20 '18 01:09 gradinaruvasile

I can confirm this bug too, however I am experiencing the opposite in that the internal video player works if you use the stream with option, but not with normal behavior, and VLC does not work by any method.

johninstockie avatar Sep 20 '18 11:09 johninstockie

And I can confirm that neither nextcloud, nor android media player or vlc work. VLC fails immediately and does give an error message "The location https://path_to_server_and_file cannot be played". Nextcloud loads a couple of seconds and then says "the built in media player cannot play the file". Android player just stays black.

Tested with mp4 and webm. Nextcloud 14 server. Standard Encryption module. Client Lock with system credentials.

DPTJKKVH avatar Sep 22 '18 19:09 DPTJKKVH

I am having this exact same issue even with mp3's. Have to either download the file for it to play or stream with 'vlc' to play.

breisig avatar Oct 01 '18 04:10 breisig

I completely with the above Plus it would be nice to play files by folder in case of multiple tracks (album) .FLAC and .APE would be a nice add on

galosre avatar Oct 16 '18 16:10 galosre

Is there something I can provide aside from a logcat? I wanted to upload a logcat but noticed it contains lots of confidential information like folder names, sync names and such.

DPTJKKVH avatar Oct 16 '18 16:10 DPTJKKVH

can also confirm this bug! having this exact same issue even with mp3's. Have to either download the file for it to play or stream with 'vlc' to play.

BeGunman avatar Nov 06 '18 11:11 BeGunman

I can confirm this bug. Plays mp4 some Time, but not mp4, or wav.

alkamen avatar Nov 13 '18 04:11 alkamen

I am having this issue also. When trying to play with the built in media player and also when trying "stream with" it always fails

gdr8205 avatar Jan 11 '19 11:01 gdr8205

Has any of you force password on share link enabled? I have a hunch that this is an issue. At least for us that cannot stream anything.

DPTJKKVH avatar Jan 14 '19 12:01 DPTJKKVH

@rullzer this should not be related, or?

tobiasKaminsky avatar Jan 21 '19 08:01 tobiasKaminsky

Nope unrelated

rullzer avatar Jan 22 '19 14:01 rullzer

Similar as above. Version 3.5. Video streaming will work until switching to HTTPS. Went through 2 setups, apache2 and nginx. Both worked within the Android App prior to enabling secure connections. Reverting back fixed the streaming issue.

Found this link, possibly related... https://stackoverflow.com/questions/30166725/android-media-player-streaming-audio-file-from-https-url

tiredthinker avatar Feb 17 '19 00:02 tiredthinker

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

stale[bot] avatar May 09 '19 21:05 stale[bot]

Issue still persists, stale[bot]. So hush...

DPTJKKVH avatar May 09 '19 23:05 DPTJKKVH

Yeah, the problem still exists.

breisig avatar May 13 '19 21:05 breisig

@breisig Can you share a link to a media file that won't play?

ezaquarii avatar May 13 '19 21:05 ezaquarii

#3351

susobaco avatar May 25 '19 18:05 susobaco

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

stale[bot] avatar Jun 22 '19 19:06 stale[bot]