BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

pjmedia_vid_stream_info Struct Reference

#include <vid_stream.h>

Data Fields

pjmedia_type type
 
pjmedia_tp_proto proto
 
pjmedia_dir dir
 
pj_sockaddr local_addr
 
pj_sockaddr rem_addr
 
pj_sockaddr rem_rtcp
 
pj_bool_t rtcp_mux
 
pjmedia_rtcp_fb_info loc_rtcp_fb
 
pjmedia_rtcp_fb_info rem_rtcp_fb
 
unsigned tx_pt
 
unsigned rx_pt
 
pj_uint32_t ssrc
 
pj_str_t cname
 
pj_bool_t has_rem_ssrc
 
pj_uint32_t rem_ssrc
 
pj_str_t rem_cname
 
pj_uint32_t rtp_ts
 
pj_uint16_t rtp_seq
 
pj_uint8_t rtp_seq_ts_set
 
int jb_init
 
int jb_min_pre
 
int jb_max_pre
 
int jb_max
 
pj_bool_t use_ka
 
pjmedia_stream_ka_config ka_cfg
 
pjmedia_vid_codec_info codec_info
 
pjmedia_vid_codec_paramcodec_param
 
pj_bool_t rtcp_sdes_bye_disabled
 
pjmedia_vid_stream_rc_config rc_cfg
 
pjmedia_vid_stream_sk_config sk_cfg
 

Detailed Description

This structure describes video stream information. Each video stream corresponds to one "m=" line in SDP session descriptor, and it has its own RTP/RTCP socket pair.

Field Documentation

◆ type

pjmedia_type pjmedia_vid_stream_info::type

Media type (audio, video)

◆ proto

pjmedia_tp_proto pjmedia_vid_stream_info::proto

Transport protocol (RTP/AVP, etc.)

◆ dir

pjmedia_dir pjmedia_vid_stream_info::dir

Media direction.

◆ local_addr

pj_sockaddr pjmedia_vid_stream_info::local_addr

Local RTP address

◆ rem_addr

pj_sockaddr pjmedia_vid_stream_info::rem_addr

Remote RTP address

◆ rem_rtcp

pj_sockaddr pjmedia_vid_stream_info::rem_rtcp

Optional remote RTCP address. If sin_family is zero, the RTP address will be calculated from RTP.

◆ rtcp_mux

pj_bool_t pjmedia_vid_stream_info::rtcp_mux

Use RTP and RTCP multiplexing.

◆ loc_rtcp_fb

pjmedia_rtcp_fb_info pjmedia_vid_stream_info::loc_rtcp_fb

Local RTCP-FB info.

◆ rem_rtcp_fb

pjmedia_rtcp_fb_info pjmedia_vid_stream_info::rem_rtcp_fb

Remote RTCP-FB info.

◆ tx_pt

unsigned pjmedia_vid_stream_info::tx_pt

Outgoing codec paylaod type.

◆ rx_pt

unsigned pjmedia_vid_stream_info::rx_pt

Incoming codec paylaod type.

◆ ssrc

pj_uint32_t pjmedia_vid_stream_info::ssrc

RTP SSRC.

◆ cname

pj_str_t pjmedia_vid_stream_info::cname

RTCP CNAME.

◆ has_rem_ssrc

pj_bool_t pjmedia_vid_stream_info::has_rem_ssrc

Has remote RTP SSRC?

◆ rem_ssrc

pj_uint32_t pjmedia_vid_stream_info::rem_ssrc

Remote RTP SSRC.

◆ rem_cname

pj_str_t pjmedia_vid_stream_info::rem_cname

Remote RTCP CNAME.

◆ rtp_ts

pj_uint32_t pjmedia_vid_stream_info::rtp_ts

Initial RTP timestamp.

◆ rtp_seq

pj_uint16_t pjmedia_vid_stream_info::rtp_seq

Initial RTP sequence number.

◆ rtp_seq_ts_set

pj_uint8_t pjmedia_vid_stream_info::rtp_seq_ts_set

Bitmask flags if initial RTP sequence and/or timestamp for sender are set. bit 0/LSB : sequence flag bit 1 : timestamp flag

◆ jb_init

int pjmedia_vid_stream_info::jb_init

Jitter buffer init delay in msec.
(-1 for default).

◆ jb_min_pre

int pjmedia_vid_stream_info::jb_min_pre

Jitter buffer minimum prefetch delay in msec (-1 for default).

◆ jb_max_pre

int pjmedia_vid_stream_info::jb_max_pre

Jitter buffer maximum prefetch delay in msec (-1 for default).

◆ jb_max

int pjmedia_vid_stream_info::jb_max

Jitter buffer max delay in msec.

◆ use_ka

pj_bool_t pjmedia_vid_stream_info::use_ka

Stream keep-alive and NAT hole punch (see #PJMEDIA_STREAM_ENABLE_KA) is enabled?

◆ ka_cfg

pjmedia_stream_ka_config pjmedia_vid_stream_info::ka_cfg

Stream send kep-alive settings.

◆ codec_info

pjmedia_vid_codec_info pjmedia_vid_stream_info::codec_info

Incoming codec format info.

◆ codec_param

pjmedia_vid_codec_param* pjmedia_vid_stream_info::codec_param

Optional codec param.

◆ rtcp_sdes_bye_disabled

pj_bool_t pjmedia_vid_stream_info::rtcp_sdes_bye_disabled

Disable automatic sending of RTCP SDES and BYE.

◆ rc_cfg

pjmedia_vid_stream_rc_config pjmedia_vid_stream_info::rc_cfg

Stream send rate control settings.

◆ sk_cfg

pjmedia_vid_stream_sk_config pjmedia_vid_stream_info::sk_cfg

Stream send keyframe settings.


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

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.