STANAG 4609 Player .NET SDK
Version 4.0.0
|
STANAG Player SDK allows both file and low latency stream playback as well as HLS playback (with file segments stored locally or at the http server)
This is an example of STANAG Player SDKSDK usage in STANAG 4609 file / stream player application.
There are 4 steps:
Phase | Description |
---|---|
Creating Instance | Create player instance |
Setting events | Add events (playback, detection, frame / data / errors) |
Configure params | Configure operational mode and other parameters |
Call commands | Start / Stop, etc |
Demo Application receives a stream url (or file path) as an input parameter, detects video and KLV metadata information and plays back the video. To perform this task, the KlvPlayerLib instance will be used. For more details on the interfaces please see IStCoreWr.
First, make sure you have all prerequisites in place. For more info on Prerequisites.
Create the player instance:
Set up events
Initialize the Player
Optional parameters:
Now, all you need is to start playback.
Video will be rendered in the Window provided during the initialization phase and OnKlvDataEvent method will be called on Klv data arrival.
During the playback, the relevant events (if set) will be fired.
For a complete code sample please see Playback Sample (console)