|
Native Player
1.0
|
Describes a media stream common part for the audio and video streams used in their description. More...
#include <media_stream.h>
Public Member Functions | |
| CommonStreamDescription () | |
Constructs a CommonStreamDescription with 0 values. More... | |
| CommonStreamDescription (const CommonStreamDescription &other)=default | |
Constructs a copy of other. More... | |
| CommonStreamDescription (CommonStreamDescription &&other)=default | |
| CommonStreamDescription & | operator= (const CommonStreamDescription &other)=default |
Assigns other to this CommonStreamDescription More... | |
| CommonStreamDescription & | operator= (CommonStreamDescription &&other)=default |
| ~CommonStreamDescription ()=default | |
Destroys CommonStreamDescription object. More... | |
Public Attributes | |
| uint32_t | id |
| uint32_t | bitrate |
| std::shared_ptr< ContentProtectionDescriptor > | content_protection |
Describes a media stream common part for the audio and video streams used in their description.
Definition at line 56 of file media_stream.h.
|
inline |
Constructs a CommonStreamDescription with 0 values.
Definition at line 72 of file media_stream.h.
|
default |
Constructs a copy of other.
|
default |
Move-constructs a CommonStreamDescription object, making it point at the same object that other was pointing to.
|
default |
Destroys CommonStreamDescription object.
|
default |
Assigns other to this CommonStreamDescription
|
default |
Move-assigns other to this CommonStreamDescription object.
| uint32_t CommonStreamDescription::bitrate |
Describes bitrate of the media stream. Can be useful while choosing stream to play basing on network connection.
Definition at line 65 of file media_stream.h.
| std::shared_ptr<ContentProtectionDescriptor> CommonStreamDescription::content_protection |
Describes content protection information. Such as DRM type and server address.
Definition at line 69 of file media_stream.h.
| uint32_t CommonStreamDescription::id |
Describes id of a media stream. It is counted from 0 and is increased when next audio or video stream is added.
Definition at line 61 of file media_stream.h.