To simplify configuration of the PeerConenction, use the
DataChannelOptions passed to NewPeerConnection rather than
explicitly requesting them each time you call CreateDataChannel.
All DataChannels created by a PeerConnection should share the same
set of options for the sake of simplicity.
Related to #434
Continues move away from API and SettingsEngine. Makes the Detach
API simpler to use by moving cause ({Detach: true}) closer to effect
(a datachannel capable of detaching).
Related to #434
Start moving away from API and SettingsEngine. Makes configuration
options more explicit and makes it easier to understand from the
godoc.
Related to #434
- Implemented a common "Writer" interface
- Made IVFWriter compliant to the new interface
- Implemented an OGG Opus writer
- Updated the save-file example
- Updated janus-gateway/streaming example
- Wrote a few unit tests for opus-writer
- Wrote a few unit tests for ivf-writer
- Fixed filenames
- Improved API to allow tests using an io.Writer
Let's pull off the bandaid!
* Reduces studdering: webrtc.RTCTrack -> webrtc.Track
* Makes it easier to find types by editor autocomplete
* Makes code read more fluently (less repetition)
Since we're breaking the API in 2.0, our only chance to
do this is now.
Relates to #408
This deviates from the WebRTC spec, so we need to fix it. This is a
massively breaking change, so we need to figure out the best way to help
users with this.
I also renamed our RTCPeerConnection constructor. The hope is that
people will refer to the examples/backlog and see what changed.
Resolves#309