new ItemHeaderParser(binary)
Binary parser
Do not create instances of this class directly. They are only created by the video connection object and served to you
via its callback. You can then read its properties and data. Which are:
- imageURL - if the frame represents an image, this will be a base64 encoded image;
- frameNumber - index of the frame;
- timestamp - data and time of the frame (Date object);
- hasSizeInformation, hasLiveInformation, hasPlaybackInformation - whether the frame has the corresponding extensions.
If hasSizeInformation is set to true:
- sizeInfo - contains information about frame size and cropping.
If hasLiveInformation is set to true:
- changedLiveEvents and currentLiveEvents - masks of flags. See ItemHeaderParser.LiveFlags.
If hasPlaybackInformation is set to true:
- changedPlaybackEvents and currentPlaybackEvents - masks of flags. See ItemHeaderParser.PlaybackFlags.
Parameters:
Name | Type | Description |
---|---|---|
binary |
data Binary data represented header with all information about the frame and the frame itself |