home OpenMash Documentations
Class Index Method Index Class Hierarchy

TCL CLASS

VideoAgent

The VideoAgent class provides a coarse-grained interface that abstracts away all the details of networked video decoding. This agent is responsible for creating the underlying RTP session for the video channel, for opening and initializing any video decoding hardware, and for creating and deleting software decoder objects to process the compressed bit streams from the network.

Since VideoAgent is derived from the RTPAgent base class, the standard RTP observer API is supported. Any ``interesting'' events (e.g., the arrival of a new RTP flow) within the underlying RTP sessions are relayed to all the observers attached to this agent. (Note that the AudioAgent class catches and handles some of the events on its own.)

Typically, a mash script will create a separate user interface object and attach it to the VideoAgent as an Observer.

SUPERCLASSES

RTPAgent, RTP/Video

SUBCLASSES

PsvpVideoAgent, ScSpatialCombinerVideoAgent, SynchTransmitAgent, TemporalInterleaverVideoAgent, DcBroadcastAgent, DcStudioAgent, RvcAgent, NullVideoAgent, FAgent, TrackerAgent, EffectVideoAgent

METHODS

init, destroy, start_mega, video_handler, reset_mega, create_session, activate, deactivate, reactivate, sessionbw, local_bandwidth

init

VideoAgent public init { app spec {callback {} } }

destroy

VideoAgent public destroy { }

start_mega

VideoAgent public start_mega { }

video_handler

VideoAgent public video_handler { }

reset_mega

VideoAgent public reset_mega { }

create_session

VideoAgent public create_session { }

activate

VideoAgent public activate { src }

deactivate

VideoAgent public deactivate { src }

reactivate

VideoAgent public reactivate { src }

sessionbw

VideoAgent public sessionbw { b }

local_bandwidth

VideoAgent public local_bandwidth { b }

INHERITED METHODS

classmap, add_mapping, rtp_type, rtp_fmt_number, rtp_format, cname_redundant, rtp_representation

FILENAME

tcl/net/agent-video.tcl


Generated on Mon Apr 12 04:04:40 PDT 2004