Commit Graph

15 Commits

Author SHA1 Message Date
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
bfe324e8c0 Fix go lint warnings 2018-06-30 03:05:58 -07:00
Sean DuBois
5bf9d5af34 Add ICE connection state change notification and timeouts 2018-06-30 02:57:47 -07:00
Sean DuBois
85a637dd9b Create new type 'Port' which maintains the state of a UDP listener 2018-06-20 01:06:36 -07:00
John Bradley
44193b6fc5 Add conn back 2018-06-20 01:37:21 -05:00
John Bradley
6dd7ce0810 Remove set control message for webrtc 2018-06-20 01:29:36 -05:00
Sean DuBois
01681edd51 Make copy of RTP packets before sharing
Before when using libsrtp it copied data for us. Now
that we decrypt in place we need to copy the buffer, the
buffer we are using to recieve UDP packets can't be shared outside
network loop
2018-06-18 01:34:26 -07:00
Sean DuBois
bec4f9ccc9 Port SRTP code from libsrtp to native Go 2018-06-17 00:37:20 -07:00
Sean DuBois
67be166c3e Start refactoring SRTP pkg
Pass in *rtp.Packet with encrypted payload. In the future SRTP
API will just modify the payload (instead of copying)
2018-06-14 15:41:29 -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