Open enobufs opened 6 months ago
These are current candidates for converting to an interface: https://docs.google.com/spreadsheets/d/1uXNQQ0Qn3NfBXBgsXFSVgXmCpsYwtZrdQOGCQoAl-bA I have once locally tested based on this earlier. Please feel free to leave any comments.
Summary
This is a pion/webrtc v4 item. We'd like to use interfaces between pion modules as much as possible to provide users with true pluggability. To achieve this, we'd also need to introduce customizable factories.
Motivation
Pion WebRTC is comprised of many modules (a poly-repo solution) with pluggability in mind. This has allowed us to manage each WebRTC sub-components with independent versions. It is, however, not flexible enough to achieve intended pluggability because a module depends on another via direct struct pointers rather than via interfaces.
By converting struct pointer to an interface, we can achieve the following:
Proposal: New Interfaces and CustomFactories
Plan (high level)
*sctp.Assocation => sctp.Association
)