mirror of https://bitbucket.org/ausocean/av.git
revid-cli: using MpegtsRtp to representation packetization under mpegtsrtp packetization
This commit is contained in:
parent
589ec15259
commit
f53c866311
|
@ -83,6 +83,7 @@ const (
|
|||
Rtmp
|
||||
FfmpegRtmp
|
||||
Udp
|
||||
MpegtsRtp
|
||||
Rtp
|
||||
)
|
||||
|
||||
|
|
|
@ -278,7 +278,7 @@ func (r *Revid) reset(config Config) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
case Rtp:
|
||||
case MpegtsRtp:
|
||||
r.config.Logger.Log(smartlogger.Info, pkg+"using RTP packetisation")
|
||||
frameRate, _ := strconv.Atoi(r.config.FrameRate)
|
||||
r.encoder = rtp.NewEncoder(&r.packer, frameRate)
|
||||
|
|
Loading…
Reference in New Issue