24 #ifndef NVIDIA_DEEPSTREAM_MEDIAINFO
25 #define NVIDIA_DEEPSTREAM_MEDIAINFO
61 VideoStreamInfo() =
default;
62 VideoStreamInfo(
const VideoStreamInfo&) =
default;
63 VideoStreamInfo(VideoStreamInfo&&) noexcept = default;
64 VideoStreamInfo& operator=(const VideoStreamInfo&) = default;
65 VideoStreamInfo& operator=(VideoStreamInfo&&) noexcept = default;
70 uint64_t duration = 0;
72 operator bool()
const {
return !error; };
73 std::vector<std::unique_ptr<StreamInfo>> streams;
74 static std::unique_ptr<struct MediaInfo> discover(std::string uri);