NVIDIA DeepStream SDK API Reference

9.1 Release
deepstream::MediaInfo Struct Reference

Detailed Description

Definition at line 68 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 72 of file 9.1/service-maker/includes/mediainfo.hpp.

◆ operator bool() [2/2]

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

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

Field Documentation

◆ duration

uint64_t deepstream::MediaInfo::duration = 0

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

◆ error

bool deepstream::MediaInfo::error = false

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

◆ live

bool deepstream::MediaInfo::live = false

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

◆ streams

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

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


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