Storm docs logo
Search the docs.../
Explore Storm Products

Substream Metadata

Returns technical metadata about the audio and video streams for a specific substream.

Request

PropertyValue
MethodGET
URL/api/streams/{appName}/{streamKey}/{substreamName}/metadata
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X GET "{BASE_URL}/api/streams/{appName}/{streamKey}/{substreamName}/metadata" \
  -H "Authorization: Bearer YOUR_TOKEN"

Path Parameters

ParameterTypeRequiredDescription
appNamestringYesApplication name
streamKeystringYesStream key
substreamNamestringYesSubstream name
Request
Code iconbash
curl -X GET "{BASE_URL}/api/streams/{appName}/{streamKey}/{substreamName}/metadata" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response Body

General Info

ParameterTypeDescription
data.encoderNamestringEncoder software name and version
data.legacyEncoderstringLegacy encoder identifier
data.durationintegerStream duration (0 for live)

Video Metadata

ParameterTypeDescription
data.videoCodecstringVideo codec name
data.videoCodecIDintegerVideo codec ID
data.videoDataRateintegerVideo bitrate in kbps
data.videoTimeScaleintegerVideo time scale (ticks per second)
data.widthintegerVideo width in pixels
data.heightintegerVideo height in pixels
data.frameRatenumberFrame rate in fps
data.frameRateSpecifiedbooleanIndicates if frame rate is explicitly set

Audio Metadata

ParameterTypeDescription
data.audioCodecstringAudio codec name
data.audioCodecIDintegerAudio codec ID
data.audioDataRateintegerAudio bitrate in kbps
data.audioSampleRateintegerAudio sample rate in Hz
data.audioSampleSizeintegerAudio sample size in bits
data.audioChannelsintegerNumber of audio channels

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "data": {
    "encoderName": "Lavf60.16.100",
    "legacyEncoder": "Unknown",
    "duration": 0,
    "videoCodec": "AVC_H264",
    "videoCodecID": 7,
    "videoDataRate": 3417,
    "videoTimeScale": 90000,
    "width": 1720,
    "height": 720,
    "frameRate": 30,
    "frameRateSpecified": true,
    "audioCodec": "AAC",
    "audioCodecID": 10,
    "audioDataRate": 146,
    "audioSampleRate": 48000,
    "audioSampleSize": 16,
    "audioChannels": 0
  },
  "meta": {
    "executionTime": 1,
    "generatedAt": 1764757205404
  }
}

Error Responses

Substream Not Found (404)

ParameterTypeDescription
messagestringHuman-readable error message
Code iconjson
{
  "message": "Substream not found"
}
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.