This base class contains the information required to contact the license aquisition server and obtain the license for playback.
#include <player/YiLicenseAcquisitionDRMConfiguration.h>

Public Member Functions | |
| CYILicenseAcquisitionDRMConfiguration ()=default | |
| CYILicenseAcquisitionDRMConfiguration (const CYIUrl &licenseAcquisitionUrl) | |
| virtual | ~CYILicenseAcquisitionDRMConfiguration () |
| void | SetLicenseAcquisitionUrl (const CYIUrl &licenseAcquisitionUrl) |
| const CYIUrl & | GetLicenseAcquisitionUrl () const |
| void | SetLicenseAcquisitionHeader (const CYIString &headerField, const CYIString headerValue) |
| void | ClearLicenseAcquisitionHeader (const CYIString &headerField) |
| void | ClearLicenseAcquisitionHeaders () |
| const std::map< CYIString, CYIString > & | GetLicenseAcquisitionHeaders () const |
Public Member Functions inherited from CYIAbstractVideoPlayer::DRMConfiguration | |
| virtual | ~DRMConfiguration ()=default |
| virtual DRM_SCHEME | GetScheme () const =0 |
Protected Attributes | |
| CYIUrl | m_licenseAcquisitionUrl |
| std::map< CYIString, CYIString > | m_licenseAcquisitionHeaders |
|
default |
Constructs a default instance.
| CYILicenseAcquisitionDRMConfiguration::CYILicenseAcquisitionDRMConfiguration | ( | const CYIUrl & | licenseAcquisitionUrl | ) |
Constructs an instance containing the specified licenseAcquisitionUrl
|
virtual |
| void CYILicenseAcquisitionDRMConfiguration::ClearLicenseAcquisitionHeader | ( | const CYIString & | headerField | ) |
Removes the header specified by headerField from the headers that will be used in the request to the license acquisition server.
| void CYILicenseAcquisitionDRMConfiguration::ClearLicenseAcquisitionHeaders | ( | ) |
Removes all current headers that have been set on the configuration.
| const std::map<CYIString, CYIString>& CYILicenseAcquisitionDRMConfiguration::GetLicenseAcquisitionHeaders | ( | ) | const |
Returns all current headers that will be used in the request to the license acquisition server.
| const CYIUrl& CYILicenseAcquisitionDRMConfiguration::GetLicenseAcquisitionUrl | ( | ) | const |
Returns the current license acquisition URL.
| void CYILicenseAcquisitionDRMConfiguration::SetLicenseAcquisitionHeader | ( | const CYIString & | headerField, |
| const CYIString | headerValue | ||
| ) |
Sets a header that will be used in the request to the license acquisition server.
| void CYILicenseAcquisitionDRMConfiguration::SetLicenseAcquisitionUrl | ( | const CYIUrl & | licenseAcquisitionUrl | ) |
Sets the URL for the license acquisition server which will be used to obtain the DRM license for the media which is being prepared.
|
protected |
|
protected |