neuray API Programmer's Manual

mi::rtmp::IRender_event_handler Class Reference

[RTMP server]

Description

Superclass of all handlers of render events. This is a synthetic handler that does not appear in the RTMP Command Messages section of the Adobe RTMP specification [RTMPSPEC10]. It allows the RTMP server to implement the render loop. It can be ignored if no rendering is done.

Public Member Functions

virtual bool  handle( IStream* stream) =0
Called on a render event. More...

Member Functions

virtual bool mi::​rtmp::​IRender_event_handler::handle( IStream* stream) [pure virtual]

Called on a render event.

Note:

The stream parameter is only valid during the call of the handle() method and cannot be stored (even if proper reference counting is used).

Parameters

stream
The stream on which the render handler is registered.

Returns

true in case of success, or false if an error occurred and the stream should be stopped by the RTMP server.