|
|
XVideo
|
public class XVideoURLInfo
The XVideoURLInfo type exposes the following members.
| Name | Description | |
|---|---|---|
| XVideoURLInfo | 생성자. 프로토컬은 UDP를, 비디오 프라이버은 XFFMPDriver를 기본값으로 사용한다. |
| Name | Description | |
|---|---|---|
| Port | 원격(멀티캐스트) 포트 | |
| strDriverName | 사용할 비디오 드라이버 이름. (기본값: XFFMPDRIVER) | |
| strLocalIP | UDP 또는 RTP 네트워크 연결 로컬 주소. 네트워크 장비가 여러 개일 경우 선택적으로 쓴다. | |
| strMultiCastGroupIP | 원격(멀티캐스트) 주소. 입출력 동영상 대상 주소로 멀티캐스트가 아닌 개별 주소여도 된다. | |
| strProtocol | 프로토콜(예: UDP) |
XDL 하위 호환성을 위해 유지하는 구조체로서 다음과 같은 방식으로 UDP 이외 프로토콜에 대응한다.
XVideoURLInfo m_URLInfo = new XVideoURLInfo(); m_URLInfo.Port = 50101; m_URLInfo.strLocalIP = "127.0.0.1"; m_URLInfo.strMultiCastGroupIP = "000.00.00.000"; m_URLInfo.strProtocol = "udp"; m_URLInfo.strDriverName = "XFFMPDRIVER"; XVideo m_Video = m_VideoIO.OpenURL(m_URLInfo, nTimeOut, out strError);