libgpac
Documentation of the core library of GPAC
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

def __init__ (self, handler, client)
 
def peer_address (self)
 get the ip+port of the client (can be used as client id) More...
 
def send (self, data)
 send data to the client on the websocket More...
 

Private Member Functions

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

Private Attributes

 _handler
 
 _client
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

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

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

Field Documentation

◆ _handler

python.libgpac.libgpac.RMTClient._handler
private

◆ _client

python.libgpac.libgpac.RMTClient._client
private