Skip to main content

VideoSenderOptions Class

Declaration

class simaai::neat::nodes::groups::VideoSenderOptions { ... }

Included Headers

#include <VideoSender.h>

Enumerations Index

enum classInputKind { ... }

Private Constructors Index

VideoSenderOptions ()=default

Public Member Functions Index

boolis_raw_input () const
boolis_encoded_input () const
intwidth () const
intheight () const
intfps () const
intvideo_port () const

Public Member Attributes Index

std::stringhost = "127.0.0.1"
intchannel = 0
intvideo_port_base = 9000
boolsync = false
boolasync = false
VideoSenderRtpOptionsrtp {}
VideoSenderEncoderOptionsencoder {}

Private Member Attributes Index

InputKindinput_kind_ = InputKind::EncodedH264
intwidth_ = 0
intheight_ = 0
intfps_ = 0

Public Static Functions Index

static VideoSenderOptionsH264RtpUdpFromRaw (int width, int height, int fps)
static VideoSenderOptionsH264RtpUdpFromEncoded ()

Definition at line 25 of file VideoSender.h.

Enumerations

InputKind

enum class simaai::neat::nodes::groups::VideoSenderOptions::InputKind
strong
Enumeration values
Raw
EncodedH264

Definition at line 58 of file VideoSender.h.

58 enum class InputKind { Raw, EncodedH264 };

Private Constructors

VideoSenderOptions()

simaai::neat::nodes::groups::VideoSenderOptions::VideoSenderOptions ()
default

Definition at line 60 of file VideoSender.h.

Public Member Functions

fps()

int simaai::neat::nodes::groups::VideoSenderOptions::fps ()
inline

Definition at line 42 of file VideoSender.h.

42 int fps() const {
43 return fps_;
44 }

height()

int simaai::neat::nodes::groups::VideoSenderOptions::height ()
inline

Definition at line 39 of file VideoSender.h.

39 int height() const {
40 return height_;
41 }

is_encoded_input()

bool simaai::neat::nodes::groups::VideoSenderOptions::is_encoded_input ()
inline

Definition at line 33 of file VideoSender.h.

33 bool is_encoded_input() const {
34 return input_kind_ == InputKind::EncodedH264;
35 }

is_raw_input()

bool simaai::neat::nodes::groups::VideoSenderOptions::is_raw_input ()
inline

Definition at line 30 of file VideoSender.h.

30 bool is_raw_input() const {
31 return input_kind_ == InputKind::Raw;
32 }

video_port()

int simaai::neat::nodes::groups::VideoSenderOptions::video_port ()
inline

Definition at line 45 of file VideoSender.h.

45 int video_port() const {
47 }

width()

int simaai::neat::nodes::groups::VideoSenderOptions::width ()
inline

Definition at line 36 of file VideoSender.h.

36 int width() const {
37 return width_;
38 }

Public Member Attributes

async

bool simaai::neat::nodes::groups::VideoSenderOptions::async = false

Definition at line 53 of file VideoSender.h.

53 bool async = false;

channel

int simaai::neat::nodes::groups::VideoSenderOptions::channel = 0

Definition at line 50 of file VideoSender.h.

50 int channel = 0;

encoder

VideoSenderEncoderOptions simaai::neat::nodes::groups::VideoSenderOptions::encoder {}

Definition at line 55 of file VideoSender.h.

host

std::string simaai::neat::nodes::groups::VideoSenderOptions::host = "127.0.0.1"

Definition at line 49 of file VideoSender.h.

49 std::string host = "127.0.0.1";

rtp

VideoSenderRtpOptions simaai::neat::nodes::groups::VideoSenderOptions::rtp {}

Definition at line 54 of file VideoSender.h.

sync

bool simaai::neat::nodes::groups::VideoSenderOptions::sync = false

Definition at line 52 of file VideoSender.h.

52 bool sync = false;

video_port_base

int simaai::neat::nodes::groups::VideoSenderOptions::video_port_base = 9000

Definition at line 51 of file VideoSender.h.

51 int video_port_base = 9000;

Private Member Attributes

fps_

int simaai::neat::nodes::groups::VideoSenderOptions::fps_ = 0

Definition at line 65 of file VideoSender.h.

65 int fps_ = 0;

height_

int simaai::neat::nodes::groups::VideoSenderOptions::height_ = 0

Definition at line 64 of file VideoSender.h.

64 int height_ = 0;

input_kind_

InputKind simaai::neat::nodes::groups::VideoSenderOptions::input_kind_ = InputKind::EncodedH264

Definition at line 62 of file VideoSender.h.

62 InputKind input_kind_ = InputKind::EncodedH264;

width_

int simaai::neat::nodes::groups::VideoSenderOptions::width_ = 0

Definition at line 63 of file VideoSender.h.

63 int width_ = 0;

Public Static Functions

H264RtpUdpFromEncoded()

VideoSenderOptions simaai::neat::nodes::groups::VideoSenderOptions::H264RtpUdpFromEncoded ()
static

Definition at line 28 of file VideoSender.h.

H264RtpUdpFromRaw()

VideoSenderOptions simaai::neat::nodes::groups::VideoSenderOptions::H264RtpUdpFromRaw (int width, int height, int fps)
static

Definition at line 27 of file VideoSender.h.


The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.