Fixes for b/4149416:expired license refresh, b/4126624:heartbeats, b/4171055: inconsistent license modes
Also includes b/3500025: A/V resync issues Change-Id: Ib885d7219d211b188f38e9427bdaecd10fbd7329
This commit is contained in:
@@ -470,6 +470,26 @@ WV_Setup(WVSession *&session, WVFileSource *source, const std::string &transport
|
||||
CLIENT_API bool
|
||||
WV_IsWidevineMedia(const char *buffer, size_t length);
|
||||
|
||||
//
|
||||
// METHOD: WV_ConfigureHeartbeat
|
||||
//
|
||||
// Provides a method of configuring the heartbeat after WV_Setup has been
|
||||
// called.
|
||||
//
|
||||
//
|
||||
// Parameters:
|
||||
// [in] heartbeatURL - the URL of the heartbeat server
|
||||
// [in] heartbeatPeriod - the heartbeat interval in seconds
|
||||
//
|
||||
//
|
||||
// Returns:
|
||||
// WV_Status_OK on success, otherwise one of the WVStatus values
|
||||
// indicating the specific error.
|
||||
//
|
||||
CLIENT_API WVStatus
|
||||
WV_ConfigureHeartbeat(WVSession *session, std::string &heartbeatURL,
|
||||
unsigned int heartbeatPeriod);
|
||||
|
||||
//
|
||||
// METHOD: WV_Teardown
|
||||
//
|
||||
@@ -685,6 +705,9 @@ WV_GetData(WVSession *session, unsigned char *buffer, size_t request_size,
|
||||
//
|
||||
// [out] pts - On return, set to MPEG-2 access unit presentation timestamp (PTS)
|
||||
//
|
||||
// [out] sync_frame - On return, indicates whether the data belongs to a sync frame
|
||||
// (video key frame, or audio frame).
|
||||
//
|
||||
// Returns:
|
||||
// WV_Status_OK on success, otherwise one of the WVStatus values
|
||||
// indicating the specific error.
|
||||
@@ -692,7 +715,7 @@ WV_GetData(WVSession *session, unsigned char *buffer, size_t request_size,
|
||||
CLIENT_API WVStatus
|
||||
WV_GetEsData(WVSession *session, WVEsSelector es_selector,
|
||||
unsigned char *buffer, size_t request_size, size_t& return_size,
|
||||
bool& au_start, unsigned long long& dts, unsigned long long& pts);
|
||||
bool& au_start, unsigned long long& dts, unsigned long long& pts, bool& sync_frame);
|
||||
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user