Commit Graph

317 Commits

Author SHA1 Message Date
Lei Kang 5a19127623 add return error code 2025-09-17 16:50:52 -07:00
Lei Kang 8ca6903676 add null pointer from C 2025-09-17 16:50:52 -07:00
Lei Kang de517d790b wrap vpx_image into a struct 2025-09-17 16:50:52 -07:00
Lei Kang 81cfc047d5 add vpx decoder 2025-09-17 16:50:52 -07:00
philipch07 c0721738c4 Apply go modernize (#650) 2025-09-14 21:55:37 -04:00
Leo (Lei) Kang 6047a32ea0 [VPX] vpx dynamic encoding (#647)
* Add vp8 decoder and dynamic vp8 decoding

* Add QPController

* change parameters into const

* move decoder into another PR

* use explicit parameter name
2025-09-04 14:33:07 -07:00
Leo (Lei) Kang 60bf158757 [CODEC] Add encoder bitrate tracker (#646)
add encoder bitrate tracker
2025-09-03 15:55:37 -07:00
Jingyang Kang 84ccb15157 Align H265 payloadType in NewRTPH265Codec with RegisterDefaultCodecs (#631) 2025-06-01 23:37:30 +08:00
Kyle 20e8c50735 Implement bitrate controller in vpx and h264 codecs (#467)
Add bitrate control to vpx and h264 encoders

Co-authored-by: Jingyang Kang <3drxkjy@gmail.com>
2025-04-11 12:05:01 +08:00
代码人生 cd5f8eb43a set bitrate for openh264 (#566)
* Added the set bitrate function for openh264

* add examples

* Format

---------

Co-authored-by: Jingyang Kang <3drxkjy@gmail.com>
2025-04-06 20:47:23 +08:00
Jingyang Kang 5cad3f1b41 Feat/add helper function for av1 and h265 codec (#611)
* bump deps version

* Add NewRTPAV1Codec

* fix comment

* Update SDPFmtpLine for RTPAV1Codec

* Add helper function for h265 as well
2025-03-10 07:25:25 -07:00
Yohan Totting ce9b412d0e Fix the VPX encoder is not properly handling the frame timestamp (#606)
* Fix the VPX encoder is not properly handling the frame timestamp

* Apply suggestions from code review

Co-authored-by: Atsushi Watanabe <atsushi.w@ieee.org>

---------

Co-authored-by: Atsushi Watanabe <atsushi.w@ieee.org>
2025-02-14 12:37:53 +07:00
Jingyang Kang 4027590fcb Migrate to pion/webrtc/v4 (#592) 2024-12-10 14:12:02 +09:00
Sean Pollock 8fb8d65764 Add webcam close to linux camera discover (#568)
Add webcam close to linux discover
2024-04-30 10:14:26 -04:00
qiulin ae63fa65bf Remove Windows camera cpp inline function (#569)
Co-authored-by: Qiulin Li <liqiulin@outlook.com>
2024-04-29 09:54:45 -04:00
sean yu a9046e6ac1 Add fix that strips unexpected padding for NV12 frames (#556) 2024-03-01 12:23:05 -05:00
Eric Daniels 2bc011f39f Update malgo to v0.11.21 for a macOS microphone fix (#551) 2024-01-24 09:48:40 -05:00
hexbabe 09b497727d Removed 'unreachable' else initialization and replaced with error indicating a wtf 2023-10-31 14:48:49 -04:00
hexbabe 7ae82fbda7 Remove old unnecessary macro 2023-10-31 14:48:49 -04:00
hexbabe 4477898296 Use new macro and also use @ available 2023-10-31 14:48:49 -04:00
hexbabe d5d41e9ca5 Switch to what I think is the correct preprocessor method 2023-10-31 14:48:49 -04:00
hexbabe 9fb24fb036 Use identifier conditional compilation (hackier) but might work and is still decently readable 2023-10-31 14:48:49 -04:00
hexbabe 1cd1b136cc This @available compile time directive really should work... confused 2023-10-31 14:48:49 -04:00
hexbabe 08fb3e8a48 Change code conditional to conditional compilation directive to avoid CI failure 2023-10-31 14:48:49 -04:00
hexbabe 4aae1bc842 Add conditional to choose types based on pre vs. post sonoma update 2023-10-31 14:48:49 -04:00
seanavery 3c9fee958e Add manager clearing mechanism 2023-10-17 16:41:33 -04:00
Valentin Cocaud 2882fd42d5 use thread safe atomic bool 2023-09-20 15:46:33 -04:00
Valentin Cocaud 694b4abd83 fix ForceKeyFrame signature for VP8 2023-09-20 15:46:33 -04:00
Valentin Cocaud afb2f78e3c force key frame implementation for vaapi 2023-09-20 15:46:33 -04:00
seanavery 03c44ee803 Remove extra comment 2023-07-24 12:07:38 -04:00
seanavery dad145ef11 Add props even if framerate is not supported 2023-07-24 12:07:38 -04:00
Atsushi Watanabe 72c1d7bb89 Fix invalid memory access in ScalerFastBoxSampling (#513)
[src-px]->[dst-px] of 4x1px to 2x1px scaling was
  0->0, 1->1, 2->1, 3->2(out of bounds)
Fix it to be
  0->0, 1->0, 2->1, 3->1
2023-07-05 12:01:40 +09:00
aljanabim 09f6bdeac4 Added Name in driver.Info to Microphone driver 2023-06-12 11:41:34 +09:00
Ryan Boring e64f0d8697 Replace YUY2 with YUYV for Mac 2023-06-05 12:37:57 -04:00
Ryan Boring 36f908c6e2 Fix stale links 2023-06-05 12:37:57 -04:00
Ryan Boring 9987e01d3f Add YUYV to supported video formats 2023-06-05 12:37:57 -04:00
seanavery 138499b52d Support fps props for linux cams 2023-05-16 14:25:02 -04:00
Clyde Bazile cadb155755 update test 2023-04-24 11:14:58 -04:00
Clyde Bazile 2372f55064 comments: var block + interface-less error 2023-04-24 11:14:58 -04:00
Clyde Bazile 8568b1b20d do not change other classes 2023-04-24 11:14:58 -04:00
Steffen Vogel dffaf0fcb4 Harmonize RFC section and links 2023-04-18 12:12:53 +02:00
Kim Mishra 52a080b55a add link to comment 2023-04-17 23:51:01 -04:00
Kim Mishra c2fe66c579 t.Errorf -> t.Fatalf 2023-04-17 23:51:01 -04:00
Kim Mishra ac50077e77 addressing PR reviews 2023-04-17 23:51:01 -04:00
kim-mishra 2f5c61e1f3 Update compressed.go 2023-04-17 23:51:01 -04:00
Kim Mishra 0715258726 check if error is format error 2023-04-17 23:51:01 -04:00
Kim Mishra bccff100e5 addressing PR reviews 2023-04-17 23:51:01 -04:00
Kim Mishra 0507093a59 check if huffman table error occurred, and if so add in necessary data 2023-04-17 23:51:01 -04:00
Abdarrakhman Akhmetgali bf290b026c fix i422ToI420 calculation, add mock FastBoxSampling 2023-04-15 08:19:04 -04:00
Abdarrakhman Akhmetgali 0dc4f43c94 fix cLen in nocgo implementation of i444Toi420 2023-04-15 08:19:04 -04:00