kunlang_video/include/data_manager.hpp

19 lines
325 B
C++
Raw Permalink Normal View History

2025-10-16 10:25:51 +08:00
#pragma once
#include <string>
#include <vector>
struct VideoPushRequest
{
std::string type;
std::string seqNo;
struct DataItem
{
int switchVal; // 0=开始推流, 1=停止推流
std::vector<int> channels;
int streamType; // 0=主, 1=子
};
std::vector<DataItem> data;
};