go2rtc
go2rtc copied to clipboard
docs(schema): add descriptions for configuration properties in schema
Why did you swap the keys? This resulted in a lot of unnecessary changes to the file. Now it's hard to compare.
Keys are sorted by alphabet now
Or can you suggest some other logical option for organizing keys?
There wasn't any particular logic there. It's just that now it's very hard to compare before and after.
There wasn't any particular logic there. It's just that now it's very hard to compare before and after.
Changes except for swapping schema blocks, moving to a type from inline, and syntactic corrections.
Definitions Section
- Field listen:
• Added description: "Specifies the address and port on which the server
will listen for incoming connections." - Field log_level:
• Added description: "Defines the logging level for different components."
Properties Section
API Configuration
- Added description: "Configuration for the API server."
- base_path:
• Added description: "Base path for the API endpoints." - listen:
• Added description: "Specifies the address and port on which the API
server will listen." - origin:
• Added description: "Allowed origin for CORS. Use '*' to allow all
origins." - password:
• Added description: "Password for API authentication." - static_dir:
• Added description: "Directory for serving static files." - tls_cert:
• Added description: "TLS certificate file." - tls_key:
• Added description: "TLS private key file." - tls_listen:
• Added description: "Specifies the address and port for TLS connections." - unix_listen:
• Added description: "Specifies the Unix socket on which the server will
listen." - username:
• Added description: "Username for API authentication."
FFmpeg Configuration
- Added description: "Configuration for FFmpeg integration."
- bin:
• Added description: "Path to the FFmpeg binary."
Home Assistant Configuration (hass)
- Added description: "Configuration for Home Assistant integration."
- config:
• Added description: "Path to the Home Assistant configuration directory."
HomeKit Configuration
- Added description: "Configuration for HomeKit integration."
- device_id:
• Added description: "Device ID for the HomeKit device." - device_private:
• Added description: "Private key for the HomeKit device." - name:
• Added description: "Name of the HomeKit device." - pairings:
• Added description: "List of paired devices." - pin:
• Added description: "PIN for pairing with HomeKit devices."
Logging Configuration
- Added description: "Configuration for logging."
- exec:
• Added description: "Log level for exec module. Value 'debug' will print stderr." - ffmpeg:
• Added description: "Log level for FFmpeg. Will only be displayed with
'exec: debug' setting." - format:
• Added description: "Format of the logs. Can be 'color', 'json', or
'text'." - level:
• Added description: "Default log level for all components." - output:
• Added description: "Output destination for the logs. Can be 'stdout',
'stderr', or a file path." - time:
• Added description: "Timestamp format for the logs."
Ngrok Configuration
- Added description: "Configuration for ngrok integration for external
access." - command:
• Added description: "Command to run ngrok."
Publishing Configuration
- Added description: "Configuration for publishing streams to external
services." - additionalProperties:
• Added description: "URL for publishing the stream."
RTMP Configuration
- Added description: "Configuration for RTMP server."
- listen:
• Added description: "Specifies the address and port for RTMP
connections."
RTSP Configuration
- Added description: "Configuration for RTSP server."
- default_query:
• Added description: "Default query parameters for RTSP streams." - listen:
• Added description: "Specifies the address and port for RTSP
connections." - password:
• Added description: "Password for RTSP authentication." - pkt_size:
• Added description: "Packet size for RTSP streams." - username:
• Added description: "Username for RTSP authentication."
SRTP Configuration
- Added description: "Configuration for SRTP server for HomeKit."
- listen:
• Added description: "Specifies the address and port for SRTP
connections."
Streams Configuration
- Added description: "Configuration for stream sources."
- additionalProperties:
• Added description: "Source URL or configuration for the stream."
WebRTC Configuration
- Added description: "Configuration for WebRTC server."
- candidates:
• Added description: "List of additional host candidates for WebRTC
connections." - filters:
• Added description: "Filters for auto discovery logic in WebRTC." - ice_servers:
• Added description: "List of STUN and TURN servers for WebRTC." - listen:
• Added description: "Specifies the address and port for WebRTC
connections."
WebTorrent Configuration
- Added description: "Configuration for WebTorrent integration."
- shares:
• Added description: "Configuration for sharing torrents." - trackers:
• Added description: "List of WebTorrent trackers."
Overall File Metadata
- $schema remains unchanged.
- Title changed to "go2rtc"
- Type remains "object"