Skip to content

Client

Class ยท tgrtmp 0.3.0

Client(
  args: ,
  kwargs:
)

Members

is_closed

property

Whether the connection is closed: the publisher has to reconnect

error

property

Why the connection was closed, if by an error

close

method

.close( )

close(self) -> None

wait_closed

method

.wait_closed( )

wait_closed(self, timeout: float = 0.0) -> bool

send_metadata

method

.send_metadata( )

send_metadata(self, amf_body: bytes) -> None

send_audio

method

.send_audio( )

send_audio(self, timestamp_ms: int, body: bytes) -> None

send_video

method

.send_video( )

send_video(self, timestamp_ms: int, body: bytes) -> None