BASS.NET API for the Un4seen BASS Audio LibraryEncoderWMAWMA_UsePublish FieldBASS.NET API for the Un4seen BASS Audio Library
Enables WMA encoding to a publishing point on a Windows Media server.

Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public bool WMA_UsePublish

Field Value

Type: Boolean
Remarks

This property will only be evaluated, if WMA_UseNetwork is set to .

When encoding to a network it will not be possible to receive the encoded data (see Start(ENCODEPROC, IntPtr, Boolean)). However, you might use the WMAcast streaming server implementation in this case.

Also note, that if streaming to a Windows Media server you must set the properties: WMA_PublishUrl, WMA_PublishUsername and WMA_PublishPassword.

If you set the WMA_UsePublish property to (default), encoding will directly be done to the network (pull mode): WMA_NetworkClients users might connect directly to the specified WMA_NetworkPort.

Set the WMA_UsePublish property to , in order to enable encoding to a publishing point on a Windows Media server (push mode).

If you are using this encoder in the WMAcast class, there will be no need to set this member, since it will automatically be done by the WMAcast class implementation!

See Also

Reference