Python implementation of WebRTC and ORTC for real-time peer-to-peer communication
87
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.
Install with Tessl CLI
npx tessl i tessl/pypi-aiortcdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10