David Zhao
e5c8c659ca
Improve MediaEngine codec matching
...
Implement more sophisticated matching to prefer exact
matches over partial ones.
2021-03-04 09:08:59 -08:00
mission-liao
8474033059
Fix updateHeaderExtension for cloned MediaEngine
...
It addresses the issue that unable to updateHeaderExtension for cloned
MediaEngine, which is resulted from previous commit:
c8b7aa386a
2021-02-17 18:10:19 +08:00
adwpc
7069c5dc05
Fix register the same codec
...
Otherwise addTransceiverSDP will add duplicate codec sdp
2021-02-16 15:12:34 -08:00
Sean DuBois
24f350c926
Safari's codec matching requires video be upcased
...
Upcase H264, VP8 and VP9. Otherwise Safari doesn't recognize those
codecs.
Resolves pion/example-webrtc-applications#89
2021-02-11 14:05:04 -08:00
Sean DuBois
b5fa979c08
Don't enable RID/MID Extension Headers by default
...
Chrome is failing to signaling if the remote peer offers RID/MID so
disabling by default.
Relates to pion/example-webrtc-applications#87
2021-02-09 14:01:10 -08:00
tarrencev
5ee9a316a9
Export mime types
...
Export mime types from media enginer for matching
2020-12-06 00:58:06 -05:00
Sean DuBois
3d9a7ede1a
Allow extensions to be configured with direction
...
RegisterHeaderExtension now allows users to enable headers depending on
the type of transceiver that was created.
Also expose GetParameters on RTPSender and RTPReceiver
Co-authored-by: OrlandoCo <luisorlando.co@gmail.com >
Resolves #1554
2020-12-04 11:52:48 -08:00
Adam Kiss
5bbc84e404
Implement Interceptors
...
Provide API so that handling around RTP can be easily defined by the
user. See the design doc here[0]
[0] https://github.com/pion/webrtc-v3-design/issues/34
2020-11-26 11:23:19 -08:00
Sean DuBois
7edfb701e0
New Track API
...
The Pion WebRTC API has been dramatically redesigned. The design docs
are located here [0]
You can also read the release notes [1] on how to migrate your
application.
[0] https://github.com/pion/webrtc-v3-design
[1] https://github.com/pion/webrtc/wiki/Release-WebRTC@v3.0.0
2020-11-15 09:20:47 -08:00
rahulnakre
4c1440c04c
Make getCodecSDP case insensitive
...
EqualFold to compare codec names in a case
insensitive manner
Fixes #1442
2020-10-06 19:23:18 -07:00
Sean DuBois
2155a7d703
Move candidate parsing to pion/ice
...
Instead of having logic in pion/webrtc and pion/sdp move all logic to
pion/ice. Users of pion/ice don't want to import these packages to use
basic pion/ice functionality.
2020-09-13 00:05:09 -07:00
Roman Romanenko
13adbb503e
Tests
...
added simple test cases;
2020-06-18 11:46:32 -07:00
Sean DuBois
846257b1a1
Don't upcase opus when adding to SDP
...
When making MediaEngine case-insensitive in 20f2d18
Opus was upcased when adding to SDP. This returns it
to what it was before
Resolves #1078
2020-03-14 00:03:55 -07:00
Sean DuBois
f1fbbe7af8
Revert PopulateFromSDP RTCPFeedback support
...
This causes users who use PopulateFromSDP to declare
they support transport-cc. Since they don't send receiver
reports. They will get a degraded experience unexpectedly.
Partially revert ce8de088e7
.
Resolves #1026
2020-02-13 20:22:19 -08:00
Luke
ce8de088e7
Add RTCPFeedback support to PopulateFromSDP
...
Handles the newly added RTCPFeedback information from pion/sdp
2020-02-05 18:07:59 -05:00
Luke S
20f2d1899e
Case-insensitive media subtype check
...
Updates mediaengine according to [1] and [2].
[1] https://tools.ietf.org/html/rfc4855#section-3
[2] https://tools.ietf.org/html/rfc4288#section-4.2
2020-01-21 13:07:39 -08:00
Atsushi Watanabe
27d9bbb7bd
Upgrade golangci-lint to 1.19.1
...
Fix whitespace and stylecheck errors.
Disable godox.
2020-01-11 22:59:33 -08:00
Sean DuBois
7f53f4b7a8
Fix PopulateFromSDP with Application MediaSection
...
PopulateFromSDP did not properly handle Offers with Datachannels, now
we only parse a MediaSection that has a name of 'audio' or 'video'
Resolves #953
2019-12-20 01:17:21 -08:00
Sean DuBois
d1236c8c80
Add G711 Support
...
Resolves #851
2019-10-10 13:13:25 -07:00
Hugo Arregui
6997cc792c
Linter fixes
...
Disable funlen and some fixes
Co-authored-by: Sean DuBois <sean@siobud.com >
2019-09-10 21:48:25 -07:00
Sean DuBois
1cdfc10c84
Mass replace pions -> pion
...
Pions organization was renamed to pion
2019-04-04 15:32:03 -07:00
Alex Browne
012a7ea686
Improve build tags for Wasm
...
Fixes #515
This includes a few small and closely related changes:
1. All occurrences of the build tag `+build js` have been changed to the
more precise `+build js,wasm`. This will exclude the files from being
included by third-party compilers like GopherJS, with which they are
incompatible.
2. Some files which are incompatible with JavaScript/Wasm now have the
correct build tag (`+build -js`) so they will be excluded from Wasm
builds.
3. Some configuration options which are incompatible with
JavaScript/Wasm (or at least the current bindings) will now no longer
appear in Wasm builds. This meant creating new files with new struct
definitions and the appropriate build tags.
2019-03-22 10:48:03 -07:00
Max Hawkins
9cba54cfd0
Upgrade to pions/sdp v2
...
Relates to #417
2019-02-18 11:47:05 -08:00
backkem
db15e20c54
API: Expose SettingEngine
...
Enable passing custom settings and media engine to an API.
2019-01-24 20:35:49 +01:00
Woodrow Douglass
3aee69ea60
Add some tests for MediaEngine
...
Also, centralize the error object returned
from media engine codec searches
Relates to #333
2019-01-23 16:21:13 +01:00