|
Member |
Data Type |
Description |
|---|---|---|
|
dwSize |
DWORD |
Structure size. |
|
dwDecChannel |
DWORD |
Decoding channel No. |
|
byAddressType |
BYTE |
Device address type: 0-IP address, 1-domain name, 2-URL. |
|
byChannelType |
BYTE |
Channel type: 0-normal channel, 1-channel-zero, 2-stream ID. |
|
byStreamEncrypt |
BYTE |
Whether to encrypt the stream: 0-no, 1-yes. |
|
byRes1 |
BYTE |
Reserved. The maximum length is one byte. |
|
sUserName |
BYTE |
User name. The maximum length is "NAME_LEN" (32 bytes). |
|
sPassword |
BYTE |
Password. The maximum length is "PASSWD_LEN" (16 bytes). |
|
dwChannel |
DWORD |
Device channel No. |
|
byStreamId |
BYTE |
Stream ID. This member is valid when the value of byChannelType is 2. The maximum length is "STREAM_ID_LEN" (32 bytes). |
|
dwPlayMode |
DWORD |
Decoding and playing mode: 0-by file, 1-by time. |
|
unionAddr |
union |
Address parameter union. See details in the table below. |
|
unionPlayBackInfo |
union |
Playback information union. See details in the table below. |
|
struURL |
Streaming URL. This member is valid when the value of byAddressType is 2. |
|
|
sStreamPassword |
BYTE |
Stream encryption password. The maximum length is "STREAM_PASSWD_LEN" (12 bytes). |
|
byRes2 |
BYTE |
Reserved. The maximum length is 116 bytes. |
|
Member |
Data Type |
Description |
|---|---|---|
|
byRes |
BYTE |
Reserved. The maximum length is 200 bytes. |
|
struIpAddr |
IP address. This member is valid when the value of byAddressType is 0. |
|
|
struDdnsAddr |
Domain name. This member is valid when the value of byAddressType is 1. |
|
Member |
Data Type |
Description |
|---|---|---|
|
byRes |
BYTE |
Reserved. The maximum length is 128 bytes. |
|
struPlayBackByTime |
Information when playback by time. |
|
|
sFileName |
char |
Information when playback by file. The maximum length is 128 bytes. |