-
Notifications
You must be signed in to change notification settings - Fork 94
Can't Stream #88
Comments
Edit: there were some other errors, however the player stream is not working on api 28 |
@Aptul9 Are you running it on a real device or on an emulator? I was having trouble getting streaming to work on emulator but I've had it work on an actual device. |
I have tried several devices, both emulator and not. |
Can you provide me the stream url that you are working with? |
@Aptul9 actually that is consistent with what I'm seeing (the device I was using was pre 28 and the emulator was on 28). Are you streaming a video from the web or from your local computer? The stream URL I'm using is from localhost -- it's a video uploaded through the app I'm developing. |
I've found that streaming the example video (http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4) on this project's main page works on API 28, and also streaming one of my videos from a test server works, it just doesn't work when being served from localhost. This sounds like an issue with MediaPlayer or a lower level HTTP library and not an issue with this project. |
@halilozercan @skroth thank you for your support. I have tried both kotlin-snapshot and 1.2 alpha 1 version (the updated one). The videos are not in localhost, as you can see they are uploaded on the web |
Hi, I really would like to integrate your player into my project. The actual problem is that it doesn't stream.
I have followed your steps in the project description, however, I wasn't able to make it work.
When I try to change the Uri.parse() section by inserting a link in it, into your sample project it just keeps loading without loading anything, it will just crash after a while (internet permission is added).
Also, after converting the project to androidx in a new project of mine, when I add the player.setSource () it crashes.
I am using the last version of Gradle and all libraries are updated.
Thanks in advance
The text was updated successfully, but these errors were encountered: