How to use CreatePlaybackController Request?

Hi,

I am referring to the following link/s:

  1. MIP SDK Mobile Documentation (milestonesys.com)

I am able to display a sequence using the getRequestStream command.

I noticed that one of its input parameters is “PlaybackControllerId”.

I assume that the PlaybackControllerId is generated by the “CreatePlaybackController” command as listed in the documentation.

But to clarify, can I ask what CreatePlaybackController does?

What I am supposed to do with the PlaybackControllerId?

and assuming the RequestStream command goes through, what is the kind of output should I be expecting?

For my previous request stream, it returns me a data stream of images. How it is displays the “video” playback of the sequence to the browser is just by replacing the image src of a container.

Does the playback Controller do the same thing?

Hi Thimothy,

As you correctly pointed out you don’t need a playback controller if you only want to view playback of a single camera.

The aim of a playback controller is to be shared between multiple playback streams.

Here’s a simple explanation of the workflow:

  1. Create controller via CreatePlaybackController command
  2. Request one or more streams, which will be controlled by it (by passing controller ID to RequestStream)
  3. Use ChangeMultipleStreams command to control all the cameras attached to the controller

You can also have a look at this sample demonstrating how to do that.

I hope that this helps you.

Best regards,

Nikolay