Open Bug 1348329 Opened 7 years ago Updated 2 years ago

logging SDP from setRemoteDescription / setLocalDescription in a format suitable for text2pcap

Categories

(Core :: WebRTC: Signaling, enhancement, P4)

enhancement

Tracking

()

People

(Reporter: fippo, Unassigned)

Details

the pcap files that can be generated from https://bugzilla.mozilla.org/show_bug.cgi?id=1343640 could be enhanced by adding the SDP from setRemoteDescription/setLocalDescription (and onicecandidate/addicecandidate) to it, in particular from renegotiations.

Wireshark seems to be fairly happy to interpret things as SIP and dissects things nicely when prefixing the SDP with this:
  'INVITE sip:something-that-identifies-the-pc SIP/2.0\r\nContent-Type:application/sdp\r\nContent-Length: ...\r\n\r\n'

or a 'SIP/2.0 200 OK' instead of the invite. For extra fun, increment Cseq for renegotiation.
Dumping a text protocol into hex... :-(

I'm wondering if there is another way then adding fake SIP messages to get Wireshark to pickup the SDP. Maybe just raw SDP in UDP... the Wireshark disectors are suppose to usable on anything you throw at them, so I don't see why it should be limited to SIP.
backlog: --- → webrtc/webaudio+
Rank: 35
Priority: -- → P3
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.