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