Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
RTSPPusher::Detail Class Reference
Collaboration diagram for RTSPPusher::Detail:
Collaboration graph

Public Member Functions

bool write_precoded_video_frame (boost::shared_ptr< Frame > &f)
 
 Detail (RTSPPusherProps props)
 
 ~Detail ()
 
bool init ()
 
bool write_header (int num, int den)
 
bool term (EventType status)
 

Public Attributes

size_t width
 
size_t height
 
size_t bitrate
 
size_t fps_den
 
size_t fps_num
 
int64_t lastPTS
 
int64_t lastDiff
 
int64_t pts_adder
 
int64_t duration
 
boost::shared_ptr< H264FrameDemuxerdemuxer
 
EventType connectionStatus
 
bool isFirstFrame
 
AVPacket * pkt
 

Private Member Functions

AVStream * add_stream (AVFormatContext *oc, AVCodec **codec, enum AVCodecID codec_id, int num, int den)
 
int open_video_precoded ()
 
bool init_stream_params ()
 

Private Attributes

AVFrame * frame
 
AVPicture src_picture
 
AVPicture dst_picture
 
AVFormatContext * outContext
 
AVStream * video_st
 
AVCodec * video_codec
 
string mURL
 
string mTitle
 
int64_t totalDuration
 
AVRational in_time_base
 
bool isTCP
 
uint32_t encoderTargetKbps
 

Constructor & Destructor Documentation

◆ Detail()

RTSPPusher::Detail::Detail ( RTSPPusherProps props)
inline

◆ ~Detail()

RTSPPusher::Detail::~Detail ( )
inline

Member Function Documentation

◆ add_stream()

AVStream * RTSPPusher::Detail::add_stream ( AVFormatContext * oc,
AVCodec ** codec,
enum AVCodecID codec_id,
int num,
int den )
inlineprivate
Here is the caller graph for this function:

◆ init()

bool RTSPPusher::Detail::init ( )
inline

◆ init_stream_params()

bool RTSPPusher::Detail::init_stream_params ( )
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ open_video_precoded()

int RTSPPusher::Detail::open_video_precoded ( )
inlineprivate
Here is the caller graph for this function:

◆ term()

bool RTSPPusher::Detail::term ( EventType status)
inline

◆ write_header()

bool RTSPPusher::Detail::write_header ( int num,
int den )
inline
Here is the call graph for this function:

◆ write_precoded_video_frame()

bool RTSPPusher::Detail::write_precoded_video_frame ( boost::shared_ptr< Frame > & f)
inline

Member Data Documentation

◆ bitrate

size_t RTSPPusher::Detail::bitrate

◆ connectionStatus

EventType RTSPPusher::Detail::connectionStatus

◆ demuxer

boost::shared_ptr<H264FrameDemuxer> RTSPPusher::Detail::demuxer

◆ dst_picture

AVPicture RTSPPusher::Detail::dst_picture
private

◆ duration

int64_t RTSPPusher::Detail::duration

◆ encoderTargetKbps

uint32_t RTSPPusher::Detail::encoderTargetKbps
private

◆ fps_den

size_t RTSPPusher::Detail::fps_den

◆ fps_num

size_t RTSPPusher::Detail::fps_num

◆ frame

AVFrame* RTSPPusher::Detail::frame
private

◆ height

size_t RTSPPusher::Detail::height

◆ in_time_base

AVRational RTSPPusher::Detail::in_time_base
private

◆ isFirstFrame

bool RTSPPusher::Detail::isFirstFrame

◆ isTCP

bool RTSPPusher::Detail::isTCP
private

◆ lastDiff

int64_t RTSPPusher::Detail::lastDiff

◆ lastPTS

int64_t RTSPPusher::Detail::lastPTS

◆ mTitle

string RTSPPusher::Detail::mTitle
private

◆ mURL

string RTSPPusher::Detail::mURL
private

◆ outContext

AVFormatContext* RTSPPusher::Detail::outContext
private

◆ pkt

AVPacket* RTSPPusher::Detail::pkt

◆ pts_adder

int64_t RTSPPusher::Detail::pts_adder

◆ src_picture

AVPicture RTSPPusher::Detail::src_picture
private

◆ totalDuration

int64_t RTSPPusher::Detail::totalDuration
private

◆ video_codec

AVCodec* RTSPPusher::Detail::video_codec
private

◆ video_st

AVStream* RTSPPusher::Detail::video_st
private

◆ width

size_t RTSPPusher::Detail::width

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