kunlang_video/include/data_manager.hpp

19 lines
334 B
C++

#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
std::vector<int> channels;
int streamType; // 0=主, 1=子
};
std::vector<DataItem> data;
};