From 9283c3eecb41a4fc397e492c5d2dc8c7711838ab Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Tue, 21 Jul 2020 19:29:56 +0100 Subject: [PATCH] update buffer event endpoint --- app/src/main/java/io/lbry/browser/tasks/BufferEventTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/lbry/browser/tasks/BufferEventTask.java b/app/src/main/java/io/lbry/browser/tasks/BufferEventTask.java index 82dd89b7..18ca7fe0 100644 --- a/app/src/main/java/io/lbry/browser/tasks/BufferEventTask.java +++ b/app/src/main/java/io/lbry/browser/tasks/BufferEventTask.java @@ -15,7 +15,7 @@ import okhttp3.Response; public class BufferEventTask extends AsyncTask { private static final String TAG = "LbryBufferEvent"; - private static final String ENDPOINT = "https://collector-service.lbry.tv/api/v1/events/video"; + private static final String ENDPOINT = "https://collector-service.api.lbry.tv/api/v1/events/video"; private String streamUrl; private String userIdHash; @@ -54,7 +54,7 @@ public class BufferEventTask extends AsyncTask { Response response = client.newCall(request).execute(); String responseString = response.body().string(); - Log.d(TAG, responseString); + Log.d(TAG, String.format("buffer event sent: %s", responseString)); } catch (Exception ex) { // we don't want to fail if a buffer event fails to register Log.d(TAG, String.format("buffer event log failed: %s", ex.getMessage()), ex);