Fork me on GitHub
Data Fields
janus_rtp_simulcasting_context Struct Reference

Helper struct for processing and tracking simulcast streams. More...

#include <rtp.h>

Data Fields

gint rid_ext_id
 RTP Stream extension ID, if any. More...
 
gint framemarking_ext_id
 Frame marking extension ID, if any. More...
 
int substream
 Which simulcast substream we should forward back. More...
 
int substream_target
 As above, but to handle transitions (e.g., wait for keyframe, or get this if available) More...
 
int templayer
 Which simulcast temporal layer we should forward back. More...
 
int templayer_target
 As above, but to handle transitions (e.g., wait for keyframe) More...
 
guint32 drop_trigger
 How much time (in us, default 250000) without receiving packets will make us drop to the substream below. More...
 
gint64 last_relayed
 When we relayed the last packet (used to detect when substreams become unavailable) More...
 
gboolean changed_substream
 Whether the substream has changed after processing a packet. More...
 
gboolean changed_temporal
 Whether the temporal layer has changed after processing a packet. More...
 
gboolean need_pli
 Whether we need to send the user a keyframe request (PLI) More...
 

Detailed Description

Helper struct for processing and tracking simulcast streams.

Field Documentation

gboolean janus_rtp_simulcasting_context::changed_substream

Whether the substream has changed after processing a packet.

gboolean janus_rtp_simulcasting_context::changed_temporal

Whether the temporal layer has changed after processing a packet.

guint32 janus_rtp_simulcasting_context::drop_trigger

How much time (in us, default 250000) without receiving packets will make us drop to the substream below.

gint janus_rtp_simulcasting_context::framemarking_ext_id

Frame marking extension ID, if any.

gint64 janus_rtp_simulcasting_context::last_relayed

When we relayed the last packet (used to detect when substreams become unavailable)

gboolean janus_rtp_simulcasting_context::need_pli

Whether we need to send the user a keyframe request (PLI)

gint janus_rtp_simulcasting_context::rid_ext_id

RTP Stream extension ID, if any.

int janus_rtp_simulcasting_context::substream

Which simulcast substream we should forward back.

int janus_rtp_simulcasting_context::substream_target

As above, but to handle transitions (e.g., wait for keyframe, or get this if available)

int janus_rtp_simulcasting_context::templayer

Which simulcast temporal layer we should forward back.

int janus_rtp_simulcasting_context::templayer_target

As above, but to handle transitions (e.g., wait for keyframe)


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