![]() |
OpenMash Documentations | Class Index | Method Index | Class Hierarchy |
TCL CLASS
DcObserver
This is an observer that gets attached to the StudioAgent, and get notified when events happen. In particular, we are interested in format change events (trigger_format{}).
the CDcUI object.
the DcStudioAgent we are attached to.
init, trigger_format, decoder_changed
DcObserver instproc init { ui agent }
Initialize members.
agent
the DcStudioAgent we are attached to.
ui
the CDcUI object.
DcObserver instproc trigger_format { src }
DcObserver instproc decoder_changed { src }
1. Tell the agent to "reactivate" the $src (removes old decoder, creates new decoder, set the source of the decoder). 2. Tell the UI to reattach the source (set the targets of the decoder to various renderers).
src
the Source/RTP object whose format has changed.
Generated on Mon Apr 12 04:04:23 PDT 2004