blob: 6994b63cab625f505144570b9ab4695f04f94141 [file] [log] [blame]
<?xml version="1.0"?>
<!--
Copyright (C) Connectivity Standards Alliance (2025). All rights reserved.
The information within this document is the property of the Connectivity
Standards Alliance and its use and disclosure are restricted, except as
expressly set forth herein.
Connectivity Standards Alliance hereby grants you a fully-paid, non-exclusive,
nontransferable, worldwide, limited and revocable license (without the right to
sublicense), under Connectivity Standards Alliance's applicable copyright
rights, to view, download, save, reproduce and use the document solely for your
own internal purposes and in accordance with the terms of the license set forth
herein. This license does not authorize you to, and you expressly warrant that
you shall not: (a) permit others (outside your organization) to use this
document; (b) post or publish this document; (c) modify, adapt, translate, or
otherwise change this document in any manner or create any derivative work
based on this document; (d) remove or modify any notice or label on this
document, including this Copyright Notice, License and Disclaimer. The
Connectivity Standards Alliance does not grant you any license hereunder other
than as expressly stated herein.
Elements of this document may be subject to third party intellectual property
rights, including without limitation, patent, copyright or trademark rights,
and any such third party may or may not be a member of the Connectivity
Standards Alliance. Connectivity Standards Alliance members grant other
Connectivity Standards Alliance members certain intellectual property rights as
set forth in the Connectivity Standards Alliance IPR Policy. Connectivity
Standards Alliance members do not grant you any rights under this license. The
Connectivity Standards Alliance is not responsible for, and shall not be held
responsible in any manner for, identifying or failing to identify any or all
such third party intellectual property rights. Please visit www.csa-iot.org for
more information on how to become a member of the Connectivity Standards
Alliance.
This document and the information contained herein are provided on an “AS IS”
basis and the Connectivity Standards Alliance DISCLAIMS ALL WARRANTIES EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO (A) ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OF THIRD PARTIES (INCLUDING
WITHOUT LIMITATION ANY INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENT, COPYRIGHT
OR TRADEMARK RIGHTS); OR (B) ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, TITLE OR NONINFRINGEMENT. IN NO EVENT WILL THE
CONNECTIVITY STANDARDS ALLIANCE BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF
BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF BUSINESS, OR FOR ANY OTHER
DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
DAMAGES OF ANY KIND, IN CONTRACT OR IN TORT, IN CONNECTION WITH THIS DOCUMENT
OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
LOSS OR DAMAGE.
All company, brand and product names in this document may be trademarks that
are the sole property of their respective owners.
This notice and disclaimer must be included on all copies of this document.
Connectivity Standards Alliance
508 Second Street, Suite 206
Davis, CA 95616, USA
:xrefstyle: basic
-->
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x0555" name="Push AV Stream Transport Cluster" revision="1">
<revisionHistory>
<revision revision="1" summary="Initial Release"/>
</revisionHistory>
<clusterIds>
<clusterId id="0x0555" name="Push AV Stream Transport">
<provisionalConform/>
</clusterId>
</clusterIds>
<classification hierarchy="base" role="application" picsCode="PAVST" scope="Endpoint"/>
<features>
<feature bit="0" code="PERZONESENS" name="PerZoneSensitivity" summary="Supports a sensitivity value per Zone">
<optionalConform/>
</feature>
<feature bit="1" code="METADATA" name="Metadata" summary="Supports metadata transmission in Push transports">
<otherwiseConform>
<provisionalConform/>
<optionalConform/>
</otherwiseConform>
</feature>
</features>
<dataTypes>
<number name="PushTransportConnectionID" type="uint16"/>
<enum name="CMAFInterfaceEnum">
<item value="0" name="Interface1" summary="CMAF Interface-1 Mode">
<mandatoryConform/>
</item>
<item value="1" name="Interface2DASH" summary="CMAF Interface-2 Mode with DASH Support">
<otherwiseConform>
<provisionalConform/>
<mandatoryConform/>
</otherwiseConform>
</item>
<item value="2" name="Interface2HLS" summary="CMAF Interface-2 Mode with HLS Support">
<otherwiseConform>
<provisionalConform/>
<mandatoryConform/>
</otherwiseConform>
</item>
</enum>
<enum name="ContainerFormatEnum">
<item value="0" name="CMAF" summary="CMAF container format">
<mandatoryConform/>
</item>
</enum>
<enum name="IngestMethodsEnum">
<item value="0" name="CMAFIngest" summary="CMAF ingestion format">
<mandatoryConform/>
</item>
</enum>
<enum name="StatusCodeEnum">
<item value="0x02" name="InvalidTLSEndpoint" summary="The specified TLSEndpointID cannot be found.">
<mandatoryConform/>
</item>
<item value="0x03" name="InvalidStream" summary="The specified VideoStreamID or AudioStreamID cannot be found.">
<mandatoryConform/>
</item>
<item value="0x04" name="InvalidURL" summary="The specified URL is invalid.">
<mandatoryConform/>
</item>
<item value="0x05" name="InvalidZone" summary="A specified ZoneID was invalid.">
<mandatoryConform/>
</item>
<item value="0x06" name="InvalidCombination" summary="The specified combination of Ingestion method and Container format is not supported.">
<mandatoryConform/>
</item>
<item value="0x07" name="InvalidTriggerType" summary="The trigger type is invalid for this command.">
<mandatoryConform/>
</item>
<item value="0x08" name="InvalidTransportStatus" summary="The Stream Transport Status is invalid for this command.">
<mandatoryConform/>
</item>
<item value="0x09" name="InvalidOptions" summary="The requested Container options are not supported with the streams indicated.">
<mandatoryConform/>
</item>
<item value="0x0A" name="InvalidStreamUsage" summary="The requested StreamUsage is not allowed.">
<mandatoryConform/>
</item>
</enum>
<enum name="TransportStatusEnum">
<item value="0" name="Active" summary="Push Transport can transport AV Streams">
<mandatoryConform/>
</item>
<item value="1" name="Inactive" summary="Push Transport cannot transport AV Streams">
<mandatoryConform/>
</item>
</enum>
<enum name="TransportTriggerTypeEnum">
<item value="0" name="Command" summary="Triggered only via a command invocation">
<mandatoryConform/>
</item>
<item value="1" name="Motion" summary="Triggered via motion detection or command">
<mandatoryConform/>
</item>
<item value="2" name="Continuous" summary="Triggered always when transport status is Active">
<mandatoryConform/>
</item>
</enum>
<enum name="TriggerActivationReasonEnum">
<item value="0" name="UserInitiated" summary="Trigger has been activated by user action">
<mandatoryConform/>
</item>
<item value="1" name="Automation" summary="Trigger has been activated by automation">
<mandatoryConform/>
</item>
<item value="2" name="Emergency" summary="Trigger has been activated for emergency reasons">
<mandatoryConform/>
</item>
</enum>
<struct name="CMAFContainerOptionsStruct">
<field id="0" name="CMAFInterface" type="CMAFInterfaceEnum">
<mandatoryConform/>
</field>
<field id="1" name="SegmentDuration" type="uint16">
<mandatoryConform/>
<constraint>
<between>
<from value="500"/>
<to value="65500"/>
</between>
</constraint>
</field>
<field id="2" name="ChunkDuration" type="uint16">
<mandatoryConform/>
<constraint>
<between>
<from value="0"/>
<to>
<compute>
<operation>divide</operation>
<left>
<field name="SegmentDuration"/>
</left>
<right value="2"/>
</compute>
</to>
</between>
</constraint>
</field>
<field id="3" name="SessionGroup" type="uint8">
<mandatoryConform/>
</field>
<field id="4" name="TrackName" type="string">
<mandatoryConform/>
<constraint>
<lengthBetween>
<from value="1"/>
<to value="16"/>
</lengthBetween>
</constraint>
</field>
<field id="5" name="CENCKey" type="octstr">
<otherwiseConform>
<provisionalConform/>
<optionalConform/>
</otherwiseConform>
<constraint>
<allowed value="16"/>
</constraint>
</field>
<field id="6" name="CENCKeyID" type="octstr">
<otherwiseConform>
<provisionalConform/>
<mandatoryConform>
<field name="CENCKey"/>
</mandatoryConform>
</otherwiseConform>
<constraint>
<allowed value="16"/>
</constraint>
</field>
<field id="7" name="MetadataEnabled" type="bool">
<optionalConform>
<feature name="METADATA"/>
</optionalConform>
</field>
</struct>
<struct name="ContainerOptionsStruct">
<field id="0" name="ContainerType" type="ContainerFormatEnum">
<mandatoryConform/>
</field>
<field id="1" name="CMAFContainerOptions" type="CMAFContainerOptionsStruct">
<mandatoryConform>
<equalTerm>
<field name="ContainerType"/>
<enum name="ContainerFormatEnum" value="CMAF"/>
</equalTerm>
</mandatoryConform>
</field>
</struct>
<struct name="SupportedFormatStruct">
<field id="0" name="ContainerFormat" type="ContainerFormatEnum">
<mandatoryConform/>
</field>
<field id="1" name="IngestMethod" type="IngestMethodsEnum">
<mandatoryConform/>
</field>
</struct>
<struct name="TransportConfigurationStruct">
<field id="0" name="ConnectionID" type="PushTransportConnectionID">
<mandatoryConform/>
<constraint>
<between>
<from value="0"/>
<to value="65534"/>
</between>
</constraint>
</field>
<field id="1" name="TransportStatus" type="TransportStatusEnum">
<mandatoryConform/>
</field>
<field id="2" name="TransportOptions" type="TransportOptionsStruct">
<optionalConform/>
</field>
<access fabricScoped="true"/>
</struct>
<struct name="TransportMotionTriggerTimeControlStruct">
<field id="0" name="InitialDuration" type="uint16">
<mandatoryConform/>
<constraint>
<min value="1"/>
</constraint>
</field>
<field id="1" name="AugmentationDuration" type="uint16">
<mandatoryConform/>
</field>
<field id="2" name="MaxDuration" type="elapsed-s">
<mandatoryConform/>
<constraint>
<min value="1"/>
</constraint>
</field>
<field id="3" name="BlindDuration" type="uint16">
<mandatoryConform/>
</field>
</struct>
<struct name="TransportOptionsStruct">
<field id="0" name="StreamUsage" type="StreamUsageEnum">
<mandatoryConform/>
</field>
<field id="1" name="VideoStreamID" type="VideoStreamID">
<quality nullable="true"/>
<optionalConform choice="a" more="true" min="1"/>
</field>
<field id="2" name="AudioStreamID" type="AudioStreamID">
<quality nullable="true"/>
<optionalConform choice="a" more="true" min="1"/>
</field>
<field id="3" name="TLSEndpointID" type="TLSEndpointID">
<mandatoryConform/>
<constraint>
<between>
<from value="0"/>
<to value="65534"/>
</between>
</constraint>
</field>
<field id="4" name="URL" type="string">
<mandatoryConform/>
<constraint>
<lengthBetween>
<from value="13"/>
<to value="2000"/>
</lengthBetween>
</constraint>
</field>
<field id="5" name="TriggerOptions" type="TransportTriggerOptionsStruct">
<mandatoryConform/>
</field>
<field id="6" name="IngestMethod" type="IngestMethodsEnum">
<mandatoryConform/>
</field>
<field id="7" name="ContainerOptions" type="ContainerOptionsStruct">
<mandatoryConform/>
</field>
<field id="8" name="ExpiryTime" type="epoch-s">
<optionalConform/>
</field>
</struct>
<struct name="TransportTriggerOptionsStruct">
<field id="0" name="TriggerType" type="TransportTriggerTypeEnum">
<mandatoryConform/>
</field>
<field id="1" name="MotionZones" type="list">
<entry type="TransportZoneOptionsStruct"/>
<quality nullable="true"/>
<mandatoryConform>
<equalTerm>
<field name="TriggerType"/>
<enum name="TransportTriggerTypeEnum" value="Motion"/>
</equalTerm>
</mandatoryConform>
</field>
<field id="2" name="MotionSensitivity" type="uint8">
<quality nullable="true"/>
<mandatoryConform>
<andTerm>
<equalTerm>
<field name="TriggerType"/>
<enum name="TransportTriggerTypeEnum" value="Motion"/>
</equalTerm>
<notTerm>
<feature name="PERZONESENS"/>
</notTerm>
</andTerm>
</mandatoryConform>
<constraint>
<between>
<from value="1"/>
<to value="10"/>
</between>
</constraint>
</field>
<field id="3" name="MotionTimeControl" type="TransportMotionTriggerTimeControlStruct">
<mandatoryConform>
<equalTerm>
<field name="TriggerType"/>
<enum name="TransportTriggerTypeEnum" value="Motion"/>
</equalTerm>
</mandatoryConform>
</field>
<field id="4" name="MaxPreRollLen" type="uint16">
<mandatoryConform>
<orTerm>
<equalTerm>
<field name="TriggerType"/>
<enum name="TransportTriggerTypeEnum" value="Command"/>
</equalTerm>
<equalTerm>
<field name="TriggerType"/>
<enum name="TransportTriggerTypeEnum" value="Motion"/>
</equalTerm>
</orTerm>
</mandatoryConform>
</field>
</struct>
<struct name="TransportZoneOptionsStruct">
<field id="0" name="Zone" type="ZoneID">
<quality nullable="true"/>
<mandatoryConform/>
</field>
<field id="1" name="Sensitivity" type="uint8">
<mandatoryConform>
<feature name="PERZONESENS"/>
</mandatoryConform>
<constraint>
<between>
<from value="1"/>
<to value="10"/>
</between>
</constraint>
</field>
</struct>
</dataTypes>
<attributes>
<attribute id="0x0000" name="SupportedFormats" type="list">
<entry type="SupportedFormatStruct"/>
<access read="true" readPrivilege="view"/>
<quality persistence="fixed"/>
<mandatoryConform/>
<constraint>
<minCount value="1"/>
</constraint>
</attribute>
<attribute id="0x0001" name="CurrentConnections" type="list">
<entry type="TransportConfigurationStruct"/>
<access read="true" readPrivilege="view" fabricSensitive="true"/>
<quality persistence="nonVolatile"/>
<mandatoryConform/>
<constraint>
<desc/>
</constraint>
</attribute>
</attributes>
<commands>
<command id="0x00" name="AllocatePushTransport" direction="commandToServer" response="AllocatePushTransportResponse">
<quality largeMessage="true"/>
<access invokePrivilege="manage" fabricScoped="true"/>
<mandatoryConform/>
<field id="0" name="TransportOptions" type="TransportOptionsStruct">
<mandatoryConform/>
</field>
</command>
<command id="0x01" name="AllocatePushTransportResponse" direction="responseFromServer">
<quality largeMessage="true"/>
<mandatoryConform/>
<field id="0" name="TransportConfiguration" type="TransportConfigurationStruct">
<mandatoryConform/>
</field>
</command>
<command id="0x02" name="DeallocatePushTransport" direction="commandToServer" response="Y">
<access invokePrivilege="manage" fabricScoped="true"/>
<mandatoryConform/>
<field id="0" name="ConnectionID" type="PushTransportConnectionID">
<mandatoryConform/>
<constraint>
<between>
<from value="0"/>
<to value="65534"/>
</between>
</constraint>
</field>
</command>
<command id="0x03" name="ModifyPushTransport" direction="commandToServer" response="Y">
<access invokePrivilege="manage" fabricScoped="true"/>
<mandatoryConform/>
<field id="0" name="ConnectionID" type="PushTransportConnectionID">
<mandatoryConform/>
<constraint>
<between>
<from value="0"/>
<to value="65534"/>
</between>
</constraint>
</field>
<field id="1" name="TransportOptions" type="TransportOptionsStruct">
<mandatoryConform/>
</field>
</command>
<command id="0x04" name="SetTransportStatus" direction="commandToServer" response="Y">
<access invokePrivilege="manage" fabricScoped="true"/>
<mandatoryConform/>
<field id="0" name="ConnectionID" type="PushTransportConnectionID">
<quality nullable="true"/>
<mandatoryConform/>
</field>
<field id="1" name="TransportStatus" type="TransportStatusEnum">
<mandatoryConform/>
</field>
</command>
<command id="0x05" name="ManuallyTriggerTransport" direction="commandToServer" response="Y">
<access invokePrivilege="operate" fabricScoped="true"/>
<mandatoryConform/>
<field id="0" name="ConnectionID" type="PushTransportConnectionID">
<mandatoryConform/>
<constraint>
<between>
<from value="0"/>
<to value="65534"/>
</between>
</constraint>
</field>
<field id="1" name="ActivationReason" type="TriggerActivationReasonEnum">
<mandatoryConform/>
</field>
<field id="2" name="TimeControl" type="TransportMotionTriggerTimeControlStruct">
<optionalConform/>
</field>
<field id="3" name="UserDefined" type="octstr">
<optionalConform>
<feature name="METADATA"/>
</optionalConform>
<constraint>
<maxLength value="256"/>
</constraint>
</field>
</command>
<command id="0x06" name="FindTransport" direction="commandToServer" response="FindTransportResponse">
<quality largeMessage="true"/>
<access invokePrivilege="operate" fabricScoped="true"/>
<mandatoryConform/>
<field id="0" name="ConnectionID" type="PushTransportConnectionID">
<quality nullable="true"/>
<mandatoryConform/>
</field>
</command>
<command id="0x07" name="FindTransportResponse" direction="responseFromServer">
<quality largeMessage="true"/>
<mandatoryConform/>
<field id="0" name="TransportConfigurations" type="list">
<entry type="TransportConfigurationStruct"/>
<mandatoryConform/>
</field>
</command>
</commands>
<events>
<event id="0x00" name="PushTransportBegin" priority="info">
<access readPrivilege="view"/>
<mandatoryConform/>
<field id="0" name="ConnectionID" type="PushTransportConnectionID">
<mandatoryConform/>
<constraint>
<between>
<from value="0"/>
<to value="65534"/>
</between>
</constraint>
</field>
<field id="1" name="TriggerType" type="TransportTriggerTypeEnum">
<mandatoryConform/>
</field>
<field id="2" name="ActivationReason" type="TriggerActivationReasonEnum">
<mandatoryConform>
<equalTerm>
<field name="TriggerType"/>
<enum name="TransportTriggerTypeEnum" value="Command"/>
</equalTerm>
</mandatoryConform>
</field>
</event>
<event id="0x01" name="PushTransportEnd" priority="info">
<access readPrivilege="view"/>
<mandatoryConform/>
<field id="0" name="ConnectionID" type="PushTransportConnectionID">
<mandatoryConform/>
<constraint>
<between>
<from value="0"/>
<to value="65534"/>
</between>
</constraint>
</field>
</event>
</events>
</cluster>