New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting no client connected after downloading some part #6
Comments
There is one demo repository that implements it to make it working. Just
check it, if still problem persists please contact me.
…On Wed, Feb 13, 2019, 10:59 AM rohitgarg29 ***@***.*** wrote:
Hi @chandilsachin <https://github.com/chandilsachin>
I am getting following error after downloading some part of the file.
please help me if you know the reason. thanks in advance :)
LocalFileStreamingServer: No client connected, waiting for client...
java.net.SocketTimeoutException: Poll timed out
at libcore.io.IoBridge.poll(IoBridge.java:691)
at java.net.PlainSocketImpl.socketAccept(PlainSocketImpl.java:183)
at
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:416)
at java.net.ServerSocket.implAccept(ServerSocket.java:547)
at java.net.ServerSocket.accept(ServerSocket.java:515)
at
com.dewa.dewadrive.controller.LocalFileStreamingServer.run(LocalFileStreamingServer.java:145)
at java.lang.Thread.run(Thread.java:764)
Regards,
Rohit
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADg17eYL4vh6DTwR8YLO80mQEw8yowBXks5vM6KygaJpZM4a4o_X>
.
|
@chandilsachin i am using the same code only from your other repository, problem is that i implemented using BaseHttpResponse not using HttpUrlCOnnection because i have to authenticate the url before downloading as sample is not able with HttpUrlConnection. |
@chandilsachin any update on this please? |
Can u create a sample snippet and send me so that i can check the issue.
…On Sun, Feb 17, 2019, 11:02 AM rohitgarg29 ***@***.*** wrote:
@chandilsachin <https://github.com/chandilsachin> any update on this
please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADg17W1PqvgK1xCZpJhwoEzwkiXm_Dq8ks5vOOlUgaJpZM4a4o_X>
.
|
Only file changed is : public class VideoDownloader extends AsyncTask<String, Integer, Void>
// fileLength = httpResponse.getEntity().getContent().toString().length();
// public String downloadByteFile(String urlString) { But it throws exception at File not found for first time and then the above exception but second time, it is working fine. l |
hi @chandilsachin can you please help me with this one? |
Sorry Rohit, for keeping you waiting. I am busy with some personal work now
a days. I will be back in two days.
…On Mon, Feb 25, 2019, 11:10 AM rohitgarg29 ***@***.***> wrote:
hi @chandilsachin <https://github.com/chandilsachin> can you please help
me with this one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADg17eCpQELj4uhmUPQDPqzLy7MqVmrMks5vQ3dlgaJpZM4a4o_X>
.
|
Hi @chandilsachin I want to check with you regarding the buffer size. DO i need to increase buffer size for more than 50 mb videos? |
Not exactly.
File gets downloaded on sd card and then that downloaded content gets
played. So it doesn't matter if file size varies. Let me know if you think
otherwise for any reason that i m missing.
…On Sun, Apr 7, 2019, 3:52 PM rohitgarg29 ***@***.***> wrote:
Hi @chandilsachin <https://github.com/chandilsachin> I want to check with
you regarding the buffer size. DO i need to increase buffer size for more
than 50 mb videos?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADg17QnIrZlwnKdX7NIZ4l5pQ7q5pesUks5vecbQgaJpZM4a4o_X>
.
|
I am not sure whats causing the issue for 200 mb video files. I will check, if you get time, can you please try as well? |
Hi @chandilsachin
I am getting following error after downloading some part of the file. please help me if you know the reason. thanks in advance :)
LocalFileStreamingServer: No client connected, waiting for client...
java.net.SocketTimeoutException: Poll timed out
at libcore.io.IoBridge.poll(IoBridge.java:691)
at java.net.PlainSocketImpl.socketAccept(PlainSocketImpl.java:183)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:416)
at java.net.ServerSocket.implAccept(ServerSocket.java:547)
at java.net.ServerSocket.accept(ServerSocket.java:515)
at com.dewa.dewadrive.controller.LocalFileStreamingServer.run(LocalFileStreamingServer.java:145)
at java.lang.Thread.run(Thread.java:764)
Regards,
Rohit
The text was updated successfully, but these errors were encountered: