NVIDIA DeepStream SDK API Reference

8.0 Release
deepstream::MediaInfo Struct Reference

Detailed Description

Definition at line 47 of file service-maker/includes/mediainfo.hpp.

Public Member Functions

 operator bool () const
 
 operator bool () const
 

Static Public Member Functions

static std::unique_ptr< struct MediaInfodiscover (std::string uri)
 
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() [1/2]

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

◆ discover() [2/2]

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

◆ operator bool() [1/2]

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

Definition at line 51 of file 9.0/service-maker/includes/mediainfo.hpp.

References error.

◆ operator bool() [2/2]

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

Definition at line 51 of file service-maker/includes/mediainfo.hpp.

Field Documentation

◆ duration

uint64_t deepstream::MediaInfo::duration = 0

Definition at line 49 of file service-maker/includes/mediainfo.hpp.

◆ error

bool deepstream::MediaInfo::error = false

Definition at line 48 of file service-maker/includes/mediainfo.hpp.

Referenced by operator bool().

◆ live

bool deepstream::MediaInfo::live = false

Definition at line 50 of file service-maker/includes/mediainfo.hpp.

◆ streams

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

Definition at line 51 of file service-maker/includes/mediainfo.hpp.


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