Мой проект.
когда я нажимаю потоковую передачу, возникает ошибка.
E/WatchMe: com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found
{
"code": 404,
"errors": [
{
"domain": "youtube.liveBroadcast",
"message": "Broadcast not found",
"reason": "liveBroadcastNotFound"
}
],
"message": "Broadcast not found"
}
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:444)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1108)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:542)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:475)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:592)
at com.example.usb.util.YouTubeApi.startEvent(YouTubeApi.java:188)
at com.example.usb.MainActivity$StartEventTask.doInBackground(MainActivity.java:394)
at com.example.usb.MainActivity$StartEventTask.doInBackground(MainActivity.java:378)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Как я могу решить эту проблему?
Почему это ошибка происходит?
Дайте руководство, чтобы сделать прямой эфир с YouTube в android.