INPUT_OBJECT

AddMediaSegment

link GraphQL Schema definition

1input AddMediaSegment {
4
2# ID of the TemporalDataObject container for the segment
3containerId: ID!
18
5# Details for the segment, such as start and stop offset.
6#
7# Media segments carry segmentIndex, segmentStartTimeMs, segmentStopTimeMs
8# and segmentDurationMs — and MUST NOT include a codecs key. The stream's
9# initialization segment is identified by the PRESENCE of the codecs key
10# (any value, including null or an empty string), or by an explicit
11# initializationSegment: true (required for an init segment sent without a
12# codecs key). fps is NOT an identification marker. The server stamps
13# initializationSegment: true on any segment whose details include the
14# codecs key; manifest generation identifies the init segment by that
15# flag, falling back to codecs-key presence for data written before
16# stamping existed.
17details: JSONData!
21
19# The url to the segment content.
20url: String!
24
22# ID of the segment group (Optional)
23segmentGroupId: ID
25}