index
int64
0
731k
package
stringlengths
2
98
name
stringlengths
1
76
docstring
stringlengths
0
281k
code
stringlengths
4
8.19k
signature
stringlengths
2
42.8k
embed_func_code
listlengths
768
768
718,882
aiortc.rtcpeerconnection
addIceCandidate
Add a new :class:`RTCIceCandidate` received from the remote peer. The specified candidate must have a value for either `sdpMid` or `sdpMLineIndex`. :param candidate: The new remote candidate.
@property def signalingState(self): """ The current signaling state. Possible values: `"closed"`, `"have-local-offer"`, `"have-remote-offer`", `"stable"`. When the state changes, the `"signalingstatechange"` event is fired. """ return self.__signalingState
(self, candidate: aiortc.rtcicetransport.RTCIceCandidate) -> NoneType
[ -0.015623411163687706, -0.04299388453364372, -0.007425886113196611, -0.012382528744637966, 0.02138800546526909, -0.052652981132268906, -0.009777113795280457, 0.021551409736275673, -0.0024261223152279854, -0.038963206112384796, -0.055085912346839905, 0.0019234225619584322, 0.00346783432178199...
718,883
aiortc.rtcpeerconnection
addTrack
Add a :class:`MediaStreamTrack` to the set of media tracks which will be transmitted to the remote peer.
def addTrack(self, track: MediaStreamTrack) -> RTCRtpSender: """ Add a :class:`MediaStreamTrack` to the set of media tracks which will be transmitted to the remote peer. """ # check state is valid self.__assertNotClosed() if track.kind not in ["audio", "video"]: raise InternalError(f...
(self, track: aiortc.mediastreams.MediaStreamTrack) -> aiortc.rtcrtpsender.RTCRtpSender
[ -0.06182403489947319, 0.008461525663733482, -0.07851993292570114, 0.031858496367931366, -0.05349501594901085, -0.02449488639831543, -0.00295538199134171, 0.0864703580737114, 0.009469526819884777, -0.015673698857426643, -0.0013581978855654597, -0.03986571356654167, -0.0044721150770783424, -...
718,884
aiortc.rtcpeerconnection
addTransceiver
Add a new :class:`RTCRtpTransceiver`.
def addTransceiver( self, trackOrKind: Union[str, MediaStreamTrack], direction: str = "sendrecv" ) -> RTCRtpTransceiver: """ Add a new :class:`RTCRtpTransceiver`. """ self.__assertNotClosed() # determine track or kind if isinstance(trackOrKind, MediaStreamTrack): kind = trackOrKind.k...
(self, trackOrKind: Union[str, aiortc.mediastreams.MediaStreamTrack], direction: str = 'sendrecv') -> aiortc.rtcrtptransceiver.RTCRtpTransceiver
[ -0.05177973583340645, 0.02310025878250599, -0.0059518031775951385, -0.03714383766055107, -0.048034779727458954, -0.049486905336380005, -0.015342851169407368, 0.06767668575048447, -0.0008036845247261226, -0.011559681966900826, -0.0012956875143572688, -0.0040769376792013645, -0.021074924618005...
718,886
aiortc.rtcpeerconnection
close
Terminate the ICE agent, ending ICE processing and streams.
def addTransceiver( self, trackOrKind: Union[str, MediaStreamTrack], direction: str = "sendrecv" ) -> RTCRtpTransceiver: """ Add a new :class:`RTCRtpTransceiver`. """ self.__assertNotClosed() # determine track or kind if isinstance(trackOrKind, MediaStreamTrack): kind = trackOrKind.k...
(self)
[ -0.05177973583340645, 0.02310025878250599, -0.0059518031775951385, -0.03714383766055107, -0.048034779727458954, -0.049486905336380005, -0.015342851169407368, 0.06767668575048447, -0.0008036845247261226, -0.011559681966900826, -0.0012956875143572688, -0.0040769376792013645, -0.021074924618005...
718,887
aiortc.rtcpeerconnection
createAnswer
Create an SDP answer to an offer received from a remote peer during the offer/answer negotiation of a WebRTC connection. :rtype: :class:`RTCSessionDescription`
def addTransceiver( self, trackOrKind: Union[str, MediaStreamTrack], direction: str = "sendrecv" ) -> RTCRtpTransceiver: """ Add a new :class:`RTCRtpTransceiver`. """ self.__assertNotClosed() # determine track or kind if isinstance(trackOrKind, MediaStreamTrack): kind = trackOrKind.k...
(self)
[ -0.05177973583340645, 0.02310025878250599, -0.0059518031775951385, -0.03714383766055107, -0.048034779727458954, -0.049486905336380005, -0.015342851169407368, 0.06767668575048447, -0.0008036845247261226, -0.011559681966900826, -0.0012956875143572688, -0.0040769376792013645, -0.021074924618005...
718,888
aiortc.rtcpeerconnection
createDataChannel
Create a data channel with the given label. :rtype: :class:`RTCDataChannel`
def createDataChannel( self, label, maxPacketLifeTime=None, maxRetransmits=None, ordered=True, protocol="", negotiated=False, id=None, ): """ Create a data channel with the given label. :rtype: :class:`RTCDataChannel` """ if maxPacketLifeTime is not None and maxRetran...
(self, label, maxPacketLifeTime=None, maxRetransmits=None, ordered=True, protocol='', negotiated=False, id=None)
[ -0.0392213836312294, -0.01757475920021534, -0.006879262626171112, -0.09933162480592728, 0.002131795510649681, -0.004215659573674202, -0.0015223849331960082, 0.02180183120071888, -0.012672086246311665, -0.05791909992694855, -0.033707018941640854, -0.004019370302557945, 0.0017917124787345529, ...
718,889
aiortc.rtcpeerconnection
createOffer
Create an SDP offer for the purpose of starting a new WebRTC connection to a remote peer. :rtype: :class:`RTCSessionDescription`
def createDataChannel( self, label, maxPacketLifeTime=None, maxRetransmits=None, ordered=True, protocol="", negotiated=False, id=None, ): """ Create a data channel with the given label. :rtype: :class:`RTCDataChannel` """ if maxPacketLifeTime is not None and maxRetran...
(self) -> aiortc.rtcsessiondescription.RTCSessionDescription
[ -0.0392213836312294, -0.01757475920021534, -0.006879262626171112, -0.09933162480592728, 0.002131795510649681, -0.004215659573674202, -0.0015223849331960082, 0.02180183120071888, -0.012672086246311665, -0.05791909992694855, -0.033707018941640854, -0.004019370302557945, 0.0017917124787345529, ...
718,892
aiortc.rtcpeerconnection
getReceivers
Returns the list of :class:`RTCRtpReceiver` objects that are currently attached to the connection.
def getReceivers(self) -> List[RTCRtpReceiver]: """ Returns the list of :class:`RTCRtpReceiver` objects that are currently attached to the connection. """ return list(map(lambda x: x.receiver, self.__transceivers))
(self) -> List[aiortc.rtcrtpreceiver.RTCRtpReceiver]
[ 0.026331162080168724, -0.008861792273819447, -0.022388624027371407, -0.023066526278853416, -0.03034505993127823, -0.025457024574279785, 0.018267689272761345, -0.010587767697870731, 0.059762462973594666, 0.009615512564778328, -0.03917563334107399, -0.032503642141819, 0.0038332713302224874, ...
718,893
aiortc.rtcpeerconnection
getSenders
Returns the list of :class:`RTCRtpSender` objects that are currently attached to the connection.
def getSenders(self) -> List[RTCRtpSender]: """ Returns the list of :class:`RTCRtpSender` objects that are currently attached to the connection. """ return list(map(lambda x: x.sender, self.__transceivers))
(self) -> List[aiortc.rtcrtpsender.RTCRtpSender]
[ -0.0029781179036945105, -0.019056271761655807, -0.03601359203457832, -0.025316303595900536, -0.03899631276726723, -0.0033233400899916887, 0.011507410556077957, -0.004062115680426359, 0.06554620712995529, 0.02807808108627796, -0.03362004831433296, -0.06480973213911057, 0.0008774400339461863, ...
718,894
aiortc.rtcpeerconnection
getStats
Returns statistics for the connection. :rtype: :class:`RTCStatsReport`
def getSenders(self) -> List[RTCRtpSender]: """ Returns the list of :class:`RTCRtpSender` objects that are currently attached to the connection. """ return list(map(lambda x: x.sender, self.__transceivers))
(self) -> aiortc.stats.RTCStatsReport
[ -0.0029781179036945105, -0.019056271761655807, -0.03601359203457832, -0.025316303595900536, -0.03899631276726723, -0.0033233400899916887, 0.011507410556077957, -0.004062115680426359, 0.06554620712995529, 0.02807808108627796, -0.03362004831433296, -0.06480973213911057, 0.0008774400339461863, ...
718,895
aiortc.rtcpeerconnection
getTransceivers
Returns the list of :class:`RTCRtpTransceiver` objects that are currently attached to the connection.
def getTransceivers(self) -> List[RTCRtpTransceiver]: """ Returns the list of :class:`RTCRtpTransceiver` objects that are currently attached to the connection. """ return list(self.__transceivers)
(self) -> List[aiortc.rtcrtptransceiver.RTCRtpTransceiver]
[ 0.007532552350312471, -0.01620895229279995, -0.016350826248526573, -0.03193908557295799, -0.04156869277358055, -0.022735096514225006, 0.010658184997737408, -0.020695677027106285, 0.04986824467778206, 0.0005478169186972082, -0.04529285058379173, -0.04444161430001259, -0.010613849386572838, ...
718,902
aiortc.rtcpeerconnection
setLocalDescription
Change the local description associated with the connection. :param sessionDescription: An :class:`RTCSessionDescription` generated by :meth:`createOffer` or :meth:`createAnswer()`.
def getTransceivers(self) -> List[RTCRtpTransceiver]: """ Returns the list of :class:`RTCRtpTransceiver` objects that are currently attached to the connection. """ return list(self.__transceivers)
(self, sessionDescription: aiortc.rtcsessiondescription.RTCSessionDescription) -> NoneType
[ 0.00757221644744277, -0.016164110973477364, -0.016341445967555046, -0.031938083469867706, -0.041496455669403076, -0.022787583991885185, 0.010702184401452541, -0.020695026963949203, 0.049866680055856705, 0.0005707979435101151, -0.045326896011829376, -0.044440221041440964, -0.01058691646903753...
718,903
aiortc.rtcpeerconnection
setRemoteDescription
Changes the remote description associated with the connection. :param sessionDescription: An :class:`RTCSessionDescription` created from information received over the signaling channel.
def getTransceivers(self) -> List[RTCRtpTransceiver]: """ Returns the list of :class:`RTCRtpTransceiver` objects that are currently attached to the connection. """ return list(self.__transceivers)
(self, sessionDescription: aiortc.rtcsessiondescription.RTCSessionDescription) -> NoneType
[ 0.00757221644744277, -0.016164110973477364, -0.016341445967555046, -0.031938083469867706, -0.041496455669403076, -0.022787583991885185, 0.010702184401452541, -0.020695026963949203, 0.049866680055856705, 0.0005707979435101151, -0.045326896011829376, -0.044440221041440964, -0.01058691646903753...
718,904
aiortc.stats
RTCRemoteInboundRtpStreamStats
The :class:`RTCRemoteInboundRtpStreamStats` dictionary represents the remote endpoint's measurement metrics for a particular incoming RTP stream.
class RTCRemoteInboundRtpStreamStats(RTCReceivedRtpStreamStats): """ The :class:`RTCRemoteInboundRtpStreamStats` dictionary represents the remote endpoint's measurement metrics for a particular incoming RTP stream. """ roundTripTime: float fractionLost: float
(timestamp: datetime.datetime, type: str, id: str, ssrc: int, kind: str, transportId: str, packetsReceived: int, packetsLost: int, jitter: int, roundTripTime: float, fractionLost: float) -> None
[ -0.024635503068566322, -0.03571969270706177, -0.03516548499464989, -0.00003285730053903535, -0.00881818775087595, -0.03711415454745293, -0.034504007548093796, 0.03151842951774597, 0.020183950662612915, -0.013140127062797546, -0.03243019059300423, 0.020040929317474365, 0.03150055184960365, ...
718,908
aiortc.stats
RTCRemoteOutboundRtpStreamStats
The :class:`RTCRemoteOutboundRtpStreamStats` dictionary represents the remote endpoint's measurement metrics for its outgoing RTP stream.
class RTCRemoteOutboundRtpStreamStats(RTCSentRtpStreamStats): """ The :class:`RTCRemoteOutboundRtpStreamStats` dictionary represents the remote endpoint's measurement metrics for its outgoing RTP stream. """ remoteTimestamp: Optional[datetime.datetime] = None
(timestamp: datetime.datetime, type: str, id: str, ssrc: int, kind: str, transportId: str, packetsSent: int, bytesSent: int, remoteTimestamp: Optional[datetime.datetime] = None) -> None
[ -0.018919536843895912, -0.030618833377957344, -0.021893629804253578, 0.005155394785106182, -0.001472490024752915, -0.05525364726781845, -0.04450390860438347, 0.03715825825929642, 0.013159469701349735, -0.017799772322177887, -0.024258572608232498, 0.03491872921586037, 0.026677263900637627, ...
718,912
aiortc.rtcrtpparameters
RTCRtcpParameters
The :class:`RTCRtcpParameters` dictionary provides information on RTCP settings.
class RTCRtcpParameters: """ The :class:`RTCRtcpParameters` dictionary provides information on RTCP settings. """ cname: Optional[str] = None "The Canonical Name (CNAME) used by RTCP." mux: bool = False "Whether RTP and RTCP are multiplexed." ssrc: Optional[int] = None "The Synchron...
(cname: Optional[str] = None, mux: bool = False, ssrc: Optional[int] = None) -> None
[ -0.018623197451233864, 0.015103635378181934, -0.025311291217803955, -0.03813321515917778, -0.013828832656145096, -0.040645867586135864, -0.03506629914045334, 0.0067296624183654785, 0.07648812979459763, -0.048848941922187805, -0.04241950437426567, 0.061227455735206604, -0.008586439304053783, ...
718,913
aiortc.rtcrtpparameters
__eq__
null
from dataclasses import dataclass, field from typing import Dict, List, Optional, Union ParametersDict = Dict[str, Union[int, str, None]] @dataclass class RTCRtpCodecCapability: """ The :class:`RTCRtpCodecCapability` dictionary provides information on codec capabilities. """ mimeType: str "T...
(self, other)
[ 0.04331013932824135, -0.03996362164616585, -0.05906989052891731, -0.015312254428863525, 0.011070740409195423, -0.04299883544445038, -0.023406153544783592, -0.003755101701244712, 0.04906925931572914, -0.020701700821518898, 0.026752667501568794, 0.05424468219280243, -0.0049176267348229885, 0...
718,916
aiortc.rtcrtpparameters
RTCRtpCapabilities
The :class:`RTCRtpCapabilities` dictionary provides information about support codecs and header extensions.
class RTCRtpCapabilities: """ The :class:`RTCRtpCapabilities` dictionary provides information about support codecs and header extensions. """ codecs: List[RTCRtpCodecCapability] = field(default_factory=list) "A list of :class:`RTCRtpCodecCapability`." headerExtensions: List[RTCRtpHeaderExte...
(codecs: List[aiortc.rtcrtpparameters.RTCRtpCodecCapability] = <factory>, headerExtensions: List[aiortc.rtcrtpparameters.RTCRtpHeaderExtensionCapability] = <factory>) -> None
[ 0.030301660299301147, -0.05314003303647041, -0.061249181628227234, -0.01783294975757599, 0.018245581537485123, -0.03850051015615463, 0.006597653031349182, 0.005772385746240616, 0.016460493206977844, -0.0035634501837193966, 0.011786969378590584, 0.056225817650556564, 0.001822091406211257, 0...
718,920
aiortc.rtcrtpparameters
RTCRtpCodecCapability
The :class:`RTCRtpCodecCapability` dictionary provides information on codec capabilities.
class RTCRtpCodecCapability: """ The :class:`RTCRtpCodecCapability` dictionary provides information on codec capabilities. """ mimeType: str "The codec MIME media type/subtype, for instance `'audio/PCMU'`." clockRate: int "The codec clock rate expressed in Hertz." channels: Optional...
(mimeType: str, clockRate: int, channels: Optional[int] = None, parameters: Dict[str, Union[int, str, NoneType]] = <factory>) -> None
[ 0.024829866364598274, -0.04084738716483116, -0.05598006024956703, -0.0001547634310554713, 0.021633585914969444, -0.0463731624186039, -0.0022787044290453196, 0.013245604932308197, 0.0292902123183012, -0.012469107285141945, 0.03483404591679573, 0.05124884471297264, 0.005963682197034359, 0.05...
718,924
aiortc.rtcrtpparameters
RTCRtpCodecParameters
The :class:`RTCRtpCodecParameters` dictionary provides information on codec settings.
class RTCRtpCodecParameters: """ The :class:`RTCRtpCodecParameters` dictionary provides information on codec settings. """ mimeType: str "The codec MIME media type/subtype, for instance `'audio/PCMU'`." clockRate: int "The codec clock rate expressed in Hertz." channels: Optional[int...
(mimeType: str, clockRate: int, channels: Optional[int] = None, payloadType: Optional[int] = None, rtcpFeedback: List[aiortc.rtcrtpparameters.RTCRtcpFeedback] = <factory>, parameters: Dict[str, Union[int, str, NoneType]] = <factory>) -> None
[ 0.018756456673145294, -0.012957358732819557, -0.04903861880302429, 0.002677552169188857, 0.012966419570147991, -0.057556044310331345, -0.02846994437277317, -0.019481342285871506, 0.04646527022123337, -0.02970225177705288, 0.008000941947102547, 0.04541418328881264, 0.0016921585192903876, 0....
718,928
aiortc.rtcrtpparameters
__str__
null
def __str__(self): s = f"{self.name}/{self.clockRate}" if self.channels == 2: s += "/2" return s
(self)
[ 0.01884099468588829, -0.044183578342199326, 0.016815630719065666, 0.03662675619125366, 0.010841656476259232, -0.06603708863258362, -0.018500598147511482, 0.010867185890674591, 0.033290863037109375, -0.012773411348462105, -0.007561076898127794, -0.022296028211712837, -0.013496755622327328, ...
718,929
aiortc.rtcrtpreceiver
RTCRtpContributingSource
The :class:`RTCRtpContributingSource` dictionary contains information about a contributing source (CSRC).
class RTCRtpContributingSource: """ The :class:`RTCRtpContributingSource` dictionary contains information about a contributing source (CSRC). """ timestamp: datetime.datetime "The timestamp associated with this source." source: int "The CSRC identifier associated with this source."
(timestamp: datetime.datetime, source: int) -> None
[ -0.02385849319398403, 0.0008526352467015386, -0.05645636096596718, 0.025099484249949455, 0.0033187775406986475, -0.08347850292921066, -0.015451214276254177, 0.05890338495373726, 0.10354410856962204, -0.055722251534461975, -0.0360761396586895, 0.00020646772463805974, 0.04138967767357826, 0....
718,930
aiortc.rtcrtpreceiver
__eq__
null
import asyncio import datetime import logging import queue import random import threading import time from dataclasses import dataclass from typing import Callable, Dict, List, Optional, Set from av.frame import Frame from . import clock from .codecs import depayload, get_capabilities, get_decoder, is_rtx from .excep...
(self, other)
[ -0.0004477070760913193, -0.03479722514748573, -0.1312948316335678, 0.0474761500954628, -0.014429026283323765, 0.0054969931952655315, -0.034815844148397446, 0.032711997628211975, -0.03686383366584778, -0.05436484515666962, 0.01446626242250204, 0.04166730120778084, 0.02245342545211315, 0.040...
718,932
aiortc.rtcrtpreceiver
__repr__
null
@dataclass class RTCRtpContributingSource: """ The :class:`RTCRtpContributingSource` dictionary contains information about a contributing source (CSRC). """ timestamp: datetime.datetime "The timestamp associated with this source." source: int "The CSRC identifier associated with this so...
(self)
[ 0.003116321749985218, -0.0015019385609775782, -0.052137576043605804, 0.013456635177135468, 0.0069715650752186775, -0.09737243503332138, -0.030162690207362175, 0.03583540394902229, 0.09920826554298401, -0.047694869339466095, -0.03122747130692005, 0.00007268023182405159, 0.039176616817712784, ...
718,933
aiortc.rtcrtpparameters
RTCRtpHeaderExtensionCapability
The :class:`RTCRtpHeaderExtensionCapability` dictionary provides information on a supported header extension.
class RTCRtpHeaderExtensionCapability: """ The :class:`RTCRtpHeaderExtensionCapability` dictionary provides information on a supported header extension. """ uri: str "The URI of the RTP header extension."
(uri: str) -> None
[ 0.001837095944210887, -0.036453574895858765, -0.020044224336743355, -0.014216194860637188, 0.05483764037489891, -0.0407874621450901, 0.021879134699702263, 0.049210578203201294, -0.0005278101307339966, -0.03795645385980606, 0.03446138650178909, 0.047917403280735016, 0.02757609821856022, 0.0...
718,937
aiortc.rtcrtpparameters
RTCRtpHeaderExtensionParameters
The :class:`RTCRtpHeaderExtensionParameters` dictionary enables a header extension to be configured for use within an :class:`RTCRtpSender` or :class:`RTCRtpReceiver`.
class RTCRtpHeaderExtensionParameters: """ The :class:`RTCRtpHeaderExtensionParameters` dictionary enables a header extension to be configured for use within an :class:`RTCRtpSender` or :class:`RTCRtpReceiver`. """ id: int "The value that goes in the packet." uri: str "The URI of th...
(id: int, uri: str) -> None
[ 0.003253460628911853, 0.014906276017427444, -0.0081796171143651, -0.029794612899422646, 0.031301386654376984, -0.037167031317949295, -0.016771802678704262, 0.03727465867996216, 0.014251547865569592, -0.039498940110206604, 0.002293790690600872, 0.02134593017399311, 0.016610361635684967, 0.0...
718,941
aiortc.rtcrtpparameters
RTCRtpParameters
The :class:`RTCRtpParameters` dictionary describes the configuration of an :class:`RTCRtpReceiver` or an :class:`RTCRtpSender`.
class RTCRtpParameters: """ The :class:`RTCRtpParameters` dictionary describes the configuration of an :class:`RTCRtpReceiver` or an :class:`RTCRtpSender`. """ codecs: List[RTCRtpCodecParameters] = field(default_factory=list) "A list of :class:`RTCRtpCodecParameters` to send or receive." he...
(codecs: List[aiortc.rtcrtpparameters.RTCRtpCodecParameters] = <factory>, headerExtensions: List[aiortc.rtcrtpparameters.RTCRtpHeaderExtensionParameters] = <factory>, muxId: str = '', rtcp: aiortc.rtcrtpparameters.RTCRtcpParameters = <factory>) -> None
[ 0.012640310451388359, 0.014161228202283382, -0.03444322198629379, -0.018204642459750175, -0.009195060469210148, -0.054604656994342804, -0.02394518069922924, -0.006556639447808266, 0.041324447840452194, -0.021737994626164436, -0.005902830045670271, 0.034999653697013855, -0.0006057008286006749...
718,945
aiortc.rtcrtpreceiver
RTCRtpReceiver
The :class:`RTCRtpReceiver` interface manages the reception and decoding of data for a :class:`MediaStreamTrack`. :param kind: The kind of media (`'audio'` or `'video'`). :param transport: An :class:`RTCDtlsTransport`.
class RTCRtpReceiver: """ The :class:`RTCRtpReceiver` interface manages the reception and decoding of data for a :class:`MediaStreamTrack`. :param kind: The kind of media (`'audio'` or `'video'`). :param transport: An :class:`RTCDtlsTransport`. """ def __init__(self, kind: str, transport: ...
(kind: str, transport: aiortc.rtcdtlstransport.RTCDtlsTransport) -> None
[ -0.010317147709429264, -0.03905152156949043, -0.09078311920166016, 0.017221176996827126, 0.006831099279224873, -0.029541466385126114, -0.027674460783600807, 0.03759292513132095, -0.04049067199230194, -0.05005907267332077, -0.003067917190492153, 0.03957661613821983, 0.03282817080616951, 0.0...
718,946
aiortc.rtcrtpreceiver
__stop_decoder
Stop the decoder thread, which will in turn stop the track.
def __stop_decoder(self) -> None: """ Stop the decoder thread, which will in turn stop the track. """ if self.__decoder_thread: self.__decoder_queue.put(None) self.__decoder_thread.join() self.__decoder_thread = None
(self) -> NoneType
[ 0.030832428485155106, 0.030250685289502144, -0.07377882301807404, 0.06878266483545303, -0.07398413866758347, 0.004286083858460188, -0.02634957805275917, 0.04972199723124504, -0.013850638642907143, -0.014295501634478569, -0.008135859854519367, -0.025819165632128716, -0.0441783182322979, -0....
718,947
aiortc.rtcrtpreceiver
__init__
null
def __init__(self, kind: str, transport: RTCDtlsTransport) -> None: if transport.state == "closed": raise InvalidStateError self._enabled = True self.__active_ssrc: Dict[int, datetime.datetime] = {} self.__codecs: Dict[int, RTCRtpCodecParameters] = {} self.__decoder_queue: queue.Queue = queu...
(self, kind: str, transport: aiortc.rtcdtlstransport.RTCDtlsTransport) -> NoneType
[ -0.011196763254702091, -0.05052220821380615, -0.068406842648983, 0.02724199742078781, -0.0066171265207231045, -0.021544571965932846, -0.01975233480334282, 0.052446506917476654, -0.05101271718740463, -0.052182387560606, 0.0011242748005315661, 0.06255849450826645, 0.011225061491131783, 0.025...
718,948
aiortc.rtcrtpreceiver
_handle_disconnect
null
def _handle_disconnect(self) -> None: self.__stop_decoder()
(self) -> NoneType
[ -0.03455103561282158, -0.021037522703409195, -0.03295053541660309, 0.014676765538752079, -0.036234039813280106, 0.0008301571360789239, -0.018958520144224167, 0.09042009711265564, 0.018183019012212753, 0.010947762057185173, -0.04055704176425934, -0.017919018864631653, 0.00933901034295559, 0...
718,950
aiortc.rtcrtpreceiver
_handle_rtp_packet
Handle an incoming RTP packet.
def _handle_disconnect(self) -> None: self.__stop_decoder()
(self, packet: aiortc.rtp.RtpPacket, arrival_time_ms: int) -> NoneType
[ -0.03455103561282158, -0.021037522703409195, -0.03295053541660309, 0.014676765538752079, -0.036234039813280106, 0.0008301571360789239, -0.018958520144224167, 0.09042009711265564, 0.018183019012212753, 0.010947762057185173, -0.04055704176425934, -0.017919018864631653, 0.00933901034295559, 0...
718,953
aiortc.rtcrtpreceiver
_send_rtcp_nack
Send an RTCP packet to report missing RTP packets.
def _handle_disconnect(self) -> None: self.__stop_decoder()
(self, media_ssrc: int, lost: List[int]) -> NoneType
[ -0.03455103561282158, -0.021037522703409195, -0.03295053541660309, 0.014676765538752079, -0.036234039813280106, 0.0008301571360789239, -0.018958520144224167, 0.09042009711265564, 0.018183019012212753, 0.010947762057185173, -0.04055704176425934, -0.017919018864631653, 0.00933901034295559, 0...
718,954
aiortc.rtcrtpreceiver
_send_rtcp_pli
Send an RTCP packet to report picture loss.
def _handle_disconnect(self) -> None: self.__stop_decoder()
(self, media_ssrc: int) -> NoneType
[ -0.03455103561282158, -0.021037522703409195, -0.03295053541660309, 0.014676765538752079, -0.036234039813280106, 0.0008301571360789239, -0.018958520144224167, 0.09042009711265564, 0.018183019012212753, 0.010947762057185173, -0.04055704176425934, -0.017919018864631653, 0.00933901034295559, 0...
718,955
aiortc.rtcrtpreceiver
_set_rtcp_ssrc
null
def _set_rtcp_ssrc(self, ssrc: int) -> None: self.__rtcp_ssrc = ssrc
(self, ssrc: int) -> NoneType
[ -0.06795815378427505, 0.043098848313093185, -0.06443700194358826, 0.010193723253905773, -0.0174648929387331, 0.023662112653255463, 0.004705133847892284, 0.08985969424247742, 0.07137366384267807, -0.015836361795663834, -0.06334544718265533, 0.021373366937041283, 0.04707774519920349, 0.00995...
718,956
aiortc.rtcrtpreceiver
getStats
Returns statistics about the RTP receiver. :rtype: :class:`RTCStatsReport`
@classmethod def getCapabilities(self, kind) -> Optional[RTCRtpCapabilities]: """ Returns the most optimistic view of the system's capabilities for receiving media of the given `kind`. :rtype: :class:`RTCRtpCapabilities` """ return get_capabilities(kind)
(self) -> aiortc.stats.RTCStatsReport
[ 0.055130232125520706, -0.07249906659126282, -0.04929374158382416, -0.006060633808374405, 0.010688514448702335, -0.07425704598426819, 0.014837346039712429, 0.012226746417582035, 0.02496330812573433, 0.00951066892594099, 0.012762930244207382, 0.039097461849451065, 0.009695256128907204, 0.005...
718,957
aiortc.rtcrtpreceiver
getSynchronizationSources
Returns a :class:`RTCRtpSynchronizationSource` for each unique SSRC identifier received in the last 10 seconds.
def getSynchronizationSources(self) -> List[RTCRtpSynchronizationSource]: """ Returns a :class:`RTCRtpSynchronizationSource` for each unique SSRC identifier received in the last 10 seconds. """ cutoff = clock.current_datetime() - datetime.timedelta(seconds=10) sources = [] for source, timest...
(self) -> List[aiortc.rtcrtpreceiver.RTCRtpSynchronizationSource]
[ -0.012500086799263954, -0.011539238505065441, -0.07578007876873016, -0.02429313398897648, -0.02530837059020996, 0.005203081760555506, -0.045794371515512466, -0.0033788306172937155, 0.04354634881019592, -0.005819474812597036, -0.06512010097503662, -0.025507790967822075, 0.03567827492952347, ...
718,958
aiortc.rtcrtpreceiver
receive
Attempt to set the parameters controlling the receiving of media. :param parameters: The :class:`RTCRtpParameters` for the receiver.
def getSynchronizationSources(self) -> List[RTCRtpSynchronizationSource]: """ Returns a :class:`RTCRtpSynchronizationSource` for each unique SSRC identifier received in the last 10 seconds. """ cutoff = clock.current_datetime() - datetime.timedelta(seconds=10) sources = [] for source, timest...
(self, parameters: aiortc.rtcrtpparameters.RTCRtpReceiveParameters) -> NoneType
[ -0.012500086799263954, -0.011539238505065441, -0.07578007876873016, -0.02429313398897648, -0.02530837059020996, 0.005203081760555506, -0.045794371515512466, -0.0033788306172937155, 0.04354634881019592, -0.005819474812597036, -0.06512010097503662, -0.025507790967822075, 0.03567827492952347, ...
718,959
aiortc.rtcrtpreceiver
setTransport
null
def setTransport(self, transport: RTCDtlsTransport) -> None: self.__transport = transport
(self, transport: aiortc.rtcdtlstransport.RTCDtlsTransport) -> NoneType
[ 0.012877063825726509, 0.014463811181485653, -0.0021131199318915606, 0.026102863252162933, -0.03171750530600548, 0.008870963007211685, 0.007811678573489189, 0.05234521999955177, 0.01555360946804285, -0.0028574527241289616, -0.009180465713143349, -0.016041839495301247, 0.0018777234945446253, ...
718,960
aiortc.rtcrtpreceiver
stop
Irreversibly stop the receiver.
def setTransport(self, transport: RTCDtlsTransport) -> None: self.__transport = transport
(self) -> NoneType
[ 0.012868450954556465, 0.014463930390775204, -0.0020935209468007088, 0.0262251365929842, -0.03168289363384247, 0.008905909955501556, 0.007759431842714548, 0.0524154007434845, 0.015597330406308174, -0.00284439860843122, -0.00912823062390089, -0.016050690785050392, 0.0019060740014538169, 0.00...
718,961
aiortc.rtcrtpsender
RTCRtpSender
The :class:`RTCRtpSender` interface provides the ability to control and obtain details about how a particular :class:`MediaStreamTrack` is encoded and sent to a remote peer. :param trackOrKind: Either a :class:`MediaStreamTrack` instance or a media kind (`'audio'` or `'video'`...
class RTCRtpSender: """ The :class:`RTCRtpSender` interface provides the ability to control and obtain details about how a particular :class:`MediaStreamTrack` is encoded and sent to a remote peer. :param trackOrKind: Either a :class:`MediaStreamTrack` instance or a media k...
(trackOrKind: Union[aiortc.mediastreams.MediaStreamTrack, str], transport) -> None
[ -0.02733597718179226, -0.04179402068257332, -0.09188364446163177, 0.009688075631856918, -0.0026442224625498056, -0.031938061118125916, -0.02850131131708622, 0.06071589142084122, -0.015435741282999516, -0.049931611865758896, 0.003051595762372017, 0.029844408854842186, 0.04692939296364784, 0...
718,962
aiortc.rtcrtpsender
__log_warning
null
def __log_warning(self, msg: str, *args) -> None: logger.warning(f"RTCRtpsender(%s) {msg}", self.__kind, *args)
(self, msg: str, *args) -> NoneType
[ -0.059044674038887024, 0.02605016715824604, 0.04141673818230629, 0.05113881081342697, -0.012642255052924156, -0.08069676160812378, 0.01862506940960884, 0.08539754152297974, 0.0211713258177042, -0.06424402445554733, -0.0017527773743495345, 0.01423589140176773, 0.03660912066698074, -0.030020...
718,963
aiortc.rtcrtpsender
__init__
null
def __init__(self, trackOrKind: Union[MediaStreamTrack, str], transport) -> None: if transport.state == "closed": raise InvalidStateError if isinstance(trackOrKind, MediaStreamTrack): self.__kind = trackOrKind.kind self.replaceTrack(trackOrKind) else: self.__kind = trackOrKin...
(self, trackOrKind: Union[aiortc.mediastreams.MediaStreamTrack, str], transport) -> NoneType
[ -0.04569292813539505, -0.018519772216677666, -0.08534950017929077, 0.023209409788250923, -0.01411667000502348, -0.019484443590044975, -0.02443196251988411, 0.07469036430120468, -0.013046936132013798, -0.058949992060661316, 0.009575075469911098, 0.06452789157629013, 0.032263945788145065, 0....
718,964
aiortc.rtcrtpsender
_handle_rtcp_packet
null
def setTransport(self, transport) -> None: self.__transport = transport
(self, packet)
[ 0.012717239558696747, 0.023120751604437828, -0.0029107523150742054, 0.00043201635708101094, -0.01948489435017109, -0.00006849512283224612, -0.004900144878774881, 0.0467042475938797, 0.0037226227577775717, 0.00038605168811045587, -0.015229286625981331, -0.02530226670205593, -0.015923405066132...
718,965
aiortc.rtcrtpsender
_next_encoded_frame
null
for report in filter(lambda x: x.ssrc == self._ssrc, packet.reports):
(self, codec: aiortc.rtcrtpparameters.RTCRtpCodecParameters)
[ 0.013303556479513645, -0.0016040129121392965, -0.10320542752742767, 0.010526267811655998, -0.07214093953371048, -0.026058513671159744, 0.0006262829410843551, 0.014066454023122787, 0.04525952413678169, -0.014786492101848125, -0.04896257445216179, -0.005151699297130108, 0.02118968591094017, ...
718,966
aiortc.rtcrtpsender
_retransmit
Retransmit an RTP packet which was reported as lost.
for report in filter(lambda x: x.ssrc == self._ssrc, packet.reports):
(self, sequence_number: int) -> NoneType
[ 0.013303556479513645, -0.0016040129121392965, -0.10320542752742767, 0.010526267811655998, -0.07214093953371048, -0.026058513671159744, 0.0006262829410843551, 0.014066454023122787, 0.04525952413678169, -0.014786492101848125, -0.04896257445216179, -0.005151699297130108, 0.02118968591094017, ...
718,967
aiortc.rtcrtpsender
_run_rtcp
null
def _send_keyframe(self) -> None: """ Request the next frame to be a keyframe. """ self.__force_keyframe = True
(self) -> NoneType
[ -0.012580237351357937, 0.01656143181025982, -0.15252476930618286, 0.01835254579782486, -0.03684091195464134, 0.01723203808069229, -0.05459924787282944, 0.11374843120574951, -0.06811323761940002, 0.031510014086961746, 0.017503676936030388, -0.07103335112333298, 0.0337170735001564, 0.0467896...
718,969
aiortc.rtcrtpsender
_send_keyframe
Request the next frame to be a keyframe.
def _send_keyframe(self) -> None: """ Request the next frame to be a keyframe. """ self.__force_keyframe = True
(self) -> NoneType
[ -0.012622014619410038, 0.01648416370153427, -0.152516707777977, 0.01835157722234726, -0.036838967353105545, 0.017231129109859467, -0.05466427281498909, 0.11374242603778839, -0.06810964643955231, 0.03142346814274788, 0.017570659518241882, -0.07102960348129272, 0.033681340515613556, 0.046889...
718,971
aiortc.rtcrtpsender
getStats
Returns statistics about the RTP sender. :rtype: :class:`RTCStatsReport`
@classmethod def getCapabilities(self, kind): """ Returns the most optimistic view of the system's capabilities for sending media of the given `kind`. :rtype: :class:`RTCRtpCapabilities` """ return get_capabilities(kind)
(self) -> aiortc.stats.RTCStatsReport
[ 0.04872063919901848, -0.07700100541114807, -0.06132080405950546, -0.004585059825330973, 0.015653954818844795, -0.07164593786001205, 0.003349106293171644, 0.014332687482237816, 0.005551947746425867, 0.024045314639806747, 0.003160978900268674, 0.03993552178144455, 0.013028920628130436, 0.023...
718,972
aiortc.rtcrtpsender
replaceTrack
null
def replaceTrack(self, track: Optional[MediaStreamTrack]) -> None: self.__track = track if track is not None: self._track_id = track.id else: self._track_id = str(uuid.uuid4())
(self, track: Optional[aiortc.mediastreams.MediaStreamTrack]) -> NoneType
[ -0.026317251846194267, 0.018731078132987022, -0.03442421555519104, 0.053571924567222595, -0.056175872683525085, 0.001848804298788309, -0.006748569663614035, 0.11568479984998703, 0.04030913859605789, -0.00006357298843795434, -0.03878149017691612, -0.03282712399959564, -0.0024173331912606955, ...
718,973
aiortc.rtcrtpsender
send
Attempt to set the parameters controlling the sending of media. :param parameters: The :class:`RTCRtpSendParameters` for the sender.
def setTransport(self, transport) -> None: self.__transport = transport
(self, parameters: aiortc.rtcrtpparameters.RTCRtpSendParameters) -> NoneType
[ 0.01265831757336855, 0.023201407864689827, -0.002947686007246375, 0.00045186144416220486, -0.019483232870697975, 4.478269772789645e-7, -0.004903858527541161, 0.04676637053489685, 0.003771881340071559, 0.00038627698086202145, -0.01523625198751688, -0.02530010975897312, -0.015864210203289986, ...
718,975
aiortc.rtcrtpsender
stop
Irreversibly stop the sender.
def setTransport(self, transport) -> None: self.__transport = transport
(self)
[ 0.01265831757336855, 0.023201407864689827, -0.002947686007246375, 0.00045186144416220486, -0.019483232870697975, 4.478269772789645e-7, -0.004903858527541161, 0.04676637053489685, 0.003771881340071559, 0.00038627698086202145, -0.01523625198751688, -0.02530010975897312, -0.015864210203289986, ...
718,976
aiortc.rtcrtpreceiver
RTCRtpSynchronizationSource
The :class:`RTCRtpSynchronizationSource` dictionary contains information about a synchronization source (SSRC).
class RTCRtpSynchronizationSource: """ The :class:`RTCRtpSynchronizationSource` dictionary contains information about a synchronization source (SSRC). """ timestamp: datetime.datetime "The timestamp associated with this source." source: int "The SSRC identifier associated with this sour...
(timestamp: datetime.datetime, source: int) -> None
[ 0.008282543160021305, 0.011403437703847885, -0.05825669318437576, -0.0063701653853058815, 0.007773461285978556, -0.07833665609359741, -0.05081966519355774, 0.06771233677864075, 0.07699090987443924, -0.053900718688964844, -0.046144966036081314, 0.014449075795710087, 0.030509507283568382, 0....
718,980
aiortc.rtcrtptransceiver
RTCRtpTransceiver
The RTCRtpTransceiver interface describes a permanent pairing of an :class:`RTCRtpSender` and an :class:`RTCRtpReceiver`, along with some shared state.
class RTCRtpTransceiver: """ The RTCRtpTransceiver interface describes a permanent pairing of an :class:`RTCRtpSender` and an :class:`RTCRtpReceiver`, along with some shared state. """ def __init__( self, kind: str, receiver: RTCRtpReceiver, sender: RTCRtpSender,...
(kind: str, receiver: aiortc.rtcrtpreceiver.RTCRtpReceiver, sender: aiortc.rtcrtpsender.RTCRtpSender, direction: str = 'sendrecv')
[ 0.022108951583504677, -0.037782344967126846, -0.06648146361112595, -0.017586667090654373, -0.001043000491335988, -0.06474212557077408, -0.019248703494668007, 0.04522285610437393, -0.02692112699151039, -0.04383138567209244, -0.015209567733108997, 0.030129244551062584, -0.013847083784639835, ...
718,981
aiortc.rtcrtptransceiver
__init__
null
def __init__( self, kind: str, receiver: RTCRtpReceiver, sender: RTCRtpSender, direction: str = "sendrecv", ): self.__currentDirection: Optional[str] = None self.__direction = direction self.__kind = kind self.__mid: Optional[str] = None self.__mline_index: Optional[int] = None ...
(self, kind: str, receiver: aiortc.rtcrtpreceiver.RTCRtpReceiver, sender: aiortc.rtcrtpsender.RTCRtpSender, direction: str = 'sendrecv')
[ 0.012302065268158913, 0.010527280159294605, -0.039755191653966904, -0.02340848557651043, -0.008439571596682072, -0.06549892574548721, -0.0017374214949086308, 0.08900082111358643, -0.029629575088620186, -0.012666363269090652, -0.03174063563346863, 0.06624620407819748, -0.026173414662480354, ...
718,982
aiortc.rtcrtptransceiver
_get_mline_index
null
def _get_mline_index(self) -> Optional[int]: return self.__mline_index
(self) -> Optional[int]
[ 0.053524039685726166, 0.03636340796947479, 0.06739088147878647, 0.07615235447883606, 0.0065916916355490685, -0.0012856062967330217, 0.034255385398864746, 0.057674210518598557, 0.004098706413060427, -0.013076335191726685, -0.02896885760128498, -0.03949250653386116, 0.021310802549123764, -0....
718,983
aiortc.rtcrtptransceiver
_setCurrentDirection
null
def _setCurrentDirection(self, direction: str) -> None: self.__currentDirection = direction if direction == "sendrecv": self.__sender._enabled = True self.__receiver._enabled = True elif direction == "sendonly": self.__sender._enabled = True self.__receiver._enabled = False ...
(self, direction: str) -> NoneType
[ 0.014935417100787163, 0.051507480442523956, 0.004616401623934507, -0.04082055389881134, -0.021706722676753998, -0.030431458726525307, -0.005111328791826963, 0.06026725471019745, -0.019762052223086357, -0.009294121526181698, -0.04569098725914955, -0.004664580337703228, -0.04810868576169014, ...
718,984
aiortc.rtcrtptransceiver
_set_mid
null
def _set_mid(self, mid: str) -> None: self.__mid = mid
(self, mid: str) -> NoneType
[ 0.005815563257783651, 0.08596637099981308, 0.017479179427027702, 0.06913697719573975, -0.004572852049022913, 0.03723260015249252, 0.031189613044261932, 0.09207433462142944, 0.001957473112270236, -0.049481019377708435, -0.03352883458137512, 0.025179114192724228, 0.04434772953391075, 0.01360...
718,985
aiortc.rtcrtptransceiver
_set_mline_index
null
def _set_mline_index(self, idx: int) -> None: self.__mline_index = idx
(self, idx: int) -> NoneType
[ 0.015040509402751923, 0.05089601129293442, 0.03504975885152817, 0.06597009301185608, -0.044685084372758865, 0.018733492121100426, -0.003516726428642869, 0.06019560992717743, -0.05052671208977699, 0.013378667645156384, -0.041663553565740585, -0.011834329925477505, 0.0507952943444252, 0.0156...
718,986
aiortc.rtcrtptransceiver
setCodecPreferences
Override the default codec preferences. See :meth:`RTCRtpSender.getCapabilities` and :meth:`RTCRtpReceiver.getCapabilities` for the supported codecs. :param codecs: A list of :class:`RTCRtpCodecCapability`, in decreasing order of preference. If empty, restores ...
def setCodecPreferences(self, codecs: List[RTCRtpCodecCapability]) -> None: """ Override the default codec preferences. See :meth:`RTCRtpSender.getCapabilities` and :meth:`RTCRtpReceiver.getCapabilities` for the supported codecs. :param codecs: A list of :class:`RTCRtpCodecCapability`, in decreasing...
(self, codecs: List[aiortc.rtcrtpparameters.RTCRtpCodecCapability]) -> NoneType
[ -0.014819584786891937, -0.04519134759902954, -0.041907913982868195, -0.004152837675064802, -0.04663888365030289, -0.03119262121617794, 0.007590734399855137, 0.003559259930625558, 0.03419360890984535, 0.041801996529102325, -0.029674474149942398, -0.01961233839392662, -0.021818947046995163, ...
718,987
aiortc.rtcrtptransceiver
stop
Permanently stops the :class:`RTCRtpTransceiver`.
def setCodecPreferences(self, codecs: List[RTCRtpCodecCapability]) -> None: """ Override the default codec preferences. See :meth:`RTCRtpSender.getCapabilities` and :meth:`RTCRtpReceiver.getCapabilities` for the supported codecs. :param codecs: A list of :class:`RTCRtpCodecCapability`, in decreasing...
(self)
[ -0.014829258434474468, -0.0452292375266552, -0.041910309344530106, -0.004150868393480778, -0.04674747213721275, -0.031194405630230904, 0.007622062228620052, 0.0035462230443954468, 0.0341249480843544, 0.04180438816547394, -0.029640862718224525, -0.01948988251388073, -0.02187315747141838, 0....
718,988
aiortc.rtcsctptransport
RTCSctpCapabilities
The :class:`RTCSctpCapabilities` dictionary provides information about the capabilities of the :class:`RTCSctpTransport`.
class RTCSctpCapabilities: """ The :class:`RTCSctpCapabilities` dictionary provides information about the capabilities of the :class:`RTCSctpTransport`. """ maxMessageSize: int """ The maximum size of data that the implementation can send or 0 if the implementation can handle messages o...
(maxMessageSize: int) -> None
[ 0.0216678399592638, -0.03363366425037384, -0.03573576733469963, -0.0547984354197979, 0.007590930908918381, -0.041790544986724854, -0.0291419867426157, 0.006607254035770893, 0.02730938419699669, -0.03848467022180557, -0.033471960574388504, 0.025997815653681755, -0.02797415293753147, 0.01048...
718,989
aiortc.rtcsctptransport
__eq__
null
import asyncio import enum import hmac import logging import math import os import time from collections import deque from dataclasses import dataclass, field from struct import pack, unpack_from from typing import ( Any, Callable, Deque, Dict, Iterator, List, Optional, Set, Tuple, ...
(self, other)
[ -0.04095018655061722, -0.02650793269276619, -0.09469730406999588, -0.018162503838539124, -0.00967082567512989, 0.01107848808169365, -0.030109355226159096, 0.029030757024884224, -0.06266841292381287, -0.07685472816228867, 0.024332454428076744, 0.044825829565525055, -0.0019309658091515303, 0...
718,991
aiortc.rtcsctptransport
__repr__
null
@property def body(self) -> bytes: # type: ignore body = pack("!L", self.cumulative_tsn) for stream_id, stream_seq in self.streams: body += pack("!HH", stream_id, stream_seq) return body
(self)
[ -0.05040041729807854, 0.00037189346039667726, -0.058227889239788055, -0.018470708280801773, 0.015460142865777016, -0.03453296422958374, -0.05656322464346886, 0.017514411360025406, -0.006698509678244591, -0.020737487822771072, 0.02229589782655239, 0.036941416561603546, -0.004004495684057474, ...
718,992
aiortc.rtcsctptransport
RTCSctpTransport
The :class:`RTCSctpTransport` interface includes information relating to Stream Control Transmission Protocol (SCTP) transport. :param transport: An :class:`RTCDtlsTransport`.
class RTCSctpTransport(AsyncIOEventEmitter): """ The :class:`RTCSctpTransport` interface includes information relating to Stream Control Transmission Protocol (SCTP) transport. :param transport: An :class:`RTCDtlsTransport`. """ def __init__(self, transport: RTCDtlsTransport, port: int = 5000)...
(transport: aiortc.rtcdtlstransport.RTCDtlsTransport, port: int = 5000) -> None
[ -0.04308401793241501, -0.019554443657398224, -0.0583421066403389, -0.014113730750977993, 0.025055384263396263, -0.005046712700277567, -0.032845038920640945, 0.028889982029795647, -0.04448936879634857, -0.08552559465169907, -0.02784600853919983, 0.014655794017016888, -0.00741322198882699, 0...
718,994
aiortc.rtcsctptransport
__init__
null
def __init__(self, transport: RTCDtlsTransport, port: int = 5000) -> None: if transport.state == "closed": raise InvalidStateError super().__init__() self._association_state = self.State.CLOSED self.__log_debug: Callable[..., None] = lambda *args: None self.__started = False self.__state...
(self, transport: aiortc.rtcdtlstransport.RTCDtlsTransport, port: int = 5000) -> NoneType
[ -0.038790326565504074, -0.04038182273507118, -0.048358477652072906, -0.0007765734917484224, -0.009060024283826351, -0.011197998188436031, -0.046747807413339615, 0.028225090354681015, -0.07662191987037659, -0.07742725312709808, -0.019960815086960793, 0.05760066211223602, -0.009203833527863026...
718,996
aiortc.rtcsctptransport
_abort
Abort the association.
self.__log_debug = lambda msg, *args: logger.debug(prefix + msg, *args)
(self) -> NoneType
[ -0.02494076080620289, 0.032412465661764145, 0.04651399329304695, 0.06370241940021515, 0.012373914942145348, -0.0030386685393750668, -0.01636408641934395, 0.024432122707366943, 0.03474517911672592, -0.03739360347390175, -0.009506253525614738, -0.018275858834385872, 0.08545104414224625, -0.0...
718,999
aiortc.rtcsctptransport
_data_channel_add_negotiated
null
def _data_channel_add_negotiated(self, channel: RTCDataChannel) -> None: if channel.id in self._data_channels: raise ValueError(f"Data channel with ID {channel.id} already registered") self._data_channels[channel.id] = channel if self._association_state == self.State.ESTABLISHED: channel._se...
(self, channel: aiortc.rtcdatachannel.RTCDataChannel) -> NoneType
[ -0.05819568410515785, -0.017458705231547356, -0.008063477464020252, 0.07508885115385056, -0.019958017393946648, -0.0012758810771629214, -0.0031218607909977436, 0.03099513053894043, 0.05877946317195892, -0.026105962693691254, 0.017486069351434708, -0.026178935542702675, -0.04965788498520851, ...
719,000
aiortc.rtcsctptransport
_data_channel_close
Request closing the datachannel by sending an Outgoing Stream Reset Request.
def _data_channel_close(self, channel, transmit=True): """ Request closing the datachannel by sending an Outgoing Stream Reset Request. """ if channel.readyState not in ["closing", "closed"]: channel._setReadyState("closing") if self._association_state == self.State.ESTABLISHED: ...
(self, channel, transmit=True)
[ -0.010260844603180885, -0.009080393239855766, -0.008608212694525719, 0.03655766323208809, -0.010042915120720863, -0.041479237377643585, -0.05063227191567421, 0.04794447496533394, 0.041079699993133545, -0.03904569149017334, -0.004926113411784172, -0.07707437872886658, -0.003763822838664055, ...
719,001
aiortc.rtcsctptransport
_data_channel_closed
null
def _data_channel_closed(self, stream_id: int) -> None: channel = self._data_channels.pop(stream_id) channel._setReadyState("closed")
(self, stream_id: int) -> NoneType
[ -0.029194021597504616, 0.018445797264575958, -0.030825765803456306, 0.002720311749726534, -0.02491956204175949, -0.015031551010906696, 0.01691160351037979, 0.08726280927658081, 0.0845668837428093, -0.021496448665857315, -0.07342845946550369, -0.02293309196829796, -0.0019088740227743983, 0....
719,002
aiortc.rtcsctptransport
_data_channel_flush
Try to flush buffered data to the SCTP layer. We wait until the association is established, as we need to know whether we are a client or a server to correctly assign an odd/even ID to the data channels.
def _data_channel_closed(self, stream_id: int) -> None: channel = self._data_channels.pop(stream_id) channel._setReadyState("closed")
(self) -> NoneType
[ -0.029194021597504616, 0.018445797264575958, -0.030825765803456306, 0.002720311749726534, -0.02491956204175949, -0.015031551010906696, 0.01691160351037979, 0.08726280927658081, 0.0845668837428093, -0.021496448665857315, -0.07342845946550369, -0.02293309196829796, -0.0019088740227743983, 0....
719,003
aiortc.rtcsctptransport
_data_channel_open
null
def _data_channel_open(self, channel: RTCDataChannel) -> None: if channel.id is not None: if channel.id in self._data_channels: raise ValueError( f"Data channel with ID {channel.id} already registered" ) else: self._data_channels[channel.id] = chan...
(self, channel: aiortc.rtcdatachannel.RTCDataChannel) -> NoneType
[ -0.013929306529462337, -0.02110101655125618, -0.016489285975694656, 0.07548177987337112, 0.046154946088790894, -0.004327026195824146, 0.03173622861504555, 0.019331619143486023, 0.005684662610292435, -0.046154946088790894, -0.0030658592004328966, -0.05191490054130554, -0.016423404216766357, ...
719,005
aiortc.rtcsctptransport
_data_channel_send
null
def _data_channel_send(self, channel: RTCDataChannel, data: bytes) -> None: if data == "": pp_id, user_data = WEBRTC_STRING_EMPTY, b"\x00" elif isinstance(data, str): pp_id, user_data = WEBRTC_STRING, data.encode("utf8") elif data == b"": pp_id, user_data = WEBRTC_BINARY_EMPTY, b"\x0...
(self, channel: aiortc.rtcdatachannel.RTCDataChannel, data: bytes) -> NoneType
[ -0.03575912117958069, 0.019945764914155006, -0.07890147715806961, 0.06857963651418686, 0.006855208892375231, 0.006487883627414703, -0.011056492105126381, 0.023986343294382095, 0.03765084594488144, -0.03618154302239418, 0.03105735592544079, -0.051792871206998825, -0.026006633415818214, 0.00...
719,008
aiortc.rtcsctptransport
_flight_size_decrease
null
def _flight_size_decrease(self, chunk: DataChunk) -> None: self._flight_size = max(0, self._flight_size - chunk._book_size) # type: ignore
(self, chunk: aiortc.rtcsctptransport.DataChunk) -> NoneType
[ -0.0006803291034884751, 0.09119739383459091, -0.0960475355386734, 0.02533465065062046, -0.05349855124950409, -0.0213296078145504, -0.015505761839449406, 0.04541498050093651, -0.0733400508761406, -0.07738183438777924, -0.022082850337028503, -0.028347618877887726, -0.014550430700182915, -0.0...
719,009
aiortc.rtcsctptransport
_flight_size_increase
null
def _flight_size_increase(self, chunk: DataChunk) -> None: self._flight_size += chunk._book_size # type: ignore
(self, chunk: aiortc.rtcsctptransport.DataChunk) -> NoneType
[ -0.0156540684401989, 0.0376771055161953, -0.10662657022476196, 0.05392155796289444, -0.011718188412487507, 0.010931012220680714, 0.001453592092730105, 0.04597823694348335, -0.08773434907197952, -0.0532059445977211, -0.008086444810032845, -0.06937883049249649, 0.017666734755039215, -0.00295...
719,010
aiortc.rtcsctptransport
_get_extensions
Gets what extensions are supported by the remote party.
def _get_extensions(self, params: List[Tuple[int, bytes]]) -> None: """ Gets what extensions are supported by the remote party. """ for k, v in params: if k == SCTP_PRSCTP_SUPPORTED: self._remote_partial_reliability = True elif k == SCTP_SUPPORTED_CHUNK_EXT: self....
(self, params: List[Tuple[int, bytes]]) -> NoneType
[ 0.04641101881861687, -0.015347890555858612, -0.02913680113852024, 0.018403133377432823, -0.020392177626490593, -0.0037966540548950434, 0.0059716105461120605, -0.021234383806586266, 0.012651033699512482, 0.038060616701841354, 0.020750563591718674, -0.023008396849036217, -0.016055703163146973,...
719,011
aiortc.rtcsctptransport
_get_inbound_stream
Get or create the inbound stream with the specified ID.
def _get_inbound_stream(self, stream_id: int) -> InboundStream: """ Get or create the inbound stream with the specified ID. """ if stream_id not in self._inbound_streams: self._inbound_streams[stream_id] = InboundStream() return self._inbound_streams[stream_id]
(self, stream_id: int) -> aiortc.rtcsctptransport.InboundStream
[ -0.02420172654092312, -0.05378562957048416, 0.008971797302365303, -0.022738786414265633, -0.042443327605724335, 0.008840855211019516, 0.050715260207653046, 0.04894528537988663, 0.021131359040737152, 0.0031493850983679295, -0.0765063539147377, -0.018060989677906036, -0.03731400519609451, -0...
719,012
aiortc.rtcsctptransport
_get_timestamp
null
def _get_timestamp(self) -> int: return int(time.time())
(self) -> int
[ 0.02082069031894207, 0.017876528203487396, 0.0036735914181917906, 0.10302804410457611, 0.03374326974153519, -0.054087959229946136, -0.016060668975114822, 0.12291435897350311, -0.029547398909926414, -0.02801361307501793, -0.02850724570453167, -0.016051853075623512, -0.02529863826930523, -0....
719,013
aiortc.rtcsctptransport
_handle_data
Handle data received from the network.
def _get_timestamp(self) -> int: return int(time.time())
(self, data)
[ 0.020728420466184616, 0.017899414524435997, 0.00364201539196074, 0.10307806730270386, 0.03375418856739998, -0.054147712886333466, -0.016101540997624397, 0.1228899210691452, -0.02954152598977089, -0.027990419417619705, -0.02844870090484619, -0.01611916720867157, -0.025275982916355133, -0.00...
719,014
aiortc.rtcsctptransport
_init
Initialize the association.
self.__log_debug = lambda msg, *args: logger.debug(prefix + msg, *args)
(self) -> NoneType
[ -0.025010650977492332, 0.032464735209941864, 0.04651349410414696, 0.06377189606428146, 0.012356243096292019, -0.003047405742108822, -0.016442837193608284, 0.02444940060377121, 0.03479742631316185, -0.03742827847599983, -0.009435995481908321, -0.018223047256469727, 0.08537997305393219, -0.0...
719,015
aiortc.rtcsctptransport
_mark_received
Mark an incoming data TSN as received.
def _mark_received(self, tsn: int) -> bool: """ Mark an incoming data TSN as received. """ # it's a duplicate if uint32_gte(self._last_received_tsn, tsn) or tsn in self._sack_misordered: self._sack_duplicates.append(tsn) return True # consolidate misordered entries self._sack...
(self, tsn: int) -> bool
[ -0.005021092016249895, 0.05673016607761383, -0.028147170320153236, -0.014809043146669865, 0.005629433784633875, -0.049284785985946655, -0.025786438956856728, 0.05298931896686554, 0.0923953577876091, -0.06039837747812271, -0.056221701204776764, 0.0003543932980392128, 0.0046465531922876835, ...
719,016
aiortc.rtcsctptransport
_maybe_abandon
Determine if a chunk needs to be marked as abandoned. If it does, it marks the chunk and any other chunk belong to the same message as abandoned.
@no_type_check def _maybe_abandon(self, chunk: DataChunk) -> bool: """ Determine if a chunk needs to be marked as abandoned. If it does, it marks the chunk and any other chunk belong to the same message as abandoned. """ if chunk._abandoned: return True abandon = ( chunk._max...
(self, chunk: aiortc.rtcsctptransport.DataChunk) -> bool
[ -0.009853122755885124, 0.02642977237701416, -0.02336518093943596, 0.04509591683745384, -0.030850211158394814, -0.028045646846294403, -0.002994940849021077, 0.06768102198839188, 0.0011724380310624838, -0.0712842345237732, -0.013344898819923401, -0.005906302016228437, -0.02778562158346176, 0...
719,017
aiortc.rtcsctptransport
_receive
Receive data stream -> ULP.
def _mark_received(self, tsn: int) -> bool: """ Mark an incoming data TSN as received. """ # it's a duplicate if uint32_gte(self._last_received_tsn, tsn) or tsn in self._sack_misordered: self._sack_duplicates.append(tsn) return True # consolidate misordered entries self._sack...
(self, stream_id: int, pp_id: int, data: bytes) -> NoneType
[ -0.005021092016249895, 0.05673016607761383, -0.028147170320153236, -0.014809043146669865, 0.005629433784633875, -0.049284785985946655, -0.025786438956856728, 0.05298931896686554, 0.0923953577876091, -0.06039837747812271, -0.056221701204776764, 0.0003543932980392128, 0.0046465531922876835, ...
719,018
aiortc.rtcsctptransport
_receive_chunk
Handle an incoming chunk.
def _mark_received(self, tsn: int) -> bool: """ Mark an incoming data TSN as received. """ # it's a duplicate if uint32_gte(self._last_received_tsn, tsn) or tsn in self._sack_misordered: self._sack_duplicates.append(tsn) return True # consolidate misordered entries self._sack...
(self, chunk)
[ -0.005021092016249895, 0.05673016607761383, -0.028147170320153236, -0.014809043146669865, 0.005629433784633875, -0.049284785985946655, -0.025786438956856728, 0.05298931896686554, 0.0923953577876091, -0.06039837747812271, -0.056221701204776764, 0.0003543932980392128, 0.0046465531922876835, ...
719,019
aiortc.rtcsctptransport
_receive_data_chunk
Handle a DATA chunk.
def _mark_received(self, tsn: int) -> bool: """ Mark an incoming data TSN as received. """ # it's a duplicate if uint32_gte(self._last_received_tsn, tsn) or tsn in self._sack_misordered: self._sack_duplicates.append(tsn) return True # consolidate misordered entries self._sack...
(self, chunk: aiortc.rtcsctptransport.DataChunk) -> NoneType
[ -0.005021092016249895, 0.05673016607761383, -0.028147170320153236, -0.014809043146669865, 0.005629433784633875, -0.049284785985946655, -0.025786438956856728, 0.05298931896686554, 0.0923953577876091, -0.06039837747812271, -0.056221701204776764, 0.0003543932980392128, 0.0046465531922876835, ...
719,020
aiortc.rtcsctptransport
_receive_forward_tsn_chunk
Handle a FORWARD TSN chunk.
def _mark_received(self, tsn: int) -> bool: """ Mark an incoming data TSN as received. """ # it's a duplicate if uint32_gte(self._last_received_tsn, tsn) or tsn in self._sack_misordered: self._sack_duplicates.append(tsn) return True # consolidate misordered entries self._sack...
(self, chunk: aiortc.rtcsctptransport.ForwardTsnChunk) -> NoneType
[ -0.005021092016249895, 0.05673016607761383, -0.028147170320153236, -0.014809043146669865, 0.005629433784633875, -0.049284785985946655, -0.025786438956856728, 0.05298931896686554, 0.0923953577876091, -0.06039837747812271, -0.056221701204776764, 0.0003543932980392128, 0.0046465531922876835, ...
719,021
aiortc.rtcsctptransport
_receive_reconfig_param
Handle a RE-CONFIG parameter.
@no_type_check async def _receive_sack_chunk(self, chunk: SackChunk) -> None: """ Handle a SACK chunk. """ if uint32_gt(self._last_sacked_tsn, chunk.cumulative_tsn): return received_time = time.time() self._last_sacked_tsn = chunk.cumulative_tsn cwnd_fully_utilized = self._flight_siz...
(self, param)
[ -0.058951590210199356, 0.0026064517442137003, -0.0363672636449337, -0.0165493693202734, 0.010829450562596321, -0.018813708797097206, -0.014294874854385853, 0.03524493798613548, -0.008643870241940022, -0.09285761415958405, -0.02350975200533867, -0.007669219747185707, -0.01660843938589096, -...
719,022
aiortc.rtcsctptransport
_receive_sack_chunk
Handle a SACK chunk.
@no_type_check async def _receive_sack_chunk(self, chunk: SackChunk) -> None: """ Handle a SACK chunk. """ if uint32_gt(self._last_sacked_tsn, chunk.cumulative_tsn): return received_time = time.time() self._last_sacked_tsn = chunk.cumulative_tsn cwnd_fully_utilized = self._flight_siz...
(self, chunk: aiortc.rtcsctptransport.SackChunk) -> None
[ -0.058951590210199356, 0.0026064517442137003, -0.0363672636449337, -0.0165493693202734, 0.010829450562596321, -0.018813708797097206, -0.014294874854385853, 0.03524493798613548, -0.008643870241940022, -0.09285761415958405, -0.02350975200533867, -0.007669219747185707, -0.01660843938589096, -...
719,024
aiortc.rtcsctptransport
_send
Send data ULP -> stream.
@no_type_check async def _send( self, stream_id: int, pp_id: int, user_data: bytes, expiry: Optional[float] = None, max_retransmits: Optional[int] = None, ordered: bool = True, ) -> None: """ Send data ULP -> stream. """ if ordered: stream_seq = self._outbound_stream_...
(self, stream_id: int, pp_id: int, user_data: bytes, expiry: Optional[float] = None, max_retransmits: Optional[int] = None, ordered: bool = True) -> None
[ -0.07059744745492935, -0.00892507005482912, -0.056982770562171936, 0.012849806807935238, -0.009369650855660439, 0.0012022791197523475, -0.026521846652030945, 0.001896637142635882, -0.02338588237762451, -0.036656368523836136, -0.01622479222714901, -0.029351864010095596, -0.021473709493875504,...
719,025
aiortc.rtcsctptransport
_send_chunk
Transmit a chunk (no bundling for now).
@no_type_check async def _send( self, stream_id: int, pp_id: int, user_data: bytes, expiry: Optional[float] = None, max_retransmits: Optional[int] = None, ordered: bool = True, ) -> None: """ Send data ULP -> stream. """ if ordered: stream_seq = self._outbound_stream_...
(self, chunk: aiortc.rtcsctptransport.Chunk) -> NoneType
[ -0.07059744745492935, -0.00892507005482912, -0.056982770562171936, 0.012849806807935238, -0.009369650855660439, 0.0012022791197523475, -0.026521846652030945, 0.001896637142635882, -0.02338588237762451, -0.036656368523836136, -0.01622479222714901, -0.029351864010095596, -0.021473709493875504,...
719,026
aiortc.rtcsctptransport
_send_reconfig_param
null
@no_type_check async def _send( self, stream_id: int, pp_id: int, user_data: bytes, expiry: Optional[float] = None, max_retransmits: Optional[int] = None, ordered: bool = True, ) -> None: """ Send data ULP -> stream. """ if ordered: stream_seq = self._outbound_stream_...
(self, param)
[ -0.07059744745492935, -0.00892507005482912, -0.056982770562171936, 0.012849806807935238, -0.009369650855660439, 0.0012022791197523475, -0.026521846652030945, 0.001896637142635882, -0.02338588237762451, -0.036656368523836136, -0.01622479222714901, -0.029351864010095596, -0.021473709493875504,...
719,027
aiortc.rtcsctptransport
_send_sack
Build and send a selective acknowledgement (SACK) chunk.
@no_type_check async def _send( self, stream_id: int, pp_id: int, user_data: bytes, expiry: Optional[float] = None, max_retransmits: Optional[int] = None, ordered: bool = True, ) -> None: """ Send data ULP -> stream. """ if ordered: stream_seq = self._outbound_stream_...
(self)
[ -0.07059744745492935, -0.00892507005482912, -0.056982770562171936, 0.012849806807935238, -0.009369650855660439, 0.0012022791197523475, -0.026521846652030945, 0.001896637142635882, -0.02338588237762451, -0.036656368523836136, -0.01622479222714901, -0.029351864010095596, -0.021473709493875504,...
719,028
aiortc.rtcsctptransport
_set_extensions
Sets what extensions are supported by the local party.
def _set_extensions(self, params: List[Tuple[int, bytes]]) -> None: """ Sets what extensions are supported by the local party. """ extensions = [] if self._local_partial_reliability: params.append((SCTP_PRSCTP_SUPPORTED, b"")) extensions.append(ForwardTsnChunk.type) extensions.ap...
(self, params: List[Tuple[int, bytes]]) -> NoneType
[ 0.024110300466418266, 0.016572490334510803, -0.017882252112030983, 0.014220265671610832, -0.026533804833889008, 0.010683019645512104, -0.010308802127838135, 0.01593097485601902, -0.020314665511250496, 0.01406879723072052, 0.016572490334510803, -0.031345173716545105, -0.004891557618975639, ...
719,029
aiortc.rtcsctptransport
_set_state
Transition the SCTP association to a new state.
def _set_state(self, state) -> None: """ Transition the SCTP association to a new state. """ if state != self._association_state: self.__log_debug("- %s -> %s", self._association_state, state) self._association_state = state if state == self.State.ESTABLISHED: self.__state = ...
(self, state) -> NoneType
[ -0.09507491439580917, 0.018807105720043182, -0.002358242403715849, -0.01898360624909401, -0.031750474125146866, -0.040869664400815964, -0.029397133737802505, 0.014384787529706955, 0.0391438789665699, -0.03504514694213867, -0.08385733515024185, 0.028475407510995865, -0.015551651827991009, 0...
719,030
aiortc.rtcsctptransport
_t1_cancel
null
def _t1_cancel(self) -> None: if self._t1_handle is not None: self.__log_debug("- T1(%s) cancel", chunk_type(self._t1_chunk)) self._t1_handle.cancel() self._t1_handle = None self._t1_chunk = None
(self) -> NoneType
[ -0.04587243124842644, 0.048898134380578995, 0.0036038898397237062, -0.0013063556980341673, -0.0437161810696125, -0.017397789284586906, -0.0183281060308218, 0.06733056902885437, 0.005042837467044592, -0.04667232930660248, -0.00524715892970562, -0.007368628401309252, -0.012650566175580025, -...
719,031
aiortc.rtcsctptransport
_t1_expired
null
def _t1_expired(self) -> None: self._t1_failures += 1 self._t1_handle = None self.__log_debug( "x T1(%s) expired %d", chunk_type(self._t1_chunk), self._t1_failures ) if self._t1_failures > SCTP_MAX_INIT_RETRANS: self._set_state(self.State.CLOSED) else: asyncio.ensure_futu...
(self) -> NoneType
[ -0.04166075214743614, 0.04368002340197563, 0.0175180621445179, 0.04084595665335655, 0.025506582111120224, -0.010424043983221054, -0.02764984406530857, 0.04307778179645538, 0.0015498790889978409, -0.02896059863269329, 0.014418303966522217, -0.0022982493974268436, -0.0016052318969741464, 0.0...
719,032
aiortc.rtcsctptransport
_t1_start
null
def _t1_start(self, chunk: Chunk) -> None: assert self._t1_handle is None self._t1_chunk = chunk self._t1_failures = 0 self.__log_debug("- T1(%s) start", chunk_type(self._t1_chunk)) self._t1_handle = self._loop.call_later(self._rto, self._t1_expired)
(self, chunk: aiortc.rtcsctptransport.Chunk) -> NoneType
[ -0.022415388375520706, 0.059564877301454544, -0.02103624865412712, 0.03652102127671242, 0.013372420333325863, 0.029485661536455154, 0.01047448068857193, 0.0782792866230011, -0.06658277660608292, -0.050905972719192505, 0.02283436618745327, 0.05425780639052391, 0.023515207692980766, 0.004744...
719,033
aiortc.rtcsctptransport
_t2_cancel
null
def _t2_cancel(self) -> None: if self._t2_handle is not None: self.__log_debug("- T2(%s) cancel", chunk_type(self._t2_chunk)) self._t2_handle.cancel() self._t2_handle = None self._t2_chunk = None
(self) -> NoneType
[ -0.015006033703684807, 0.03427007421851158, -0.011254525743424892, -0.008194084279239178, -0.038734108209609985, -0.02728213742375374, -0.0027320769149810076, 0.06332065165042877, 0.00958909559994936, -0.04591090977191925, 0.003981148824095726, -0.012653829529881477, -0.020620418712496758, ...
719,034
aiortc.rtcsctptransport
_t2_expired
null
def _t2_expired(self) -> None: self._t2_failures += 1 self._t2_handle = None self.__log_debug( "x T2(%s) expired %d", chunk_type(self._t2_chunk), self._t2_failures ) if self._t2_failures > SCTP_MAX_ASSOCIATION_RETRANS: self._set_state(self.State.CLOSED) else: asyncio.ensu...
(self) -> NoneType
[ -0.016076743602752686, 0.05019594728946686, 0.007042351178824902, 0.043772269040346146, 0.02594042383134365, -0.02476450428366661, -0.019639603793621063, 0.030802058055996895, 0.007371433079242706, -0.03473348915576935, 0.020868174731731415, -0.01108347624540329, -0.002108317567035556, -0....
719,035
aiortc.rtcsctptransport
_t2_start
null
def _t2_start(self, chunk) -> None: assert self._t2_handle is None self._t2_chunk = chunk self._t2_failures = 0 self.__log_debug("- T2(%s) start", chunk_type(self._t2_chunk)) self._t2_handle = self._loop.call_later(self._rto, self._t2_expired)
(self, chunk) -> NoneType
[ -0.007134515326470137, 0.05498414486646652, -0.038178589195013046, 0.02538266032934189, 0.0061713336035609245, 0.018880097195506096, 0.025522125884890556, 0.07586905360221863, -0.07203376293182373, -0.059551626443862915, 0.032303620129823685, 0.04410586133599281, 0.006101601291447878, -0.0...