MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
millicast::ViewerCredentials Struct Reference

The ViewerCredentials struct represent the credentials need to be able to connect and subscribe to a Millicast stream. More...

#include <viewer.h>

Public Attributes

bool is_valid
 
std::string stream_name
 
std::optional< std::string > token
 
std::string account_id
 
std::string api_url
 

Detailed Description

The ViewerCredentials struct represent the credentials need to be able to connect and subscribe to a Millicast stream.

See also
https://dash.millicast.com/docs.html

Member Data Documentation

◆ account_id

std::string millicast::ViewerCredentials::account_id

Your millicast account ID

◆ api_url

std::string millicast::ViewerCredentials::api_url

The subscribe API URL as described in the Millicast API

◆ is_valid

bool millicast::ViewerCredentials::is_valid

If the credentials set are valid. This is set after calling set_credentials

◆ stream_name

std::string millicast::ViewerCredentials::stream_name

The name of the stream you want to subscribe The subscribing token as described in the Millicast API (optional)

◆ token

std::optional<std::string> millicast::ViewerCredentials::token

The documentation for this struct was generated from the following file: