Commit Graph

12 Commits

Author SHA1 Message Date
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
chenkaiC4
2b7ab19a94 fix golangci linter 2018-08-16 01:26:58 -07:00
Sean DuBois
63e6c54cd4 Receiving video from FireFox (using gstreamer-receive) works
The following fixes were needed to make this happen. All of these things
are valid, I just made assumptions/used Chromium default values.

* Drop the sessionId to 32bits (from 64)
* When generating a response use the same mid values as the offer
* Use the localDescription to map a payloadType to video codec
2018-08-14 14:32:15 -07:00
Sean DuBois
938e490c39 Fix all lint errors, move SDP code to proper package 2018-08-11 13:56:28 -07:00
Sean DuBois
1be721e5fa ICE works again, with proper agent implementation
Candidates are now generated with real priority, and actually pay
attention to the inbound messages.

Next we just need to pluck use-candidate + ice-controlling from the
messages and we will have a full-ice implementation (but we are not
controlling)

We then need to add timers to alert when the peer goes away OR when we
need to send again.
2018-08-11 13:56:28 -07:00
Sean DuBois
0c08a67e20 Start full ICE implementation for #23 2018-08-11 13:56:28 -07:00
backkem
ab6910899c api: support a custom media engine 2018-07-16 14:20:18 -07:00
backkem
7f682d2d2e api: match WebRTC api more closely 2018-07-16 14:20:18 -07:00
Raphael Randschau
791438e3cc implement STUN support 2018-07-11 21:58:49 -07:00
Raphael Randschau
5bec5cf115 extract RTCConfiguration into separate file 2018-07-06 15:23:40 -07:00