Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Latest commit

 

History

History
36 lines (26 loc) · 931 Bytes

File metadata and controls

36 lines (26 loc) · 931 Bytes

Examples

This directory contains example implementations showcasing various scenarios where the library's features can be used.

Compile examples

You can compile all examples by following these steps:

  1. Fix your credentials in the example you want to use. In run function:

    const boost::json::object accountCredentials = {
        {"accountId", "<your accountId>"},
        {"password", "<your password>"},
        {"accountType", "demo"} // If you are using real account, replace with "real"
    };
    
  2. In examples directory create a build directory and navigate into it:

    mkdir build
    cd build
  3. Run CMake to configure and build the project:

    cmake ..
    cmake --build . 
  4. Binaries will be stored in bin directory. Run example app that you want (f.e. RetrieveStreamSessionId)

    ./bin/RetrieveStreamSessionId