![]() |
MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
|
A RTP payloader for H.264 DEF-STAN 00-82 video streams. More...
#include <rtp_h264_payloader.h>
Public Member Functions | |
RtpH264GstNvidiaPayloader () | |
Construct a new Rtp H.264 Payloader object. | |
~RtpH264GstNvidiaPayloader () final | |
Destroy the Rtp H.264 Payloader object. | |
RtpH264GstNvidiaPayloader (const RtpH264GstNvidiaPayloader &other)=delete | |
Delete the copy constructor and copy assignment operator. | |
RtpH264GstNvidiaPayloader & | operator= (RtpH264GstNvidiaPayloader &&other)=delete |
Delete the copy constructor and copy assignment operator. | |
void | SetStreamInfo (const ::mediax::rtp::StreamInformation &stream_information) 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. | |
![]() | |
RtpPayloader ()=default | |
Construct a new Rtp Payloader object. | |
virtual | ~RtpPayloader ()=default |
Destroy the Rtp Payloader object. | |
RtpPayloader (RtpPayloader const &)=delete | |
Construct a new Rtp Payloader object. | |
RtpPayloader & | operator= (RtpPayloader const &)=delete |
Construct a new Rtp Payloader object. | |
mediax::rtp::ColourspaceType | GetColourSpace () const |
Get the Colour Space object of the incoming stream. | |
void | SetColourSpace (mediax::rtp::ColourspaceType colourspace) |
Set the Colour Space object. | |
uint32_t | GetHeight () const |
Get the Height object of the incoming stream. | |
void | SetHeight (uint32_t height) |
Set the Height object. | |
uint32_t | GetWidth () const |
Get the Width object of the incoming stream. | |
void | SetWidth (uint32_t width) |
Set the Width object. | |
uint32_t | GetFrameRate () const |
Get the Frame Rate of the incoming stream. | |
void | SetFrameRate (uint32_t framerate) |
Set the Frame Rate object. | |
std::string | GetIpAddress () const |
Get the Ip Address of the incoming stream. | |
void | SetIpAddress (std::string_view ip_address) |
Set the Ip Address object. | |
uint32_t | GetPort () const |
Get the Port of the incoming stream. | |
void | SetPort (uint32_t port) |
Set the Port object. | |
std::vector< uint8_t > & | GetBuffer () |
Get the Buffer object. | |
uint32_t | GetBufferSize () const |
Get the Buffer Size object. | |
void | SetBufferSize (uint32_t size) |
Set the Buffer Size object. | |
Private Attributes | |
GstElement * | pipeline_ |
The Gstreamer pipeline. | |
bool | started_ = false |
Pipeline started when true. | |
Additional Inherited Members | |
![]() | |
::mediax::rtp::RtpPortType & | GetEgressPort () |
Get the Egress Port object. | |
A RTP payloader for H.264 DEF-STAN 00-82 video streams.
|
delete |
Delete the copy constructor and copy assignment operator.
other |
|
finalvirtual |
Close the RTP stream.
Implements mediax::rtp::RtpPayloader.
|
finalvirtual |
|
delete |
Delete the copy constructor and copy assignment operator.
other |
|
overridevirtual |
|
finalvirtual |
Stop the stream, can be quickly re-started.
Reimplemented from mediax::rtp::RtpPayloader.
|
finalvirtual |
Stop the stream.
Reimplemented from mediax::rtp::RtpPayloader.
|
finalvirtual |
rgbframe | pointer to RGB buffer |
blocking | set to true if blocking |
Implements mediax::rtp::RtpPayloader.