$darkmode
RMTHandler object handling the callbacks for rmtws events. More...
Public Member Functions | |
| def | on_new_client (self, RMTClient client) |
| called when a new client connects to the websocket More... | |
| def | on_client_close (self, RMTClient client) |
| called when a client disconnects from the websocket More... | |
| def | on_client_data (self, RMTClient client, data) |
| called when a client receives data on its websocket More... | |
RMTHandler object handling the callbacks for rmtws events.
to be passed to set_rmt_handler()
| def python.libgpac.libgpac.RMTHandler.on_new_client | ( | self, | |
| RMTClient | client | ||
| ) |
called when a new client connects to the websocket
| client | an object of type RMTClient representing the new client |
| def python.libgpac.libgpac.RMTHandler.on_client_close | ( | self, | |
| RMTClient | client | ||
| ) |
called when a client disconnects from the websocket
| client | an object of type RMTClient representing the client |