@@ -150,22 +150,22 @@ lk token create -r test -i your_own_identity --join --valid-for 99999h --dev --
150150
151151### SimpleRoom
152152
153- ``` bash
154- ./build/examples /SimpleRoom --url $URL --token < jwt-token>
153+ ```bash`
154+ ./build-release/cpp-example-collection-build/simple_room /SimpleRoom --url $URL --token <jwt-token >
155155```
156156
157157You can also provide the URL and token via environment variables:
158158```bash
159159export LIVEKIT_URL=ws://localhost:7880
160160export LIVEKIT_TOKEN=<jwt-token>
161- ./build/examples /SimpleRoom
161+ ./build-release/cpp-example-collection-build/simple_room /SimpleRoom
162162```
163163
164164** End-to-End Encryption (E2EE)**
165165You can enable E2E encryption for the streams via --enable_e2ee and --e2ee_key flags,
166166by running the following cmds in two terminals or computers. ** Note, jwt_token needs to be different identity**
167167``` bash
168- ./build/examples /SimpleRoom --url $URL --token < jwt-token> --enable_e2ee --e2ee_key=" your_key"
168+ ./build-release/cpp-example-collection-build/simple_room /SimpleRoom --url $URL --token < jwt-token> --enable_e2ee --e2ee_key=" your_key"
169169```
170170** Note** , ** all participants must use the exact same E2EE configuration and shared key.**
171171If the E2EE keys do not match between participants:
@@ -195,7 +195,7 @@ lk token create -r test -i math-genius --join --valid-for 99999h --dev --room=yo
195195#### ▶ Start Participants
196196Every participant is run as a separate terminal process, note --role needs to match the token identity.
197197``` bash
198- ./build/examples /SimpleRpc --url $URL --token < jwt-token> --role=math-genius
198+ ./build-release/cpp-example-collection-build/simple_rpc /SimpleRpc --url $URL --token < jwt-token> --role=math-genius
199199```
200200The caller will automatically:
201201- Wait for the greeter and math-genius to join
@@ -223,11 +223,11 @@ lk token create -r test -i greeter --join --valid-for 99999h --dev --room=your_o
223223#### ▶ Start Participants
224224Start the receiver first (so it registers stream handlers before messages arrive):
225225``` bash
226- ./build/examples /SimpleDataStream --url $URL --token < jwt-token>
226+ ./build-release/cpp-example-collection-build/simple_data_stream /SimpleDataStream --url $URL --token < jwt-token>
227227```
228228On another terminal or computer, start the sender
229229``` bash
230- ./build/examples /SimpleDataStream --url $URL --token < jwt-token>
230+ ./build-release/cpp-example-collection-build/simple_data_stream /SimpleDataStream --url $URL --token < jwt-token>
231231```
232232
233233** Sender** (e.g. greeter)
@@ -306,7 +306,7 @@ livekit::setLogCallback(
306306livekit::setLogCallback(nullptr);
307307```
308308
309- See [ ` examples /logging_levels/custom_sinks.cpp` ] ( examples /logging_levels/custom_sinks.cpp)
309+ See [ ` cpp-example-collection /logging_levels/custom_sinks.cpp` ] ( cpp-example-collection /logging_levels/custom_sinks.cpp)
310310for three copy-paste-ready patterns: ** file logger** , ** JSON structured lines** ,
311311and a ** ROS2 bridge** that maps ` LogLevel ` to ` RCLCPP_* ` macros.
312312
0 commit comments