900Seconds / 900SecondsSDK-Android

Live Streaming Video SDK for Android
29 stars 22 forks source link

Getting Error #3

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi. Why sometimes when I want to get the list of my streams, I just receive the error written below?

04-07 22:48:07.995 23082-23111/com.livestreamsdk.example I/EYEYE: <Backend> GET REQUEST https://api.livestreamsdk.com/stream/recent?appID=__test_app_id COMPLETED 
04-07 22:48:08.040 23082-23111/com.livestreamsdk.example E/EYEYE: <Nine00SecondsSDK> org.json.JSONException: End of input at character 65097 of {
                                                                    "total": 171,
                                                                    "offset": 0,
                                                                    "count": 171,
                                                                    "maxPopularity": 1608,
                                                                    "streams": [
                                                                      {
                                                                        "streamID": "51c73d27-cd0d-40a4-aa37-04762bc4a187",
                                                                        "authorID": "sjac59w26ts3papfj8bymb1rv0i0jojz",
                                                                        "appID": "__test_app_id",
                                                                        "streamType": "",
                                                                        "validUntil": null,
                                                                        "preciseLocation": 1,
                                                                        "popularity": 2,
                                                                        "ratingPoints": 200,
                                                                        "createdAt": "2016-04-07T15:34:32.633Z",
                                                                        "updatedAt": "2016-04-07T17:31:41.497Z",
                                                                        "location": {
                                                                          "type": "Point",
                                                                          "coordinates": [
                                                                            51.35810490866575,
                                                                            35.85830293852319
                                                                          ]
                                                                        },
                                                                        "lastSegmentCreatedAt": "2016-04-07T15:35:00.593Z",
                                                                        "stoppedAt": "2016-04-07T15:34:59.234Z",
                                                                        "id": "57067e08a37a30d40318b13c",
                                                                        "isGolden": false
                                                                      },
                                                                      {
                                                                        "appID": "__test_app_id",
                                                                        "authorID": "1045232728841691",
                                                                        "streamID": "6B6FFA1D-4FF1-45E9-87EB-2B0B6D4B75F6",
                                                                        "validUntil": "2016-04-08T09:50:35.683Z",
                                                                        "preciseLocation": 0,
                                                                        "popularity": 4,
                                                                        "ratingPoints": 240,
                                                                        "createdAt": "2016-04-07T09:50:25.235Z",
                                                                        "updatedAt": "2016-04-07T15:45:04.216Z",
                                                                        "location": {
                                                                          "type": "Point",
                                                                          "coordinates": [
                                                                            9.764797694540253,
                                                                            47.67509656845965
                                                                          ]
                                                                        },
                                                                        "previewUrl": "http://900seconds.s3-eu-west-1.amazonaws.com/6B6FFA1D-4FF1-45E9-87EB-2B0B6D4B75F6_preview.jpg",
                                                                        "streamType": "landsc",
                                                                        "lastSegmentCreatedAt": "2016-04-07T09:50:48.789Z",
                                                                        "stoppedAt": "2016-04-07T09:50:49.260Z",
                                                                        "id": "57062d61a37a30d40318b126",
                                                                        "isGolden": false
                                                                      },
                                                                      {
                                                                        "appID": "__test_app_id",
                                                                        "authorID": "70EA320D-C521-4C02-A1EE-DA8E9EE15197",
                                                                        "streamID": "129D6572-3FBD-40A6-A439-D2D8A6D90E89",
                                                                        "validUntil": null,
                                                                        "preciseLocation": 1,
                                                                        "popularity": 8,
                                                                        "ratingPoints": 200,
                                                                        "createdAt": "2016-04-07T07:18:38.775Z",
                                                                        "updatedAt": "2016-04-07T15:45:40.873Z",
                                                                        "location": {
                                                                          "type": "Point",
                                                                          "coordinates": [
                                                                            76.73964330196337,
                                                                            30.67586473488633
                                                                          ]
                                                                        },
                                                                        "previewUrl": "http://900seconds.s3-eu-west-1.amazonaws.com/129D6572-3FBD-40A6-A439-D2D8A6D90E89_preview.jpg",
                                                                        "lastSegmentCreatedAt": "2016-04-07T07:22:23.272Z",
                                                                        "id": "570609ceec837d5504a1eac4",
                                                                        "isGolden": false
                                                                      },
                                                                      {
                                                                        "appID": "__test_app_id",
                                                                        "authorID": "70EA320D-C521-4C02-A1EE-DA8E9EE15197",
                                                                        "streamID": "E81ECDE9-0B07-4FFA-9405-DAF2C6C22DF3",
                                                                        "validUntil": null,
                                                                        "preciseLocation": 1,
                                                                        "popularity": 3,
                                                                        "ratingPoints": 200,
                                                                        "createdAt": "2016-04-07T07:00:35.498Z",
                                                                        "updatedAt": "2016-04-07T10:23:55.185Z",
                                                                        "location": {
                                                                          "type": "Point",
                                                                          "coordinates": [
                                                                            76.73955497415812,
                                                                            30.67590144405959
                                                                          ]
                                                                        },
                                                                        "previewUrl": "http://900seconds.s3-eu-west-1.amazonaws.com/E81ECDE9-0B07-4FFA-9405-DAF2C6C22DF3_preview.jpg",
                                                                        "lastSegmentCreatedAt": "2016-04-07T07:04:33.925Z",
                                                                        "id": "57060593a37a30d40318b0ee",
                                                                        "isGolden": false
                                                                      },
                                                                      {
                                                                        "appID": "__test_app_id",
                                                                        "authorID": "70EA320D-C521-4C02-A1EE-DA8E9EE15197",
                                                                        "streamID": "1173A2E2-1D33-406C-9978-F6F90DF9F06F",
                                                                        "validUntil": null,
                                                                        "preciseLocation": 1,
                                                                        "popularity": 4,
                                                                        "ratingPoints": 200,
                                                                        "createdAt": "2016-04-07T06:55:03.820Z",
                                                                        "updatedAt": "2016-04-07T10:23:24.565Z",
                                                                        "location": {
                                                                          "type": "Point",
                                                                          "coordinates": [
                                                                            76.73973193535787,
                                                                            30.6758731477604
                                                                          ]
                                                                        },
                                                                        "previewUrl": "http://900seconds.s3-eu-west-1.amazonaws.com/1173A2E2-1D33-406C-9978-F6F90DF9F06F_preview.jpg",
                                                                        "lastSegmentCreatedAt": "2016-04-07T06:55:48.675Z",
                                                                        "stoppedAt": "2016-04-07T06:55:49.666Z",
                                                                        "id": "57060447a37a30d40318b0e9",
                                                                        "isGolden": false
                                                                      },
                                                                      {
                                                                        "streamID": "572ff7cc-e189-4f35-b9e4-3c6c48831138",
                                                                        "authorID": "zjett2uqcqa4kfjtgjp7d9s