A RTP payloader for H.264 DEF-STAN 00-82 video streams.
More...
#include <rtph264_payloader.h>
|
| RtpH264Payloader () |
| Construct a new Rtp H.264 Payloader object.
|
|
| ~RtpH264Payloader () final |
| Destroy the Rtp H.264 Payloader object.
|
|
void | SetStreamInfo (std::string_view name, ColourspaceType encoding, uint32_t height, uint32_t width, uint32_t framerate, std::string_view hostname, const uint32_t portno) override |
| Set the Stream Info object.
|
|
bool | Open () final |
| Open the RTP stream.
|
|
void | Close () final |
| Close the RTP stream.
|
|
int | Transmit (uint8_t *rgbframe, bool blocking=true) final |
|
void | Start () final |
| Stop the stream, can be quickly re-started.
|
|
void | Stop () final |
| Stop the stream.
|
|
A RTP payloader for H.264 DEF-STAN 00-82 video streams.
◆ Close()
void mediax::rtp::h264::nvenc::RtpH264Payloader::Close |
( |
| ) |
|
|
finalprivatevirtual |
◆ Open()
bool mediax::rtp::h264::nvenc::RtpH264Payloader::Open |
( |
| ) |
|
|
finalprivatevirtual |
◆ SetStreamInfo()
void mediax::rtp::h264::nvenc::RtpH264Payloader::SetStreamInfo |
( |
std::string_view |
name, |
|
|
ColourspaceType |
encoding, |
|
|
uint32_t |
height, |
|
|
uint32_t |
width, |
|
|
uint32_t |
framerate, |
|
|
std::string_view |
hostname, |
|
|
const uint32_t |
portno |
|
) |
| |
|
overrideprivate |
Set the Stream Info object.
- Parameters
-
name | session name |
encoding | colour space |
height | height in pixels |
width | width in pixels |
framerate | frames per second |
hostname | IP address i.e. 123.192.1.1 |
portno | port number i.e. 5004 |
◆ Start()
void mediax::rtp::h264::nvenc::RtpH264Payloader::Start |
( |
| ) |
|
|
finalprivatevirtual |
◆ Stop()
void mediax::rtp::h264::nvenc::RtpH264Payloader::Stop |
( |
| ) |
|
|
finalprivatevirtual |
◆ Transmit()
int mediax::rtp::h264::nvenc::RtpH264Payloader::Transmit |
( |
uint8_t * |
rgbframe, |
|
|
bool |
blocking = true |
|
) |
| |
|
finalprivatevirtual |
The documentation for this class was generated from the following file: