DescriptionAdding OrtcFactory, and changing UdpTransport to match current plan.
The factory follows the same principles as PeerConnectionFactory;
various modules can be passed into its constructor but default
implementations are provided. Currently the only object the factory can
create is a UdpTransport (need to start somewhere).
UdpTransportChannel (renamed to UdpTransport)
will now accept a socket passed into its constructor,
relying on the factory to create the socket. This allows some
simplifications to be made, such as getting rid of "State" since the
only states are now "has destination set or doesn't".
BUG=webrtc:7013
Review-Url: https://codereview.webrtc.org/2632613002
Cr-Commit-Position: refs/heads/master@{#16154}
Committed: https://chromium.googlesource.com/external/webrtc/+/d1c0998730443e4901ec329ee816fd1f115b6223
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fixing some log statements/comments. #Patch Set 3 : . #Patch Set 4 : Lint error #Patch Set 5 : Splitting proxy changes from this CL #
Total comments: 12
Patch Set 6 : Responding to pthatcher's comments. #Patch Set 7 : Adding OrtcFactoryInterface and factory method #
Total comments: 2
Patch Set 8 : Rebase and remove worker_thread from API #
Depends on Patchset: Messages
Total messages: 17 (9 generated)
|