Skip to content

Commit 49d1b2a

Browse files
committed
Add RTMPIngress protobuf model for RTMP stream metadata
1 parent dba2378 commit 49d1b2a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

protobuf/video/sfu/models/models.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,21 @@ message Browser {
269269
string version = 2;
270270
}
271271

272+
message RTMPIngress {
273+
// Video dimensions and frame rate
274+
uint32 width = 1;
275+
uint32 height = 2;
276+
double frame_rate = 3;
277+
278+
// Client info
279+
string software = 4; // e.g. "obs-studio"
280+
string version = 5; // e.g. "29.1.3"
281+
string encoder = 6; // e.g. "x264" or "NVIDIA NVENC"
282+
283+
// Connection info
284+
string remote_addr = 7;
285+
}
286+
272287
message Device {
273288
string name = 1;
274289
string version = 2;

protobuf/video/sfu/signal_rpc/signal.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ message SendStatsRequest {
7979
}
8080

8181
Telemetry telemetry = 11;
82+
models.RTMPIngress rtmp = 12;
8283
}
8384

8485
message SendStatsResponse {

0 commit comments

Comments
 (0)