mirror of https://bitbucket.org/ausocean/av.git
revid/inputs.go: using alias avconfig for revid/config package
This commit is contained in:
parent
772c381293
commit
ff54b40bd2
|
@ -44,7 +44,7 @@ import (
|
||||||
"bitbucket.org/ausocean/av/protocol/rtcp"
|
"bitbucket.org/ausocean/av/protocol/rtcp"
|
||||||
"bitbucket.org/ausocean/av/protocol/rtp"
|
"bitbucket.org/ausocean/av/protocol/rtp"
|
||||||
"bitbucket.org/ausocean/av/protocol/rtsp"
|
"bitbucket.org/ausocean/av/protocol/rtsp"
|
||||||
"bitbucket.org/ausocean/av/revid/config"
|
avconfig "bitbucket.org/ausocean/av/revid/config"
|
||||||
"bitbucket.org/ausocean/utils/logger"
|
"bitbucket.org/ausocean/utils/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -208,12 +208,12 @@ func (r *Revid) startRTSPCamera() (func() error, error) {
|
||||||
gvconfig.FrameRate(int(r.cfg.FrameRate)),
|
gvconfig.FrameRate(int(r.cfg.FrameRate)),
|
||||||
gvconfig.VariableBitrate(r.cfg.VBR),
|
gvconfig.VariableBitrate(r.cfg.VBR),
|
||||||
gvconfig.VBRQuality(
|
gvconfig.VBRQuality(
|
||||||
map[config.Quality]gvconfig.Quality{
|
map[avconfig.Quality]gvconfig.Quality{
|
||||||
config.QualityStandard: gvconfig.QualityStandard,
|
avconfig.QualityStandard: gvconfig.QualityStandard,
|
||||||
config.QualityFair: gvconfig.QualityFair,
|
avconfig.QualityFair: gvconfig.QualityFair,
|
||||||
config.QualityGood: gvconfig.QualityGood,
|
avconfig.QualityGood: gvconfig.QualityGood,
|
||||||
config.QualityGreat: gvconfig.QualityGreat,
|
avconfig.QualityGreat: gvconfig.QualityGreat,
|
||||||
config.QualityExcellent: gvconfig.QualityExcellent,
|
avconfig.QualityExcellent: gvconfig.QualityExcellent,
|
||||||
}[r.cfg.VBRQuality],
|
}[r.cfg.VBRQuality],
|
||||||
),
|
),
|
||||||
gvconfig.VBRBitrate(r.cfg.VBRBitrate),
|
gvconfig.VBRBitrate(r.cfg.VBRBitrate),
|
||||||
|
|
Loading…
Reference in New Issue