mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-25 12:32:01 -08:00
parent
37586b2300
commit
4064a76ec3
1 changed files with 1 additions and 2 deletions
|
|
@ -29,7 +29,6 @@ using libcamera::Request;
|
|||
using libcamera::Size;
|
||||
using libcamera::Span;
|
||||
using libcamera::Stream;
|
||||
using libcamera::StreamRoles;
|
||||
using libcamera::StreamRole;
|
||||
using libcamera::StreamConfiguration;
|
||||
using libcamera::Transform;
|
||||
|
|
@ -140,7 +139,7 @@ bool camera_create(const parameters_t *params, camera_frame_cb frame_cb, camera_
|
|||
return false;
|
||||
}
|
||||
|
||||
StreamRoles stream_roles = { StreamRole::VideoRecording };
|
||||
std::vector<libcamera::StreamRole> stream_roles = { StreamRole::VideoRecording };
|
||||
if (params->mode != NULL) {
|
||||
stream_roles.push_back(StreamRole::Raw);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue