# [ima](https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/roku/reference/ima).StreamInfo

class static

## Constructor

### StreamInfo

new
StreamInfo()

Information passed from the sdk to the player about the stream.

## Properties

### format

static

[ima.StreamFormat](https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/roku/reference/ima.StreamFormat)

The format of the video: hls or dash.
Defined in ima.StreamFormat.

### manifest

static

String

URL for the stream.

### streamId

static

String

A unique ID for the stream.

### streamType

static

[ima.StreamType](https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/roku/reference/ima.StreamType)

The type of video: live or on demand.
Defined in ima.StreamType.

### subtitles

static

(Array of Array of T or Invalid)

Subtitles, if available. Invalid if not.

## Method

### createStreamInfo

static

createStreamInfo() returns [ima.StreamInfo](https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/roku/reference/ima.StreamInfo)

Returns

:   `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/roku/reference/ima.StreamInfo`