next up previous contents index
Next: Session Announcement and Up: Inter-Application Data Flow Previous: CoDecs

Sessions

  The mmstream.session.Session class manages the associated ProtocolCoDec object, the data and control Connection objects, and all LocalSource and RemoteSource objects that operate within the session. The Session class contains a startSending(), a startReception() and a finish() method for starting and terminating the activities of a Session object.

A Session object controls the behaviour of all Producers associated with the Session's LocalSource objects. Therefore, the Session class offers appropriate accessor functions that enforce a maximum chunk rate and chunk data length on all the registered Producers by means of the corresponding methods contained in the ProducerControl interface.
Similarly, the aggregate bandwidth of all Producers operating within a Session can be controlled with the setMaxBandwidth() method, which divides the assigned bandwidth among the registered Producers.



tspeuker@cip.informatik.uni-erlangen.de