Click or drag to resize

TimerBasedMediaStreamHandler Class

Base class for timer based media stream handlers. Contains a built-in timer that ticks periodically when the interval has elapsed.
Inheritance Hierarchy
SystemObject
  DisposableClass
    AbstractMediaSenderAudioData, AudioFormat
      AudioSender
        Ozeki.MediaMediaStreamSender
          Ozeki.MediaTimerBasedMediaStreamHandler
            Ozeki.MediaAudioStreamPlayback

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.13.0
Syntax
public abstract class TimerBasedMediaStreamHandler : MediaStreamSender

The TimerBasedMediaStreamHandler type exposes the following members.

Constructors
 NameDescription
Protected methodTimerBasedMediaStreamHandler(Stream) Initializes a new instance of the TimerBasedMediaStreamHandler class.
Protected methodTimerBasedMediaStreamHandler(String) Initializes a new instance of the TimerBasedMediaStreamHandler class.
Protected methodTimerBasedMediaStreamHandler(UInt32) Initializes a new instance of the TimerBasedMediaStreamHandler class.
Protected methodTimerBasedMediaStreamHandler(Stream, UInt32) Initializes a new instance of the TimerBasedMediaStreamHandler class.
Protected methodTimerBasedMediaStreamHandler(String, UInt32) Initializes a new instance of the TimerBasedMediaStreamHandler class.
Top
Properties
 NameDescription
Public propertyID
(Inherited from DisposableClass)
Protected propertyInterval Gets the time between the send events (in milliseconds).
Public propertyIsStreaming Gets or sets a value that is true if the wave is streaming, otherwise false.
(Inherited from MediaStreamSender)
Public propertyOutputFormat
(Inherited from MediaStreamSender)
Protected propertyPosition Gets or sets the current position in the audio stream
(Inherited from MediaStreamSender)
Public propertyStream Gets the stream
(Inherited from MediaStreamSender)
Top
Methods
 NameDescription
Public methodDispose
(Inherited from DisposableClass)
Protected methodDispose(Boolean) Disposes the object.
(Overrides MediaStreamSenderDispose(Boolean))
Protected methodFinalize
(Inherited from DisposableClass)
Public methodGetAudioFormat
(Inherited from MediaStreamSender)
Public methodPause Pauses the streaming. (If the streaming is already paused then does nothing.)
(Inherited from MediaStreamSender)
Protected methodReceiverConnected
(Inherited from AudioSender)
Protected methodReceiverDisconnected
(Inherited from AudioSender)
Protected methodSendMediaData
(Inherited from AbstractMediaSenderAudioData, AudioFormat)
Public methodSetPreferredSendFormats
(Inherited from AbstractMediaSenderAudioData, AudioFormat)
Public methodStart Starts the stream given in the Stream property. (If the stream is already started then does nothing.)
(Overrides MediaStreamSenderStart)
Public methodStop Stops the streaming.
(Overrides MediaStreamSenderStop)
Protected methodTimerTick This will be called when the built-in timer ticks.
Top
Events
 NameDescription
Public eventMediaDataSent
(Inherited from AbstractMediaSenderAudioData, AudioFormat)
Public eventStopped Occurs when the audio recording or playing has been stopped
(Inherited from MediaStreamSender)
Top
Fields
 NameDescription
Protected fieldSync
(Inherited from MediaStreamSender)
Top
See Also