Structure about passive decoding control parameters.
struct{
DWORD dwSize;
DWORD dwPlayCmd;
DWORD dwCmdParam;
BYTE byRes[16];
}NET_DVR_PASSIVEDECODE_CONTROL,*LPNET_DVR_PASSIVEDECODE_CONTROL;
Structure size
Passive decoding control commands, see details in the following table:
|
Command (dwPlayCmd) |
Command No. |
Description |
|---|---|---|
|
PASSIVE_DEC_PAUSE |
1 |
Pause passive decoding (valid for file stream only). |
|
PASSIVE_DEC_RESUME |
2 |
Resume passive decoding (valid for file stream only). |
|
PASSIVE_DEC_FAST |
3 |
Fast forward (valid for file stream only). |
|
PASSIVE_DEC_SLOW |
4 |
Slow forward (valid for file stream only). |
|
PASSIVE_DEC_NORMAL |
5 |
Decode in ×1 speed (valid for file stream only). |
|
PASSIVE_DEC_ONEBYONE |
6 |
Decode in single frame (reserved) |
|
PASSIVE_DEC_AUDIO_ON |
7 |
Turn on audio. |
|
PASSIVE_DEC_AUDIO_OFF |
8 |
Turn off audio. |
|
PASSIVE_DEC_RESETBUFFER |
9 |
Clear buffer. |
Control parameter. The requirement of this parameter depends on the control command.