Interface GenerateStreamHlsTokenResponseOrBuilder (0.3.0)

public interface GenerateStreamHlsTokenResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExpirationTime()

public abstract Timestamp getExpirationTime()

The expiration time of the token.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
Timestamp

The expirationTime.

getExpirationTimeOrBuilder()

public abstract TimestampOrBuilder getExpirationTimeOrBuilder()

The expiration time of the token.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
TimestampOrBuilder

getToken()

public abstract String getToken()

The generated JWT token.

The caller should insert this token to the authorization header of the HTTP requests to get the HLS playlist manifest and the video chunks. eg: curl -H "Authorization: Bearer $TOKEN" https://domain.com/test-stream.playback/master.m3u8

string token = 1;

Returns
Type Description
String

The token.

getTokenBytes()

public abstract ByteString getTokenBytes()

The generated JWT token.

The caller should insert this token to the authorization header of the HTTP requests to get the HLS playlist manifest and the video chunks. eg: curl -H "Authorization: Bearer $TOKEN" https://domain.com/test-stream.playback/master.m3u8

string token = 1;

Returns
Type Description
ByteString

The bytes for token.

hasExpirationTime()

public abstract boolean hasExpirationTime()

The expiration time of the token.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
boolean

Whether the expirationTime field is set.