BASS_WMA_EncodeGetPort
Retrieves the network port for clients to connect to.
DWORD BASS_WMA_EncodeGetPort(
HWMENCODE handle
);
Parameters
| handle | The encoder handle. |
Return value
If successful, the port number is returned, else 0 is returned. Use BASS_ErrorGetCode to get the error code.Error codes
| BASS_ERROR_HANDLE | handle is not valid. |
| BASS_ERROR_NOTAVAIL | The encoder is not a network encoder, so no port is being used. |