Closed Bug 756544 Opened 12 years ago Closed 12 years ago

First cut at generic transport abstraction and DTLS layer

Categories

(Core :: WebRTC: Networking, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ekr, Unassigned)

Details

(Whiteboard: [WebRTC], [qa-])

Attachments

(1 file)

Attached patch PatchSplinter Review
This patch includes:

- A generic C++ layered I/O abstraction suitable for use with datagram transport
- Implementations of specific layers for
  + PRSock
  + DTLS (using NSS)
  + Shim implementations for logging, loopback, and lossy network simulation
- Unit tests for the above based on gtest
- A number of other utilities I wrote to facilitate this stuff.

Note that I have generally avoided using lubxul constructs where possible, but because this code depends on some of the libxul/XPCOM services, I haven't avoided them entirely, in particular, I use:

nsSocketTransportService (via do_GetService) nsTimer (via do_CreateInstance) and nsCOMPtr. When we plug this into firefox instead of in the test harness, we will need to make those available. My thought here is just to have a function table of these global functions that gets exported in gkmedias.dll
Note: this code is being developed in alder/ekr_transport_branch
Attachment #625189 - Attachment is patch: true
Attachment #625189 - Flags: review?(rjesup)
Attachment #625189 - Flags: review?(bsmith)
Attachment #625189 - Flags: review?(rjesup)
QA Contact: jsmith
Whiteboard: [WebRTC]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [WebRTC] → [WebRTC], [qa-]
Attachment #625189 - Flags: review?(bsmith)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: