mirror of
https://github.com/livekit/livekit.git
synced 2026-04-07 16:25:40 +00:00
* WIP commit * WIP commit * fix test * FPS for VP9 * WIP commit * test changes * WIP commit * h264 * codec munger * forwarder state * clean up a bit * dd interface * WIP commit * WIP commit * WIP commit * WIP commit * more TODO notes * overshoot interface * clean up * clean up isTemporalSupported * wait for key frame to resume * clean up VP8 payload descriptor stuff * temporal layer selector * comment out vp9 and av1 * space * fix test compile * append bytes * fix tests * fix test
35 lines
664 B
Go
35 lines
664 B
Go
package codecmunger
|
|
|
|
import (
|
|
"github.com/livekit/livekit-server/pkg/sfu/buffer"
|
|
"github.com/livekit/protocol/logger"
|
|
)
|
|
|
|
type Null struct {
|
|
}
|
|
|
|
func NewNull(_logger logger.Logger) *Null {
|
|
return &Null{}
|
|
}
|
|
|
|
func (n *Null) GetState() interface{} {
|
|
return nil
|
|
}
|
|
|
|
func (n *Null) SeedState(_state interface{}) {
|
|
}
|
|
|
|
func (n *Null) SetLast(_extPkt *buffer.ExtPacket) {
|
|
}
|
|
|
|
func (n *Null) UpdateOffsets(_extPkt *buffer.ExtPacket) {
|
|
}
|
|
|
|
func (n *Null) UpdateAndGet(_extPkt *buffer.ExtPacket, snOutOfOrder bool, snHasGap bool, maxTemporal int32) ([]byte, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (n *Null) UpdateAndGetPadding(newPicture bool) ([]byte, error) {
|
|
return nil, nil
|
|
}
|