mirror of https://bitbucket.org/ausocean/av.git
updating code
This commit is contained in:
parent
f40d77ea48
commit
585ddca663
|
@ -211,7 +211,7 @@ func (r *revidInst) Log(logType, m string) {
|
||||||
if r.config.Logger != nil {
|
if r.config.Logger != nil {
|
||||||
r.config.Logger.Log(logType, m)
|
r.config.Logger.Log(logType, m)
|
||||||
} else {
|
} else {
|
||||||
fmt.Println(logType + ": " + m)
|
// fmt.Println(logType + ": " + m)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
BIN
testDriver
BIN
testDriver
Binary file not shown.
|
@ -7,6 +7,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func main(){
|
func main(){
|
||||||
|
time.Sleep(30*time.Second)
|
||||||
config := revid.Config{
|
config := revid.Config{
|
||||||
Input: revid.Raspivid,
|
Input: revid.Raspivid,
|
||||||
Output: revid.Rtmp,
|
Output: revid.Rtmp,
|
||||||
|
|
Loading…
Reference in New Issue