Can I get raw video stream format through Image Server Source Toolkit (ImLiveSourceToolkit)

Now i am using ImLiveSourceToolkit to fetch the raw video stream. The configuration is

<toolkit type='source'>
    <provider>is</provider>
    <config>
        <media_type>VIDEO</media_type>
        <server_uri>http://localhost:7563</server_uri>
        <device_id>c9fdf91f-e84f-466f-a117-7f162631788e</device_id>
        <media_type>VIDEO</media_type>
        <maximum_queue_size>20</maximum_queue_size>
    </config>
</toolkit>

As my application need to work with several different camera, I need to know the format of raw video stream, then I can use different decoder.

However, the Available properties supported by Image Server Source Toolkit doesn’t include its format.

How can I use MultiMedia Toolkit to get video stream format by C++ ?

Or I had to use VideoOS.Platform.Live.RawLiveSource interface in C#?

Hi Roland,

You can refer to the documentation here for the live toolkit in c++

https://doc.developer.milestonesys.com/html/MMTKhelp/class_nm_toolkit_1_1_im_live_source_toolkit.html

when you have this toolkit and call GetData it will return you an ImData instance that will contain the codec type:

https://doc.developer.milestonesys.com/html/MMTKhelp/class_nm_toolkit_1_1_im_data.html

BR,

Artur.