NVIDIA DeepStream SDK API Reference

8.0 Release
deepstream::MediaInfo Struct Reference

Detailed Description

Definition at line 47 of file mediainfo.hpp.

Public Member Functions

 operator bool () const
 

Static Public Member Functions

static std::unique_ptr< struct MediaInfodiscover (std::string uri)
 

Data Fields

bool error = false
 
uint64_t duration = 0
 
bool live = false
 
std::vector< std::unique_ptr< StreamInfo > > streams
 

Member Function Documentation

◆ discover()

static std::unique_ptr<struct MediaInfo> deepstream::MediaInfo::discover ( std::string  uri)
static

◆ operator bool()

deepstream::MediaInfo::operator bool ( ) const
inline

Definition at line 51 of file mediainfo.hpp.

Field Documentation

◆ duration

uint64_t deepstream::MediaInfo::duration = 0

Definition at line 49 of file mediainfo.hpp.

◆ error

bool deepstream::MediaInfo::error = false

Definition at line 48 of file mediainfo.hpp.

◆ live

bool deepstream::MediaInfo::live = false

Definition at line 50 of file mediainfo.hpp.

◆ streams

std::vector<std::unique_ptr<StreamInfo> > deepstream::MediaInfo::streams

Definition at line 51 of file mediainfo.hpp.


The documentation for this struct was generated from the following file: