rename rtpcodecs into formatdecenc

This commit is contained in:
aler9
2022-12-11 22:56:59 +01:00
parent 256877086b
commit 0c13440721
50 changed files with 12 additions and 12 deletions

View File

@@ -10,8 +10,8 @@ import (
"github.com/aler9/gortsplib/v2" "github.com/aler9/gortsplib/v2"
"github.com/aler9/gortsplib/v2/pkg/base" "github.com/aler9/gortsplib/v2/pkg/base"
"github.com/aler9/gortsplib/v2/pkg/format" "github.com/aler9/gortsplib/v2/pkg/format"
"github.com/aler9/gortsplib/v2/pkg/formatdecenc/rtph264"
"github.com/aler9/gortsplib/v2/pkg/media" "github.com/aler9/gortsplib/v2/pkg/media"
"github.com/aler9/gortsplib/v2/pkg/rtpcodecs/rtph264"
) )
// This example shows how to // This example shows how to

View File

@@ -6,7 +6,7 @@ import (
"github.com/pion/rtp" "github.com/pion/rtp"
"github.com/aler9/gortsplib/v2/pkg/rtpcodecs/rtpsimpleaudio" "github.com/aler9/gortsplib/v2/pkg/formatdecenc/rtpsimpleaudio"
) )
// G711 is a G711 format, encoded with mu-law or A-law. // G711 is a G711 format, encoded with mu-law or A-law.

View File

@@ -6,7 +6,7 @@ import (
"github.com/pion/rtp" "github.com/pion/rtp"
"github.com/aler9/gortsplib/v2/pkg/rtpcodecs/rtpsimpleaudio" "github.com/aler9/gortsplib/v2/pkg/formatdecenc/rtpsimpleaudio"
) )
// G722 is a G722 format. // G722 is a G722 format.

View File

@@ -10,8 +10,8 @@ import (
"github.com/pion/rtp" "github.com/pion/rtp"
"github.com/aler9/gortsplib/v2/pkg/formatdecenc/rtph264"
"github.com/aler9/gortsplib/v2/pkg/h264" "github.com/aler9/gortsplib/v2/pkg/h264"
"github.com/aler9/gortsplib/v2/pkg/rtpcodecs/rtph264"
) )
// check whether a RTP/H264 packet contains a IDR, without decoding the packet. // check whether a RTP/H264 packet contains a IDR, without decoding the packet.

View File

@@ -9,7 +9,7 @@ import (
"github.com/pion/rtp" "github.com/pion/rtp"
"github.com/aler9/gortsplib/v2/pkg/rtpcodecs/rtph265" "github.com/aler9/gortsplib/v2/pkg/formatdecenc/rtph265"
) )
// H265 is a H265 format. // H265 is a H265 format.

View File

@@ -7,7 +7,7 @@ import (
"github.com/pion/rtp" "github.com/pion/rtp"
"github.com/aler9/gortsplib/v2/pkg/rtpcodecs/rtplpcm" "github.com/aler9/gortsplib/v2/pkg/formatdecenc/rtplpcm"
) )
// LPCM is an uncompressed, Linear PCM format. // LPCM is an uncompressed, Linear PCM format.

View File

@@ -8,8 +8,8 @@ import (
"github.com/pion/rtp" "github.com/pion/rtp"
"github.com/aler9/gortsplib/v2/pkg/formatdecenc/rtpmpeg4audio"
"github.com/aler9/gortsplib/v2/pkg/mpeg4audio" "github.com/aler9/gortsplib/v2/pkg/mpeg4audio"
"github.com/aler9/gortsplib/v2/pkg/rtpcodecs/rtpmpeg4audio"
) )
// MPEG4Audio is a MPEG-4 audio format. // MPEG4Audio is a MPEG-4 audio format.

View File

@@ -7,7 +7,7 @@ import (
"github.com/pion/rtp" "github.com/pion/rtp"
"github.com/aler9/gortsplib/v2/pkg/rtpcodecs/rtpsimpleaudio" "github.com/aler9/gortsplib/v2/pkg/formatdecenc/rtpsimpleaudio"
) )
// Opus is a Opus format. // Opus is a Opus format.

View File

@@ -7,7 +7,7 @@ import (
"github.com/pion/rtp" "github.com/pion/rtp"
"github.com/aler9/gortsplib/v2/pkg/rtpcodecs/rtpvp8" "github.com/aler9/gortsplib/v2/pkg/formatdecenc/rtpvp8"
) )
// VP8 is a VP8 format. // VP8 is a VP8 format.

View File

@@ -7,7 +7,7 @@ import (
"github.com/pion/rtp" "github.com/pion/rtp"
"github.com/aler9/gortsplib/v2/pkg/rtpcodecs/rtpvp9" "github.com/aler9/gortsplib/v2/pkg/formatdecenc/rtpvp9"
) )
// VP9 is a VP9 format. // VP9 is a VP9 format.

View File

@@ -0,0 +1,2 @@
// Package formatdecenc contains decoders and encoders to decode and encode RTP packets.
package formatdecenc

View File

@@ -1,2 +0,0 @@
// Package rtpcodecs contains utilities that convert RTP packets into codec-specific elements and vice versa.
package rtpcodecs