public sealed class GenerateStreamHlsTokenResponse : IMessage<GenerateStreamHlsTokenResponse>, IEquatable<GenerateStreamHlsTokenResponse>, IDeepCloneable<GenerateStreamHlsTokenResponse>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class GenerateStreamHlsTokenResponse.
Response message for GenerateStreamHlsToken.
Implements
IMessageGenerateStreamHlsTokenResponse, IEquatableGenerateStreamHlsTokenResponse, IDeepCloneableGenerateStreamHlsTokenResponse, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
GenerateStreamHlsTokenResponse()
public GenerateStreamHlsTokenResponse()GenerateStreamHlsTokenResponse(GenerateStreamHlsTokenResponse)
public GenerateStreamHlsTokenResponse(GenerateStreamHlsTokenResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateStreamHlsTokenResponse |
Properties
ExpirationTime
public Timestamp ExpirationTime { get; set; }The expiration time of the token.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Token
public string Token { get; set; }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
| Property Value | |
|---|---|
| Type | Description |
string |
|