revid/config/config.go: fixed constant names in comments for Input and Outputs fields of Config

This commit is contained in:
Saxon 2019-11-06 21:26:39 +10:30
parent 61b1059205
commit 9314e0d32e
1 changed files with 8 additions and 8 deletions

View File

@ -169,13 +169,13 @@ type Config struct {
// Input defines the input data source.
//
// Valid values are defined by enums:
// Raspivid:
// InputRaspivid:
// Read data from a Raspberry Pi Camera.
// V4l:
// InputV4l:
// Read from webcam.
// File:
// InputFile:
// Location must be specified in InputPath field.
// RTSP:
// InputRTSP:
// CameraIP should also be defined.
Input uint8
@ -187,16 +187,16 @@ type Config struct {
// Outputs define the outputs we wish to output data too.
//
// Valid outputs are defined by enums:
// File:
// OutputFile:
// Location must be defined by the OutputPath field. MPEG-TS packetization
// is used.
// HTTP:
// OutputHTTP:
// Destination is defined by the sh field located in /etc/netsender.conf.
// MPEGT-TS packetization is used.
// RTMP:
// OutputRTMP:
// Destination URL must be defined in the RtmpUrl field. FLV packetization
// is used.
// RTP:
// OutputRTP:
// Destination is defined by RtpAddr field, otherwise it will default to
// localhost:6970. MPEGT-TS packetization is used.
Outputs []uint8