A RTP payloader for H.264 DEF-STAN 00-82 video streams.
More...
#include <rtph264_payloader.h>
|
|
| RtpH264VaapiPayloader () |
| | Construct a new Rtp H.264 Payloader object.
|
| |
|
| ~RtpH264VaapiPayloader () 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.
|
| |
|
|
GstElement * | pipeline_ |
| | The Gstreamer pipeline.
|
| |
A RTP payloader for H.264 DEF-STAN 00-82 video streams.
◆ Close()
| void mediax::rtp::h264::vaapi::RtpH264VaapiPayloader::Close |
( |
| ) |
|
|
finalprivatevirtual |
◆ Open()
| bool mediax::rtp::h264::vaapi::RtpH264VaapiPayloader::Open |
( |
| ) |
|
|
finalprivatevirtual |
◆ SetStreamInfo()
| void mediax::rtp::h264::vaapi::RtpH264VaapiPayloader::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::vaapi::RtpH264VaapiPayloader::Start |
( |
| ) |
|
|
finalprivatevirtual |
◆ Stop()
| void mediax::rtp::h264::vaapi::RtpH264VaapiPayloader::Stop |
( |
| ) |
|
|
finalprivatevirtual |
◆ Transmit()
| int mediax::rtp::h264::vaapi::RtpH264VaapiPayloader::Transmit |
( |
uint8_t * |
rgbframe, |
|
|
bool |
blocking = true |
|
) |
| |
|
finalprivatevirtual |
- Parameters
-
| rgbframe | pointer to RGB buffer |
| blocking | set to true if blocking |
- Returns
- int error if value is <0, 0 on success
Implements mediax::rtp::RtpPayloader.
The documentation for this class was generated from the following file: