f-fl0
3b2316081e
Update webcam module to set the camera framerate ( #390 )
...
* Update webcam module to set the camera framerate
* Add framerate to property fitness function
* Set framerate to dummy VideoRecord
* Add tests about video constraints
* Set framerate only when a positive value is specified
2022-04-04 14:48:56 +09:00
Lukas Herman
640eeb0cc0
Fix panic when printing non-reference types
2020-10-30 17:50:55 -07:00
Lukas Herman
16ceb45c25
Replace <nil> -> any in prop pretty format
2020-10-30 17:42:07 -07:00
Lukas Herman
30d49e1fd3
Add human friendly string implementation
2020-09-11 12:39:48 -04:00
Lukas Herman
45056e6922
Add IsFloat, IsBigEndian, and IsInterleaved props
...
* Add bool constraint
* Add IsFloat, IsBigEndian, and IsInterleaved properties
2020-06-22 07:40:05 -04:00
Atsushi Watanabe
cce22b117a
prop: compare ChannelCount
2020-06-08 20:43:12 -04:00
Lukas Herman
8d7947b594
Fix invalid constraints merging
2020-06-03 11:36:04 -04:00
Atsushi Watanabe
00eca231a7
Select by DeviceID using StringConstraint
2020-05-24 11:15:29 -04:00
Atsushi Watanabe
27d966611e
prop: add documents
2020-05-24 10:26:16 +09:00
Atsushi Watanabe
ecff5e63a5
prop: support ranged/exact/oneof constraints
2020-05-24 10:26:16 +09: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
Atsushi Watanabe
15951b02b6
Support codec specific parameters
2020-03-07 16:51:17 -05:00
Lukas Herman
e091067e8e
Add support for non-discrete constraints
...
Resolves https://github.com/pion/mediadevices/issues/61
* Add a Merge method in prop
* Replace a manual merge in mediadevices in best property selection
with the new Merge method
2020-02-19 21:07:27 -08:00
Atsushi Watanabe
36375b5294
Use frame format in media selection
2020-02-13 19:41:33 -08:00
Atsushi Watanabe
99af57a42a
Select media with DeviceID property
2020-02-12 22:24:09 -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
Lukas Herman
aece2b94c6
Refractor, unify some APIs to be more DRY
2020-02-06 22:44:29 -08:00