mirror of https://bitbucket.org/ausocean/av.git
Merged in add-missing-audio-stuff (pull request #403)
revid/config: add missing audio related enums to TypeData map Approved-by: Trek Hopton <trek.hopton@gmail.com>
This commit is contained in:
commit
3507474564
|
@ -132,9 +132,13 @@ type Config struct {
|
||||||
// InputV4l:
|
// InputV4l:
|
||||||
// Read from webcam.
|
// Read from webcam.
|
||||||
// InputFile:
|
// InputFile:
|
||||||
|
// Read h.264 bytestream from a file.
|
||||||
// Location must be specified in InputPath field.
|
// Location must be specified in InputPath field.
|
||||||
// InputRTSP:
|
// InputRTSP:
|
||||||
|
// Read from a camera supporting RTSP communication.
|
||||||
// CameraIP should also be defined.
|
// CameraIP should also be defined.
|
||||||
|
// InputAudio:
|
||||||
|
// Read from a ALSA audio source.
|
||||||
Input uint8
|
Input uint8
|
||||||
|
|
||||||
// InputCodec defines the input codec we wish to use, and therefore defines the
|
// InputCodec defines the input codec we wish to use, and therefore defines the
|
||||||
|
@ -301,8 +305,8 @@ var TypeData = map[string]string{
|
||||||
"Height": "uint",
|
"Height": "uint",
|
||||||
"HorizontalFlip": "bool",
|
"HorizontalFlip": "bool",
|
||||||
"HTTPAddress": "string",
|
"HTTPAddress": "string",
|
||||||
"Input": "enum:raspivid,rtsp,v4l,file",
|
"Input": "enum:raspivid,rtsp,v4l,file,audio",
|
||||||
"InputCodec": "enum:H264,MJPEG",
|
"InputCodec": "enum:H264,MJPEG,PCM,ADPCM",
|
||||||
"InputPath": "string",
|
"InputPath": "string",
|
||||||
"logging": "enum:Debug,Info,Warning,Error,Fatal",
|
"logging": "enum:Debug,Info,Warning,Error,Fatal",
|
||||||
"Loop": "bool",
|
"Loop": "bool",
|
||||||
|
|
Loading…
Reference in New Issue