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%
{
"context": "This criteria evaluates how well the engineer uses aiortc's SRTP encryption capabilities to establish secure media connections and verify encryption status. The focus is on proper usage of RTCPeerConnection for SDP negotiation, accessing statistics to verify SRTP encryption, and handling incoming media tracks.",
"type": "weighted_checklist",
"checklist": [
{
"name": "RTCPeerConnection creation",
"description": "Creates an RTCPeerConnection instance using the aiortc.RTCPeerConnection class",
"max_score": 15
},
{
"name": "SDP offer processing",
"description": "Uses setRemoteDescription() method to process and set the remote SDP offer",
"max_score": 15
},
{
"name": "SDP answer generation",
"description": "Uses createAnswer() method to generate an SDP answer for the peer connection",
"max_score": 15
},
{
"name": "Local description setup",
"description": "Uses setLocalDescription() method to set the generated answer as the local description",
"max_score": 15
},
{
"name": "Statistics retrieval",
"description": "Uses getStats() method on RTCPeerConnection to retrieve connection statistics after connection is established",
"max_score": 20
},
{
"name": "SRTP cipher verification",
"description": "Accesses the srtpCipher property from RTCTransportStats to verify and report the SRTP protection profile being used",
"max_score": 15
},
{
"name": "Track event handling",
"description": "Registers an event handler for the 'track' event on RTCPeerConnection to receive and count incoming media tracks",
"max_score": 5
}
]
}