Type Alias: CmcdResponse
type CmcdResponse = CmcdRequest & object;Defined in: CmcdResponse.ts:13
Common Media Client Data (CMCD) version 2 - Response Mode.
Extends CmcdRequest with response-specific keys for reporting response data according to the CMCD version 2 specification.
Type Declaration
cmsdd?
cmsdd?: string;CMSD Dynamic Header
A Base64 encoded copy of the CMSD data received on the CMSD-Dynamic response header. This key MUST only be reported on events of type rr (response received).
String
See
CTA-5004-B CMSD Dynamic Header
cmsds?
cmsds?: string;CMSD Static Header
A Base64 encoded copy of the CMSD data received on the CMSD-Static response header. This key MUST only be reported on events of type rr (response received).
String
See
rc?
rc?: number;Response code
The response code received when requesting a media object. In a redirect scenario, the value is the final response code received. A value of 0 SHOULD be used to indicate that a response was not received.
This key MUST only be reported on events of type rr (response received).
Integer
See
smrt?
smrt?: string;SMRT-Data Header
A Base64 encoded copy of the streaming media response tracing data received on the Request Tracing header. This key MUST only be reported on events of type rr (response received).
String
See
ttfb?
ttfb?: number;Time to first byte
The elapsed time between when the request was first initiated (captured in ts) and the time when the first byte of the response was received. This key MUST only be reported on events of type rr (response received).
Integer milliseconds
See
ttfbb?
ttfbb?: number;Time to first body byte
The elapsed time between when the request was first initiated (captured in ts) and the time the first bytes of the response body are received. This key MUST only be reported on events of type rr (response received).
Integer milliseconds
See
CTA-5004-B Time to First Body Byte
ttlb?
ttlb?: number;Time to last byte
The elapsed time between when the request was first initiated (captured in ts) and the time the response body is fully received. This key MUST only be reported on events of type rr (response received).
Integer milliseconds
See
url?
url?: string;Request URL
The URL used to request the media object. If the request is redirected, this key MUST report the initial requested URL. This key MUST be reported on events of type rr (response received).
String