Methods
Error | (u: Error_Code, s: Message) | → | nothing | (deprecated) |
Ready | () | → | nothing |
Signals
NewStreamHandler | (o: Stream_Handler, u: ID, u: Media_Type, u: Direction) |
Objects implementing this interface must also implement:
Description
An media session handler is an object that handles a number of synchronised
media streams.
Methods
(Permalink)
Error (u: Error_Code, s: Message) → nothing
Deprecated since 0.13.4.
Use StreamHandler.Error
on each StreamHandler object instead.
Parameters
- Error_Code — u (Media_Stream_Error)
- Message — s
Informs the connection manager that an error occured in this session.
If used, the connection manager must terminate the session and all of
the streams within it, and may also emit a StreamError
signal on the channel for each stream within the session.
(Permalink)
Ready () → nothing
Inform the connection manager that a client is ready to handle
this session handler (i.e. that it has connected to the
NewStreamHandler signal and done any
other necessary setup).
Signals
(Permalink)
NewStreamHandler (o: Stream_Handler, u: ID, u: Media_Type, u: Direction)
Parameters
- Stream_Handler — o
- ID — u
- Media_Type — u (Media_Stream_Type)
- Direction — u (Media_Stream_Direction)
The path of a new object implementing the StreamHandler
interface.
The unique ID of the new stream
Type of media that this stream should handle
Direction of this stream
Emitted when a new stream handler has been created for this
session.