NET_DVR_MATRIX_DEC_REMOTE_PLAY_EX

Parameter structure about remote decoding and playback on video wall.

Structure Definition

struct{
  DWORD	dwSize;
  DWORD	dwDecChannel;
  BYTE	 byAddressType;
  BYTE	 byChannelType;
  BYTE	 byres[2];
  BYTE	 sUserName[NAME_LEN/*32*/];
  BYTE	 sPassword[PASSWD_LEN/*16*/];
  DWORD	dwChannel;
  BYTE	 byStreamId[STREAM_ID_LEN/*32*/];
  DWORD	dwPlayMode;
  union
  {
     BYTE                  byRes[200];
     NET_DVR_IP_ADDRESS    struIpAddr;
     NET_DVR_DDNS_ADDRESS  struDdnsAddr;
  }unionAddr
  union
  {
     BYTE                        byRes[128];
     NET_DVR_PLAY_BACK_BY_TIME   struPlayBackByTime;
     char                        sFileName[128];	
  }unionPlayBackInfo;
}NET_DVR_MATRIX_DEC_REMOTE_PLAY_EX, *LPNET_DVR_MATRIX_DEC_REMOTE_PLAY_EX;

Members

dwSize

Structure size.

dwDecChannel

Decoding channel No. or window No.

byAddressType

Device address type: 0-IP address, 1-DDNS domain.

byChannelType

Channel type: 0-Normal channel, 1-Channel-Zero, 2-Stream ID

byres

Reserved

sUserName

User name

sPassword

Password

dwChannel

Devoice channel No.

byStreamId

Stream ID, this parameter is valid only when the channel type (byChannelType) is Stream ID.

dwPlayMode

Playback mode, 0-by file, 1-by time

unionAddr
Device address union, see its members below:
byRes

Union size (200 bytes)

struIpAddr

Device IP address, see details in the structure NET_DVR_IP_ADDRESS.

struDdnsAddr

Device DDNS domain name, see details in the structure NET_DVR_DDNS_ADDRESS.

unionPlayBackInfo
Playback parameter union, see its members below:
byRes

Union size (200 bytes)

struPlayBackByTime

File information (when playback by time, see details in the structure NET_DVR_PLAY_BACK_BY_TIME)

sFileName

File information (when playback by file name)