BASS.NET API for the Un4seen BASS Audio Library

WMAcast Class

BASS.NET API for the Un4seen BASS Audio Library
Windows Media Streaming (WMAcast) streaming parameter class. To be used when creating an instance of the BroadCast class.
Inheritance Hierarchy

SystemObject
  Un4seen.Bass.MiscStreamingServer
    Un4seen.Bass.MiscWMAcast

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

[SerializableAttribute]
public sealed class WMAcast : StreamingServer

The WMAcast type exposes the following members.

Constructors

  NameDescription
Public methodCode exampleWMAcast
Creates an instance for an WMAcast configuration parameter setting.
Top
Properties

  NameDescription
Public propertyEncoder
Returns the encoder interface which is used with this instance.
(Inherited from StreamingServer.)
Public propertyForceUTF8TitleUpdates
Gets or Sets if title updates (via UpdateTitle(String, String)) should in any case use UTF-8 (default is ).
(Inherited from StreamingServer.)
Public propertyIsConnected
Returns , if connected and logged into the WMAcast server - else .
(Overrides StreamingServerIsConnected.)
Public propertyLastError
Gets or Sets the last streaming error.
(Inherited from StreamingServer.)
Public propertyLastErrorMessage
Gets or Sets the last streaming error message.
(Inherited from StreamingServer.)
Public propertyLocalNetworkCardIPAddress
Gets or Sets a local IP address to use for cast server connections (=any, default):
(Inherited from StreamingServer.)
Public propertyNetworkClients
The maximum number of clients (up to 50) that can be connected (only used, if UsePublish is set to ) - default is 1.
Public propertyNetworkPort
The network port number for clients to conenct to (only used, if UsePublish is set to ) - default is 8080.
Public propertyPublishPassword
Password to use in connecting to the server (only used, if UsePublish is set to ).
Public propertyPublishUrl
URL of the publishing point on the Windows Media server (only used, if UsePublish is set to ).
Public propertyPublishUsername
Username to use in connecting to the server (only used, if UsePublish is set to ).
Public propertySongTitle
The current/last song title.
(Inherited from StreamingServer.)
Public propertySongUrl
The current/last song url.
(Inherited from StreamingServer.)
Public propertyUseBASS
Gets if native BASSenc should be used to connect and stream to the server (as specified in the constructor).
(Inherited from StreamingServer.)
Public propertyUsePublish
Enables WMA encoding to a publishing point on a Windows Media server (default is , meaning direct network).
Top
Methods

  NameDescription
Public methodConnect
Establishes a connection to the WMAcast server (network or publishing point).
(Overrides StreamingServerConnect.)
Public methodDisconnect
Disconnects from an WMAcast server.
(Overrides StreamingServerDisconnect.)
Public methodDispose
Implement IDisposable.
(Inherited from StreamingServer.)
Protected methodFinalize
Finalization code.
(Inherited from StreamingServer.)
Public methodGetListeners
Returns the number of listeners currently connected (only if UsePublish is set to ).
(Overrides StreamingServerGetListeners(String).)
Public methodGetStats
Returns the XML stats of the server.
(Overrides StreamingServerGetStats(String).)
Public methodLogin
Performs a login and initializes the WMAcast server.
(Overrides StreamingServerLogin.)
Public methodSendData
Sends sample data to the underlying WMA encoder.
(Overrides StreamingServerSendData(IntPtr, Int32).)
Public methodUpdateTitle(String, String)
Updates the song title of the streaming server.
(Overrides StreamingServerUpdateTitle(String, String).)
Public methodUpdateTitle(TAG_INFO, String)
Updates the song title of the streaming server.
(Inherited from StreamingServer.)
Top
Fields

  NameDescription
Public fieldStreamAuthor
An optional author of the stream.
Public fieldStreamCopyright
A optional copyright notice for the stream.
Public fieldStreamDescription
A optional description for the stream.
Public fieldStreamGenre
An optional genre of the stream.
Public fieldStreamPublisher
An optional publisher of the stream.
Public fieldStreamRating
A optional rating information for the stream.
Public fieldStreamUrl
A URL of a website that contains information about your broadcast.
Top
Remarks

An instance of the class will providing all necessary setup and configuration data in order to connect to an Windows Media server or directly stream to the network (acting like a server).

The UseBASS property will in this implementation in any case return (since BASSwma is used internally).

See Also

Reference