Raw ↗
+ +
2da5fe7 OpenAVX v0.2.0 - High-performance open-standard IP audio and video transport suite
saifmukhtar · 2026-11-24
json · 185 lines · 6.2 KB
main
1 {
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "$id": "https://raw.githubusercontent.com/saifmukhtar/openavx/main/schema/v1.0.json",
4 "title": "OpenAVX Configuration Schema",
5 "description": "Production configuration schema for the Open Audio-Video eXchange (OpenAVX) media streaming architecture.",
6 "type": "object",
7 "properties": {
8 "$schema": {
9 "type": "string",
10 "description": "URL to the OpenAVX configuration JSON Schema."
11 },
12 "version": {
13 "type": "string",
14 "description": "Schema version string (e.g., '1.0').",
15 "default": "1.0"
16 },
17 "network": {
18 "type": "object",
19 "description": "Network adapter, interface binding, and peer coordination configuration.",
20 "properties": {
21 "bind_ip": {
22 "type": "string",
23 "description": "Explicit local IPv4/IPv6 address or interface to bind TCP and multicast egress (e.g., '10.0.0.50' or 'eth1')."
24 },
25 "bind_address": {
26 "type": "string",
27 "description": "Alias for bind_ip."
28 },
29 "interface": {
30 "type": "string",
31 "description": "Network interface adapter name (e.g., 'eth1', 'enp4s0')."
32 },
33 "discovery_servers": {
34 "description": "List or comma-separated string of discovery/registration server endpoints (host:port).",
35 "oneOf": [
36 { "type": "array", "items": { "type": "string" } },
37 { "type": "string" }
38 ]
39 },
40 "peers": {
41 "description": "List or comma-separated string of explicit unicast peer addresses or hostnames.",
42 "oneOf": [
43 { "type": "array", "items": { "type": "string" } },
44 { "type": "string" }
45 ]
46 }
47 }
48 },
49 "sources": {
50 "type": "object",
51 "description": "Stream publishing, subscription domains, and client limits.",
52 "properties": {
53 "groups": {
54 "description": "List or comma-separated string of announce groups/domains.",
55 "oneOf": [
56 { "type": "array", "items": { "type": "string" } },
57 { "type": "string" }
58 ]
59 },
60 "publish": {
61 "description": "Broadcast channels/groups this endpoint announces to.",
62 "oneOf": [
63 { "type": "array", "items": { "type": "string" } },
64 { "type": "string" }
65 ]
66 },
67 "subscribe": {
68 "description": "Channels/groups this endpoint discovers or subscribes to.",
69 "oneOf": [
70 { "type": "array", "items": { "type": "string" } },
71 { "type": "string" }
72 ]
73 },
74 "max_clients": {
75 "type": "integer",
76 "description": "Maximum simultaneous client connections per sender stream.",
77 "default": 32
78 }
79 }
80 },
81 "transports": {
82 "type": "object",
83 "description": "Transport protocol and layer 3 multicast parameters.",
84 "properties": {
85 "mode": {
86 "type": "string",
87 "description": "Transport mode ('tcp', 'rudp', or 'udp').",
88 "default": "tcp"
89 },
90 "multicast": {
91 "type": "object",
92 "description": "Layer 3 IP multicast transport parameters.",
93 "properties": {
94 "enabled": {
95 "type": "boolean",
96 "description": "Enable IP multicast stream transmission.",
97 "default": false
98 },
99 "ttl": {
100 "type": "integer",
101 "description": "Multicast packet Time-To-Live (hop count).",
102 "minimum": 1,
103 "maximum": 255,
104 "default": 1
105 },
106 "prefix": {
107 "type": "string",
108 "description": "Multicast group address prefix or CIDR block (e.g., '239.255.0.0/16')."
109 },
110 "netmask": {
111 "type": "string",
112 "description": "Subnet netmask for multicast address allocation (e.g., '255.255.0.0')."
113 }
114 }
115 }
116 }
117 },
118 "discovery": {
119 "type": "object",
120 "description": "Discovery and registration endpoints (alias taxonomy).",
121 "properties": {
122 "servers": {
123 "description": "List or comma-separated string of discovery/registration server endpoints (host:port).",
124 "oneOf": [
125 { "type": "array", "items": { "type": "string" } },
126 { "type": "string" }
127 ]
128 },
129 "static_peers": {
130 "description": "List or comma-separated string of explicit unicast peer addresses or hostnames.",
131 "oneOf": [
132 { "type": "array", "items": { "type": "string" } },
133 { "type": "string" }
134 ]
135 }
136 }
137 },
138 "channels": {
139 "type": "object",
140 "description": "Publish/subscribe stream routing domains (alias taxonomy).",
141 "properties": {
142 "publish": {
143 "description": "List or comma-separated string of broadcast channels this endpoint announces to.",
144 "oneOf": [
145 { "type": "array", "items": { "type": "string" } },
146 { "type": "string" }
147 ]
148 },
149 "subscribe": {
150 "description": "List or comma-separated string of channels this endpoint subscribes to.",
151 "oneOf": [
152 { "type": "array", "items": { "type": "string" } },
153 { "type": "string" }
154 ]
155 }
156 }
157 },
158 "multicast": {
159 "type": "object",
160 "description": "Layer 3 IP multicast transport parameters (alias taxonomy).",
161 "properties": {
162 "enabled": {
163 "type": "boolean",
164 "description": "Enable IP multicast stream transmission.",
165 "default": false
166 },
167 "ttl": {
168 "type": "integer",
169 "description": "Multicast packet Time-To-Live (hop count).",
170 "minimum": 1,
171 "maximum": 255,
172 "default": 1
173 },
174 "prefix": {
175 "type": "string",
176 "description": "Multicast group address prefix or CIDR block (e.g., '239.255.0.0/16')."
177 },
178 "netmask": {
179 "type": "string",
180 "description": "Subnet netmask for multicast address allocation (e.g., '255.255.0.0')."
181 }
182 }
183 }
184 }
185 }