Gateway Clip Description >

# sampleRate

The <sampleRate> element describes the frames per second rate of the media described by the <feed> element. If no frame rate is specified, it is up to the application to decide on the frame rate to use.

Use numerator/denominator elements to express as a fraction frame rates using decimals. Use an integer for other cases. The following expresses a frame rate of 23.976 fps.

    <sampleRate type="time">
     					<numerator>24000</numerator>
    						<denominator>1001</denominator>
    </sampleRate>

To express a frame rate using an unsigned integer, use the short-hand notation without child-elements but only a single integer.

    <sampleRate type="time">25</sampleRate>

Attribute | Description | Data Type | Allowed Values | Attribute is...
--- | --- | --- | --- | ---
type | The data type of the element. | character data | rate | Required
version | Version of the xml element. | unsigned integer | 3 | Implied

Children
(numerator,denominator) | #cdata