kunlang_video/include/data_manager.hpp

19 lines
334 B
C++
Raw 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; // 1=start live stream, 0=stop live stream
2025-10-16 10:25:51 +08:00
std::vector<int> channels;
int streamType; // 0=主, 1=子
};
std::vector<DataItem> data;
};