mirror of
https://github.com/pion/mediadevices.git
synced 2025-10-04 00:06:32 +08:00
Rename Encoder/Decoder to VideoEncoder/VideoDecoder
This commit is contained in:
@@ -2,12 +2,12 @@ package codec
|
||||
|
||||
import "image"
|
||||
|
||||
type Encoder interface {
|
||||
type VideoEncoder interface {
|
||||
Encode(img image.Image) ([]byte, error)
|
||||
Close() error
|
||||
}
|
||||
|
||||
type Decoder interface {
|
||||
type VideoDecoder interface {
|
||||
Decode([]byte) (image.Image, error)
|
||||
Close() error
|
||||
}
|
||||
|
Reference in New Issue
Block a user