mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-14 00:43:28 +00:00
Added extension calls for starting and stopping a RTSP Video Stream for being used by OTS MEDIAMTX
This commit is contained in:
@@ -5,6 +5,7 @@ mod websocket;
|
||||
mod util;
|
||||
mod cot_router;
|
||||
mod cot_generator;
|
||||
mod video_stream;
|
||||
|
||||
#[arma]
|
||||
pub fn init() -> Extension {
|
||||
@@ -49,5 +50,11 @@ pub fn init() -> Extension {
|
||||
.command("send_digital_pointer_cot", cot_router::send_digital_pointer_cot)
|
||||
.command("stop", cot_router::stop)
|
||||
)
|
||||
.group(
|
||||
"video_stream",
|
||||
Group::new()
|
||||
.command("start", video_stream::start_stream)
|
||||
.command("stop", video_stream::stop_stream)
|
||||
)
|
||||
.finish()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user