Commit Graph

22 Commits

Author SHA1 Message Date
Atsushi Watanabe
ecff5e63a5 prop: support ranged/exact/oneof constraints 2020-05-24 10:26:16 +09:00
Lukas Herman
4cc142de3b Update comments 2020-03-21 07:45:10 -04:00
Lukas Herman
c9b90fb233 Redesign codec
Resolves https://github.com/pion/mediadevices/issues/114

* Remove codec registrar
* Completely redesign how codec is being discovered, tuned, and built
* Update examples
* Update unit tests
2020-03-21 07:45:10 -04:00
Lukas Herman
59b451a38f Update example to add x264 2020-03-12 08:49:10 -04:00
Atsushi Watanabe
cad9f41047 Add instruction to use dummy adapters in simple example
Co-authored-by: Lukas Herman <lherman.cs@gmail.com>
2020-02-15 15:52:10 +09:00
Lukas Herman
c779f9603a Add comments for vpx imports 2020-02-14 21:44:38 -08:00
Lukas Herman
ec951025fb Remove default adapters
* Update examples to import adapters explicitly
* Remove default adapters to be imported implicitly
2020-02-14 21:44:38 -08:00
Atsushi Watanabe
36375b5294 Use frame format in media selection 2020-02-13 19:41:33 -08:00
Atsushi Watanabe
0d0c013442 Use AddTransceiverFromTrack in examples
Instead of AddTrack.
2020-02-13 19:37:39 -08:00
Lukas Herman
ec310e566b Move Codec from MediaTrackConstraints to prop.Codec 2020-02-10 20:07:41 -08:00
Atsushi Watanabe
00bcadc238 Add codec property
Add codec property, which stores general encoding parameters,
to MediaTrackConstraints.
2020-02-10 18:45:34 -08:00
Atsushi Watanabe
1e868fc3e3 Add OnEnded handler
In Web API, MediaStreamTrack.ended event is fired and
MediaStreamTrack.onended handler is called on device error.
This commit adds same way to handle errors.
2020-02-10 17:43:31 -08:00
Atsushi Watanabe
e4da8fae14 Add Firefox and VP8 support to the simple example 2020-02-08 22:46:48 -08:00
Lukas Herman
aece2b94c6 Refractor, unify some APIs to be more DRY 2020-02-06 22:44:29 -08:00
Lukas Herman
2640f6c1f4 Move all settings to video/audio under io 2020-02-06 22:44:29 -08:00
Lukas Herman
61c0b53c55 Add initial audio support 2020-02-06 22:44:29 -08:00
Lukas Herman
107b8c0a34 Rename h264 to openh264 2020-01-05 22:12:44 -08:00
Lukas Herman
62aef6b8f3 Update codec to be dynamically registered 2020-01-05 22:12:44 -08:00
Lukas Herman
5316a81aec Add some comments for better godoc 2019-12-28 09:39:31 -08:00
Lukas Herman
5679e3c0d7 Add SelectSettings algorithm and Codec to video constraints 2019-12-28 09:39:31 -08:00
Lukas Herman
709e56166f Completely rearchitect the overall project structure 2019-12-25 16:13:37 -08:00
Lukas Herman
b8b30bd7eb Initial commit
Resolves #1
2019-12-04 21:58:39 -08:00