o
    d÷¡i#  ã                   @   s^   d dl Z d dlmZ d dlmZmZ eG dd„ dƒƒZG dd„ de jƒZeG dd	„ d	ƒƒZ	dS )
é    N)Ú	dataclass)ÚOptionalÚUnionc                   @   sX   e Zd ZU dZeeee f ed< 	 dZe	e ed< 	 dZ
e	e ed< 	 dZeed< dS )ÚRTCIceServerzÈ
    The :class:`RTCIceServer` dictionary defines how to connect to a single
    STUN or TURN server. It includes both the URL and the necessary credentials,
    if any, to connect to the server.
    ÚurlsNÚusernameÚ
credentialÚpasswordÚcredentialType)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚstrÚlistÚ__annotations__r   r   r   r
   © r   r   úK/home/ubuntu/.local/lib/python3.10/site-packages/aiortc/rtcconfiguration.pyr      s   
 r   c                   @   s    e Zd ZdZdZ	 dZ	 dZdS )ÚRTCBundlePolicyzé
    The :class:`RTCBundlePolicy` affects which media tracks are negotiated if
    the remote endpoint is not bundle-aware, and what ICE candidates are
    gathered.

    See https://w3c.github.io/webrtc-pc/#rtcbundlepolicy-enum
    Úbalancedz
max-compatz
max-bundleN)r   r   r   r   ÚBALANCEDÚ
MAX_COMPATÚ
MAX_BUNDLEr   r   r   r   r      s    r   c                   @   s6   e Zd ZU dZdZeee  ed< 	 e	j
Ze	ed< dS )ÚRTCConfigurationz‚
    The :class:`RTCConfiguration` dictionary is used to provide configuration
    options for an :class:`RTCPeerConnection`.
    NÚ
iceServersÚbundlePolicy)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   7   s   
 r   )
ÚenumÚdataclassesr   Útypingr   r   r   ÚEnumr   r   r   r   r   r   Ú<module>   s    