mirror of
https://github.com/aler9/gortsplib
synced 2025-09-27 03:25:52 +08:00
merge format and formatdecenc into formats (#222)
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"github.com/pion/rtcp"
|
||||
"github.com/pion/rtp"
|
||||
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/format"
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/formats"
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/rtcpreceiver"
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/rtcpsender"
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/rtpreorderer"
|
||||
@@ -15,14 +15,14 @@ import (
|
||||
type clientFormat struct {
|
||||
c *Client
|
||||
cm *clientMedia
|
||||
format format.Format
|
||||
format formats.Format
|
||||
udpReorderer *rtpreorderer.Reorderer // play
|
||||
udpRTCPReceiver *rtcpreceiver.RTCPReceiver // play
|
||||
rtcpSender *rtcpsender.RTCPSender // record
|
||||
onPacketRTP func(*rtp.Packet)
|
||||
}
|
||||
|
||||
func newClientFormat(cm *clientMedia, forma format.Format) *clientFormat {
|
||||
func newClientFormat(cm *clientMedia, forma formats.Format) *clientFormat {
|
||||
return &clientFormat{
|
||||
c: cm.c,
|
||||
cm: cm,
|
||||
|
Reference in New Issue
Block a user