LiveSession

google.cloud.video.stitcher.v1. LiveSession

Represents a LiveSession.

Constructor

new LiveSession(propertiesopt)

Constructs a new LiveSession.

Parameters:
Name Type Attributes Description
properties google.cloud.video.stitcher.v1.ILiveSession <optional>

Properties to set

Implements:
  • ILiveSession

Members

StitchingPolicy

StitchingPolicy enum.

Properties:
Name Type Description
STITCHING_POLICY_UNSPECIFIED number

STITCHING_POLICY_UNSPECIFIED value

COMPLETE_AD number

COMPLETE_AD value

COMPLETE_POD number

COMPLETE_POD value

CUT_CURRENT number

CUT_CURRENT value

adTagMacros

LiveSession adTagMacros.

adTagMap

LiveSession adTagMap.

clientAdTracking

LiveSession clientAdTracking.

defaultAdTagId

LiveSession defaultAdTagId.

defaultSlateId

LiveSession defaultSlateId.

manifestOptions

LiveSession manifestOptions.

name

LiveSession name.

playUri

LiveSession playUri.

sourceUri

LiveSession sourceUri.

stitchingPolicy

LiveSession stitchingPolicy.

Methods

(static) create(propertiesopt) → {google.cloud.video.stitcher.v1.LiveSession}

Creates a new LiveSession instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.video.stitcher.v1.ILiveSession <optional>

Properties to set

Returns:
Type Description
google.cloud.video.stitcher.v1.LiveSession

LiveSession instance

(static) decode(reader, lengthopt) → {google.cloud.video.stitcher.v1.LiveSession}

Decodes a LiveSession message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.video.stitcher.v1.LiveSession

LiveSession

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.video.stitcher.v1.LiveSession}

Decodes a LiveSession message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.video.stitcher.v1.LiveSession

LiveSession

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified LiveSession message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.video.stitcher.v1.ILiveSession

LiveSession message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified LiveSession message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.video.stitcher.v1.ILiveSession

LiveSession message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.video.stitcher.v1.LiveSession}

Creates a LiveSession message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.video.stitcher.v1.LiveSession

LiveSession

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a LiveSession message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.video.stitcher.v1.LiveSession

LiveSession

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies a LiveSession message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not

toJSON() → {Object.<string, *>}

Converts this LiveSession to JSON.

Returns:
Type Description
Object.<string, *>

JSON object