WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

#include <sound.h>

Data Fields

pjmedia_dir dir
 
int play_id
 
int rec_id
 
unsigned clock_rate
 
unsigned channel_count
 
unsigned samples_per_frame
 
unsigned bits_per_sample
 
unsigned rec_latency
 
unsigned play_latency
 

Detailed Description

Stream information, can be retrieved from a live stream by calling pjmedia_snd_stream_get_info().

Field Documentation

◆ dir

pjmedia_dir pjmedia_snd_stream_info::dir

Stream direction.

◆ play_id

int pjmedia_snd_stream_info::play_id

Playback dev id, or -1 for rec only

◆ rec_id

int pjmedia_snd_stream_info::rec_id

Capture dev id, or -1 for play only

◆ clock_rate

unsigned pjmedia_snd_stream_info::clock_rate

Actual clock rate.

◆ channel_count

unsigned pjmedia_snd_stream_info::channel_count

Number of channels.

◆ samples_per_frame

unsigned pjmedia_snd_stream_info::samples_per_frame

Samples per frame.

◆ bits_per_sample

unsigned pjmedia_snd_stream_info::bits_per_sample

Bits per sample.

◆ rec_latency

unsigned pjmedia_snd_stream_info::rec_latency

Record latency, in samples.

◆ play_latency

unsigned pjmedia_snd_stream_info::play_latency

Playback latency, in samples.


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

 


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