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
Jingyang Kang
84ccb15157
Align H265 payloadType in NewRTPH265Codec with RegisterDefaultCodecs ( #631 )
2025-06-01 23:37:30 +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
Jingyang Kang
4027590fcb
Migrate to pion/webrtc/v4 ( #592 )
2024-12-10 14:12:02 +09:00
Valentin Cocaud
cd6aaa1393
Force key frame on PLI
...
Also make the ReadCloser an Controllable allows to uncouple
the controller implementation from the encoder.
This is not needed for the 2 codec controller already implemented (openh264 and vpx)
but is more future proof in case it required for other codecs.
2022-07-25 10:51:35 -04:00
Atsushi Watanabe
d71b72c64d
Fix audio codec latency handling ( #317 )
...
To avoid buffering audio data multiple times, remove buffer from
malgo audio driver and pass expected codec latency as a codec
parameter.
2021-03-25 14:09:57 -07:00
Lukas Herman
d84d0a3b0c
Upgrade pion/webrtc from v2 to v3
...
With webrtc v3, users no longer need to bind or unbind manually anymore.
Changes:
* Switch from webrtc.RTPCodec to webrtc.RTPCodecParameters
* Fix broken examples after the upgrade
* NewRTPReader now accepts ssrc as a parameter
* Track interface now fulfills webrtc.TrackLocal requirements
2020-12-18 14:33:42 -05:00
Lukas Herman
559c6a13a1
Update readers to be memory pool friendly
2020-10-29 00:04:12 -07:00
Lukas Herman
f4a4edcabd
Update codec.Reader interface to return byte slice
2020-10-29 04:48:47 +00:00
Lukas Herman
9dcfaf1c1e
Switch from type alias to embedded struct
...
Embedded struct provides more future compatibility
2020-10-11 23:32:58 -04:00
Lukas Herman
abdd96e6b2
Replace Name with RTPCodec in codec builder
...
Allowing users to implement RTPCodec will give users freedom to have
a custom encoder with custom RTP payload.
2020-10-08 11:33:38 -04:00
Lukas Herman
5703fd7e4b
Remove webrtc dependency in codec and its sub packages
2020-10-05 22:23:52 -04:00
Lukas Herman
354f2710b5
Update from io.ReadCloser to codec.ReadCloser
2020-03-25 23:21:25 -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
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
Lukas Herman
2640f6c1f4
Move all settings to video/audio under io
2020-02-06 22:44:29 -08:00
Lukas Herman
e1365d8811
Convert video APIs to use video.Reader
2020-02-06 22:44:29 -08:00
Lukas Herman
3671db8e62
Remove videoDecoder
2020-02-06 22:44:29 -08:00
Lukas Herman
9466cf89fc
Update audio APIs to use audio.Reader instead
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
62aef6b8f3
Update codec to be dynamically registered
2020-01-05 22:12:44 -08:00
Lukas Herman
46b2c15bcf
Rename Encoder/Decoder to VideoEncoder/VideoDecoder
2020-01-05 22:12:44 -08:00
Lukas Herman
cf2a3436fe
Merge github.com/pion/codec
2020-01-05 22:12:44 -08:00