Video Information Structure.
More...
#include <CodecOpusOgg.h>
Video Information Structure.
Contains all video stream parameters including dimensions, framerate, pixel format, and timing information for RTSP video streaming. This structure parallels AudioInfo for video streams.
- Note
- Named RTSPVideoInfo (not VideoInfo) - see RTSPVideoFormat's note.
- Author
- Phil Schatzmann
◆ RTSPVideoInfo() [1/2]
◆ RTSPVideoInfo() [2/2]
◆ aspectRatio()
| float aspectRatio |
( |
| ) |
const |
|
inline |
◆ framePeriodUs()
| uint32_t framePeriodUs |
( |
| ) |
const |
|
inline |
Calculate frame period in microseconds.
◆ frameSize()
| uint32_t frameSize |
( |
| ) |
const |
|
inline |
Calculate frame size in bytes (uncompressed).
◆ isCompressed()
| bool isCompressed |
( |
| ) |
const |
|
inline |
Check if format is compressed.
◆ logInfo()
| void logInfo |
( |
const char * | source = "VideoInfo" | ) |
const |
|
inline |
◆ timestampIncrement()
| uint32_t timestampIncrement |
( |
| ) |
const |
|
inline |
Calculate RTP timestamp increment per frame.
◆ toString()
| String toString |
( |
| ) |
const |
|
inline |
Convert to string for debugging.
◆ bits_per_pixel
| uint8_t bits_per_pixel = 24 |
Bits per pixel (depends on format).
◆ format
◆ framerate
◆ height
◆ rtp_clock_rate
| uint32_t rtp_clock_rate = 90000 |
RTP clock rate (90kHz for video per RFC).
◆ width
The documentation for this struct was generated from the following file: