Adaptive

Both on-demand (including MBR) and live streaming is possible using StreamOne. Supported protocols are HLS, MPEG-DASH, HDS and Smooth Streaming.

On-demand streaming

URLs are constructed using the account-id and item-id as an identifier.

URL’s for on-demand streaming look like: http://media.streamonecloud.net/<TYPE>/account=<ACCOUNT>/item=<ITEM>/<TYPE-SPECIFIC>

The <TYPE> should be one of hls, hds, smooth or dash. The parameter <ITEM> is used to identify the item to stream, while <ACCOUNT> should be the account-id. The <TYPE-SPECIFIC> part depends on the type:

  • For HLS, it should be <NAME>.m3u8
  • For HDS, it should be <NAME>.f4m
  • For MPEG-DASH, it should be <NAME>.mpd
  • For Smooth, it should be Manifest

For all types except for Smooth the <NAME> parameter can be any desired filename, which can be used for SEO-purposes.

An example URL for on-demand HLS streaming: http://media.streamonecloud.net/hls/account=uKwmNoUQREGC/item=sXRKjbCqeG/seo-title.m3u8

An example URL for on-demand HDS streaming: http://media.streamonecloud.net/hds/account=uKwmNoUQREGC/item=sXRKjbCqeG/seo-title.f4m

An example URL for on-demand MPEG-DASH streaming: http://media.streamonecloud.net/dash/account=uKwmNoUQREGC/item=sXRKjbCqeG/seo-title.mpd

An example URL for on-demand Smooth streaming: http://media.streamonecloud.net/smooth/account=uKwmNoUQREGC/item=sXRKjbCqeG/Manifest

Virtual clips (on-demand)

It is possible to define a virtual clip within the item. In order to achieve this, the smartstart and smartend parameters can be used.

If smartstart=60 is used, this means the clip will playback from approximately 1 minute after the real start of the item. If smartend=120 is used, this means the clip will end 2 minutes after the real start of the item. If both are combined this means the resulting clip will be approximately 1 minute long.

An example of an HLS stream with a virtual subclip: http://media.streamonecloud.net/hls/account=d4Dsa8/item=h7Mvb83i2/smartstart=60/smartend=120/seo-title.m3u8

On-demand authentication

Signing a link overrides all other security mechanisms (like security profiles and the protected setting). Thus, with a signed link an item or livestream can always be viewed.

More information about signing can be found in the signed URL documentation.

Livestreaming

URLs are constructed using the liveStreamId as identifier (s3DsjqW24X is being used as sample liveStreamId).

A URL for HLS livestreaming is constructed as follows: http://hls.streamone.nl/livestream/s3DsjqW24X/playlist.m3u8

A URL for RTSP livestreaming is constructed as follows: rtsp://rtsp.streamone.nl/livestream/s3DsjqW24X

For RTMP livestreaming, the application name is ‘livestream’, and the ID is ‘s3DsjqW24X’.