56 lines
1.6 KiB
Markdown
56 lines
1.6 KiB
Markdown
# Widevine License SDK README
|
|
|
|
## For c++ SDK users
|
|
|
|
* Header Files
|
|
|
|
The current set of all cc header files are found in the sub directories
|
|
included in the repo.
|
|
|
|
Current list of header files:
|
|
|
|
```
|
|
1. common/status.h
|
|
2. sdk/external/cpp/wvpl/common/wvpl_sdk_environment.h
|
|
3. sdk/external/cpp/wvpl/common/wvpl_sdk_session.h
|
|
4. sdk/external/cpp/wvpl/common/wvpl_types.h
|
|
5. sdk/external/cpp/wvpl/license_server_sdk/wvpl_environment.h
|
|
6. sdk/external/cpp/wvpl/license_server_sdk/wvpl_session.h
|
|
7. util/error_space.h
|
|
```
|
|
|
|
* Bazel build and test tool.
|
|
|
|
All SDK builds and example code were created using Bazel.
|
|
|
|
All example code has been tested using Bazel and the BUILD rules are
|
|
included as part of a complete and working example.
|
|
|
|
To learn more about Bazel, please see: https://bazel.build
|
|
|
|
> NOTE: Example code is released as being functional under Bazel. \
|
|
> Please use this code and BUILD rules as an example of necessary files \
|
|
> and dependencies if using another build system.
|
|
|
|
* c++ Example Code
|
|
|
|
The c++ example code can be found in:
|
|
|
|
```
|
|
sdk/examples/license_server_sdk/cpp
|
|
```
|
|
|
|
To run the c++ example code, bazel must be installed on your local system.
|
|
|
|
```
|
|
# Copy the SDK .so file to the example directory.
|
|
cp libwvpl_license_sdk.so sdk/examples/license_server_sdk/cpp
|
|
|
|
# Run the examples.
|
|
bazel run sdk/examples/license_server_sdk/cpp:wvpl_license_sdk_example
|
|
bazel run sdk/examples/license_server_sdk/cpp:wvpl_license_sdk_using_dsp_example
|
|
```
|
|
|
|
* For more info please see
|
|
https://developers.google.com/widevine/drm/server/sdk/license
|