libgpac
Documentation of the core library of GPAC
Loading...
Searching...
No Matches
python.libgpac.libgpac.RMTClient Class Reference

RMTClient object representing a websocket client will be passed as parameter on rmt_ws callbacks. More...

Public Member Functions

 __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

Protected Member Functions

 _on_data (self, data, size, is_binary)
 _on_delete (self)

Protected Attributes

 _handler = handler
 _client = client

Detailed Description

RMTClient object representing a websocket client will be passed as parameter on rmt_ws callbacks.

Constructor & Destructor Documentation

◆ __init__()

python.libgpac.libgpac.RMTClient.__init__ ( self,
handler,
client )

Member Function Documentation

◆ _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

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ _handler

python.libgpac.libgpac.RMTClient._handler = handler
protected

◆ _client

python.libgpac.libgpac.RMTClient._client = client
protected