Skip to content

Commit 875f4ff

Browse files
committed
update cctv info in readme
1 parent 9967b73 commit 875f4ff

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Below is a list of convenience methods that are implemented for common requests
4141
- `getTime` Get the current in game time
4242
- `getMapMarkers` Get map markers, such as vending machines and cargo/heli
4343
- `getTeamInfo` Get list of team members and positions on map
44-
- `getCameraFrame` Get a jpeg image from a CCTV Camera
4544

4645
More requests are available and can be found in the `AppRequest` message section of the [rustplus.proto](./rustplus.proto) protobuf file that I wrote by hand.
4746

@@ -215,24 +214,7 @@ Here's a list of the emitted events:
215214

216215
## CCTV Camera Frames
217216

218-
The Rust+ websocket protocol allows you to fetch CCTV Camera frames through the `getCameraFrame` request. However, these aren't available in the official Rust+ app yet and are also disabled server side.
219-
220-
It is possible to enable CCTV Camera frames if you are the server admin by running the following command in the F1 console.
221-
222-
```
223-
cctvrender.enabled true
224-
```
225-
226-
> Note: This will not enable CCTV Cameras in the Rust+ app, but it will allow you to request jpeg packets through the websocket with the `getCameraFrame` request.
227-
228-
CCTV Example:
229-
230-
```
231-
rustplus.getCameraFrame("DOME1", 0, (message) => {
232-
console.log(message);
233-
return true;
234-
});
235-
```
217+
The Rust+ websocket protocol removed the ability to fetch camera frames.
236218

237219
## Pairing
238220

@@ -336,7 +318,6 @@ Below is the token cost per request type:
336318
```
337319
Default: 1
338320
--
339-
CameraFrame: 2
340321
CheckSubscription: 1
341322
EntityInfo: 1
342323
Info: 1

0 commit comments

Comments
 (0)