backkem
ddcef2d84f
Examples: Make examples/util internal
...
Resolves #424
2019-02-20 21:32:48 +01:00
backkem
bf422e0c0a
API: Avoid exposing pkg/ice
...
OnICEConnectionStateChange now return a ICEConnectionState instead of
ice.ConnectionState.
Resolves #422
2019-02-20 20:47:34 +01:00
Max Hawkins
c6592e6c4b
Rename Ssrc -> SSRC
...
This capitalization is consistent with other uses in the project,
and matches the Go convention of capitalizing initialisms.
https://github.com/golang/go/wiki/CodeReviewComments#initialisms
Relates to #417
2019-02-18 11:47:05 -08:00
Max Hawkins
0e7086d37a
Remove RTC prefix from all names
...
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
2019-02-17 16:22:56 -08:00
Sean DuBois
b67f73c34f
Stop Create(Offer/Answer) from setting localDesc
...
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
2019-02-15 23:13:25 -08:00
Sean DuBois
2863555984
Export RTP/RTCP to unique packages
...
Resolves #272
2019-01-28 11:38:54 -08:00
backkem
e203a0537c
ORTC: Add basic data channel constructors
...
Resolves #273
2019-01-08 13:43:49 -08:00
Sean DuBois
5d6262f63a
Send PLI in all recv examples
...
Temporary fix until examples can respond to RTCP
2018-12-08 16:57:34 -08:00
backkem
7a527fadb3
Examples: exchange entire RTCSessionDescription
...
Resolves #39
2018-12-08 11:06:16 +01:00
Sean DuBois
6bf22b014e
DTLS is fast enough now that we don't need PLI
...
Remove temporary fix that only existed when handshaking was slow
Resolves #204
2018-12-04 00:10:14 -08:00
Sean DuBois
02bc9ec2e7
Send PLI in all recv examples
...
DTLS Keying material is slower then OpenSSL, for now just send PLI on an
interval until we improve our DTLS implementation
Resolves #204
2018-12-04 00:10:14 -08:00
Michael MacDonald
d5cf800ebb
Safer Event Callbacks
...
Resolves #218
Change Event Callback APIs to setter functions which take care of
locking so that users don't need to know about or remember
to do this.
2018-11-19 12:42:15 -05:00
backkem
2eddc94642
Examples: make uniform
...
Resolves #231
2018-11-19 00:42:16 -08:00
Sean DuBois
cc4160f3ad
Fix deprecation cutover, and bad SDP creation
...
Methods that were marked as deprecated weren't properly handled. There
was a mix of old+new ones supported which caused broken behavior.
SDP creation didn't add SCTP to Offer
Resolves #156
2018-09-19 00:38:17 -07:00
Sean DuBois
2adb8dcc80
Move IVFWriter to pkg
...
Allow this to be used/improved by others. SampleBuilder will be a
sibling
Resolves #115
2018-09-09 23:16:19 -07:00
Konstantin Itskov
cf2fdf0776
Revert public API name changes for on event handlers
2018-09-04 19:15:55 -04:00
Konstantin Itskov
f738cec9da
Change the names of event handlers and attributes for readability
2018-09-04 09:33:05 -04:00
Konstantin Itskov
20191a4974
Add an almost complete rfc complaint RTCConfiguration
2018-08-28 01:03:09 -07:00
Sean DuBois
78b6a76cc5
Revert "Move ICE package from public to internal folder structure"
...
ICE Package needs to be public for peerConnection.OnICEConnectionStateChange
This reverts commit b831f87d28
.
2018-08-16 10:10:29 -07:00
Konstantin Itskov
b831f87d28
Move ICE package from public to internal folder structure
2018-08-16 01:28:48 -07:00
Sean DuBois
cf6e2d9e03
Enable STUN by default in examples
2018-07-21 12:27:38 -07:00
backkem
ab6910899c
api: support a custom media engine
2018-07-16 14:20:18 -07:00
backkem
f7c5ecd57f
api: fix typos
2018-07-16 14:20:18 -07:00
backkem
7f682d2d2e
api: match WebRTC api more closely
2018-07-16 14:20:18 -07:00
Sean DuBois
2564609560
Disable STUN in examples temporarily
...
When we have multiple candidates that resolve we need to share DTLS
state across them
2018-07-14 13:26:01 -07:00
Sean DuBois
f440fc32d4
Finish STUN implementation
...
* Do not increment component id (this is used for marking RTP/RTCP)
* Add STUN to all examples so that they work out of the box
* Cast Addr from STUN client to UdpAddr instead of parsing
2018-07-11 21:58:49 -07:00
Raphael Randschau
98ea0b791e
fix warnings in examples
2018-07-06 15:23:40 -07:00
Raphael Randschau
4f6983307f
update examples with new constructor
2018-07-06 15:23:40 -07:00
Sean DuBois
24a312c34d
Fix poorly named function in RTCPeerConnection
...
CreateOffer -> CreateAnswer currently `pion-WebRTC` can only generate
offers not answers.
2018-07-04 00:46:01 -07:00
Sean DuBois
de2fb09778
Add support for receiving audio
...
Update gstreamer-receive to create pipelines for each input.
Currently we don't allow the user to pass in what codecs they support and we don't
take into account the offer. The API will need to be updated to catch
both these signaling errors. The user will pass a slice of support
codecs.
2018-07-01 02:04:47 -07:00
Sean DuBois
5bf9d5af34
Add ICE connection state change notification and timeouts
2018-06-30 02:57:47 -07:00
Sean DuBois
d46382e382
Call RTCPeerConnection.Ontrack with a new goroutine
...
Every implementation should do this anyway. Also
new users might not understand and block all events for
RTCPeerConnections
2018-06-13 00:03:08 -07:00
Sean DuBois
c7ca757fa8
Change from Media -> Track
...
We expect single tracks, so use proper terminology
2018-06-12 23:59:56 -07:00
Sean DuBois
ddbb6c8ba8
Fix all golint errors
2018-06-12 22:24:52 -07:00
Sean DuBois
c21bc319d2
Set directions on channels
2018-06-12 21:25:49 -07:00
Sean DuBois
9e72c2913e
Fix errcheck warnings
2018-06-12 01:13:09 -07:00
Sean DuBois
c7a6caa462
Finish IVF writer
2018-06-10 19:01:53 -07:00
Sean DuBois
fd96da48ea
Add save-to-disk example
...
Currently the constructed IVF don't work, but everything saves properly.
Hopefully off-by-one somewhere
2018-06-10 17:01:14 -07:00
Sean DuBois
279a786207
Refactor to match WebRTC Native API
2018-06-10 01:18:02 -07:00