RMTClient object representing a websocket client will be passed as parameter on rmt_ws callbacks.
More...
|
| | __init__ (self, handler, client) |
| | peer_address (self) |
| | get the ip+port of the client (can be used as client id)
|
| | send (self, data) |
| | send data to the client on the websocket
|
RMTClient object representing a websocket client will be passed as parameter on rmt_ws callbacks.
◆ __init__()
| python.libgpac.libgpac.RMTClient.__init__ |
( |
| self, |
|
|
| handler, |
|
|
| client ) |
◆ _on_data()
| python.libgpac.libgpac.RMTClient._on_data |
( |
| self, |
|
|
| data, |
|
|
| size, |
|
|
| is_binary ) |
|
protected |
◆ _on_delete()
| python.libgpac.libgpac.RMTClient._on_delete |
( |
| self | ) |
|
|
protected |
◆ peer_address()
| python.libgpac.libgpac.RMTClient.peer_address |
( |
| self | ) |
|
get the ip+port of the client (can be used as client id)
◆ send()
| python.libgpac.libgpac.RMTClient.send |
( |
| self, |
|
|
| data ) |
send data to the client on the websocket
◆ _handler
| python.libgpac.libgpac.RMTClient._handler = handler |
|
protected |
◆ _client
| python.libgpac.libgpac.RMTClient._client = client |
|
protected |