This project provides a starting point for integrating the Brightcove CMS API into your application. It provides simple ways to interact with the API, as well as a long list of helper functions.
I'm using 0.8 version of this library and using Drupal module 7.x-6.4. And using aws s3 as middle layer for temporary storage instead of \tmp directory locally. Sometimes, randomly it's happening that video gets uploaded in s3 but doesn't get uploaded to brightcove studio. And sometimes upload happens flawlessly. When I debugged the code, I found that upload takes place in the function "function _brightcove_upload_form_callback" of brightcove.module and within this function it calls "brightcove_upload_and_ingest" function, which internally calls to functions:
Hi,
I'm using 0.8 version of this library and using Drupal module 7.x-6.4. And using aws s3 as middle layer for temporary storage instead of \tmp directory locally. Sometimes, randomly it's happening that video gets uploaded in s3 but doesn't get uploaded to brightcove studio. And sometimes upload happens flawlessly. When I debugged the code, I found that upload takes place in the function "function _brightcove_upload_form_callback" of brightcove.module and within this function it calls "brightcove_upload_and_ingest" function, which internally calls to functions:
_brightcove_create_classes
and
$video = $cms->createVideo($video); $request = \Brightcove\API\Request\IngestRequest::createRequest($url, $profile);
when upload doesn't happen, it just returns [id:].
Can you please suggest why this can happen. It's a random issue I'm facing. Please suggest.