IMVNetworkRenderer
IMVNetworkRenderer Interface.
Read thefilter description to see how the filter is used.
| CheckClient | Sends a ping to the current client. |
| ClientAddress | Set client name or IP address. |
| Description | Set the transport stream description. |
| Port | Set the transport stream port number. |
| Protocol | Set the transport stream protocol. |
| Status | Get the network renderer status. |
| UpdateNetworkConnection | Restarts the network connection with the updated parameter. |
Header file:
IMVNetworkRenderer.h
Interface definition language file: IMVNetworkRenderer.idl
Typelib: MVNetworkRenderer
Interface ID: IID_IMVNetworkRenderer
Method IMVNetworkRenderer::CheckClient
Declaration: Sub CheckClient(address As String, time As Long, reason As String)Sends a ping to the current client.
Parameter:
Prototype:
address Contains the IP address from the checked client. time Contains the roundtrip time from the ping. reason Contains a reason if the ping failed. HRESULT CheckClient(BSTR* address, long* time, BSTR* reason);
Property IMVNetworkRenderer::ClientAddress
Declaration: Property Get/Put ClientAddress As StringSet client name or IP address.
Prototype:HRESULT put_ClientAddress(BSTR address);
HRESULT get_ClientAddress(BSTR* address);
Property IMVNetworkRenderer::Description
Declaration: Property Get/Put Description As StringSet the transport stream description.
Prototype:HRESULT put_Description(BSTR description);
HRESULT get_Description(STRING* description);
Property IMVNetworkRenderer::Port
Declaration: Property Get/Put Port As IntegerSet the transport stream port number.
Prototype:HRESULT put_Port(int port);
HRESULT get_Port(int* port);
Property IMVNetworkRenderer::Protocol
Declaration: Property Get/Put Protocol As LongSet the transport stream protocol.
Prototype:
Protocol Value
Description MV_NETWORK_PROTOCOL_UDP 0
Use UDP as transport protocol. Only one connection is possible. MV_NETWORK_PROTOCOL_TCP 1
Use TCP as transport protocol. The renderer filter supports more than on connection in this case. HRESULT put_Protocol(long protocol);
HRESULT get_Protocol(long* protocol);
Property IMVNetworkRenderer::Status
Declaration: Property Get Status As LongGet the network renderer status.
Status Value
Description MV_NETWORK_STATUS_IDLE 0
Sends no network data from a server. MV_NETWORK_STATUS_SEND_MEDIATYPE 1
Sends mediatype information packets. MV_NETWORK_STATUS_SEND_STREAM 2
Sends media stream data and mediatype information packets.
Prototype:HRESULT get_Status(long* status);
Method IMVNetworkRenderer::UpdateNetworkConnection
Declaration: Sub UpdateNetworkConnectionRestarts the network connection with the updated parameter.
Prototype:HRESULT UpdateNetworkConnection();