tessl install tessl/pypi-aiortc@1.13.0Python implementation of WebRTC and ORTC for real-time peer-to-peer communication
Agent Success
Agent success rate when using this tile
87%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.02x
Baseline
Agent success rate without this tile
85%
Build a Python application that establishes a secure peer-to-peer media connection and verifies that encryption is properly enabled for media transmission.
Your application should:
Establish Secure Connection: Create a peer connection that negotiates SDP offer/answer and establishes a secure media connection.
Access Transport Security: After connection establishment, access the underlying transport layer to verify encryption is active.
Check SRTP Profile: Query and report which SRTP protection profile is being used for the secure media transmission.
Receive Media: Listen for incoming media tracks and confirm they are being received over the encrypted transport.
secure_recorder.py that:
Your program should print:
Connection established
SRTP Active: [Yes/No]
Protection Profile: [profile name, e.g., SRTP_AEAD_AES_128_GCM]
Received [N] track(s)@generates
Provides WebRTC implementation with secure real-time media transport capabilities.
Provides media encoding and file output support.