Home --> Documentations --> PJMEDIA Reference

pjmedia_port Struct Reference

Data Structures

struct  port_data

Data Fields

pjmedia_port_info info
struct pjmedia_port::port_data port_data
pjmedia_clock_src *(* get_clock_src )(struct pjmedia_port *this_port, pjmedia_dir dir)
pj_status_t(* put_frame )(struct pjmedia_port *this_port, pjmedia_frame *frame)
pj_status_t(* get_frame )(struct pjmedia_port *this_port, pjmedia_frame *frame)
pj_status_t(* on_destroy )(struct pjmedia_port *this_port)

Detailed Description

Port interface.

Field Documentation

◆ info

pjmedia_port_info pjmedia_port::info

Port information.

◆ get_clock_src

pjmedia_clock_src*(* pjmedia_port::get_clock_src) (struct pjmedia_port *this_port, pjmedia_dir dir)

Get clock source. This should only be called by pjmedia_port_get_clock_src().

◆ put_frame

pj_status_t(* pjmedia_port::put_frame) (struct pjmedia_port *this_port, pjmedia_frame *frame)

Sink interface. This should only be called by pjmedia_port_put_frame().

◆ get_frame

pj_status_t(* pjmedia_port::get_frame) (struct pjmedia_port *this_port, pjmedia_frame *frame)

Source interface. This should only be called by pjmedia_port_get_frame().

◆ on_destroy

pj_status_t(* pjmedia_port::on_destroy) (struct pjmedia_port *this_port)

Called to destroy this port.

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


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