CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-aiortc

Python implementation of WebRTC and ORTC for real-time peer-to-peer communication

87

1.02x
Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "This evaluation criteria assesses how well the engineer uses the aiortc package's SDP (Session Description Protocol) parsing and generation capabilities. The focus is on correct usage of aiortc's RTCSessionDescription class and related SDP parsing functions to parse, create, and modify session descriptions.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "RTCSessionDescription usage",
      "description": "Uses aiortc's RTCSessionDescription class to create and work with session descriptions. Should instantiate RTCSessionDescription with type and sdp parameters.",
      "max_score": 25
    },
    {
      "name": "SDP parsing",
      "description": "Uses aiortc.sdp module functions (e.g., SessionDescription.parse) to parse SDP strings into structured objects that can be queried for media sections, codecs, and ICE candidates.",
      "max_score": 20
    },
    {
      "name": "Media section access",
      "description": "Correctly accesses media sections from parsed SDP objects using the media property or similar mechanisms to extract audio/video specific information.",
      "max_score": 15
    },
    {
      "name": "Codec extraction",
      "description": "Extracts codec information from media descriptions using appropriate attributes like rtp.codecs or fmt (payload types) and codec names from the SDP media objects.",
      "max_score": 15
    },
    {
      "name": "ICE candidate handling",
      "description": "Properly extracts and adds ICE candidates using the candidate attribute from media sections or RTCIceCandidate class for parsing candidate strings.",
      "max_score": 15
    },
    {
      "name": "SDP generation",
      "description": "Creates valid SDP offers using aiortc's peer connection methods (createOffer) or constructs SessionDescription objects with proper formatting and required fields.",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-aiortc

tile.json