Commit Graph

63 Commits

Author SHA1 Message Date
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