libwebsockets
Lightweight C library for HTML5 websockets
class="ui-resizable-handle">
Loading...
Searching...
No Matches
lws_webrtc_ops Struct Reference

#include <lws-protocols-plugins.h>

Collaboration diagram for lws_webrtc_ops:

Data Fields

uint32_t abi_version
int(* send_video )(struct lws_webrtc_peer_media *media, const uint8_t *buf, size_t len, int codec, uint32_t pts)
int(* send_audio )(struct lws_webrtc_peer_media *media, const uint8_t *buf, size_t len, uint32_t timestamp)
int(* send_text )(struct pss_webrtc *pss, const char *buf, size_t len)
int(* send_pli )(struct pss_webrtc *pss)
void(* media_ref )(struct lws_webrtc_peer_media *media)
void(* media_unref )(struct lws_webrtc_peer_media **pmedia)
int(* foreach_session )(struct vhd_webrtc *vhd, lws_webrtc_session_iter_cb cb, void *user)
struct lws_webrtc_peer_media *(* get_media )(struct pss_webrtc *pss)
int(* shared_callback )(struct lws *wsi, enum lws_callback_reasons reason, void *user, void *in, size_t len, struct vhd_webrtc *vhd)
void *(* get_user_data )(struct pss_webrtc *pss)
void(* set_user_data )(struct pss_webrtc *pss, void *data)
struct lws_vhost *(* get_vhost )(struct vhd_webrtc *vhd)
struct lws_context *(* get_context )(struct vhd_webrtc *vhd)
void(* set_on_media )(struct vhd_webrtc *vhd, lws_webrtc_on_media_cb cb)
uint8_t(* get_video_pt )(struct pss_webrtc *pss)
uint8_t(* get_audio_pt )(struct pss_webrtc *pss)
uint8_t(* get_video_pt_h264 )(struct pss_webrtc *pss)
uint8_t(* get_video_pt_av1 )(struct pss_webrtc *pss)
uint16_t(* get_seq_video )(struct pss_webrtc *pss)
int(* create_offer )(struct pss_webrtc *pss)

Detailed Description

Definition at line 393 of file lws-protocols-plugins.h.

Field Documentation

◆ abi_version

uint32_t lws_webrtc_ops::abi_version

Definition at line 394 of file lws-protocols-plugins.h.

◆ send_video

int(* lws_webrtc_ops::send_video) (struct lws_webrtc_peer_media *media, const uint8_t *buf, size_t len, int codec, uint32_t pts)

Definition at line 396 of file lws-protocols-plugins.h.

◆ send_audio

int(* lws_webrtc_ops::send_audio) (struct lws_webrtc_peer_media *media, const uint8_t *buf, size_t len, uint32_t timestamp)

Definition at line 397 of file lws-protocols-plugins.h.

◆ send_text

int(* lws_webrtc_ops::send_text) (struct pss_webrtc *pss, const char *buf, size_t len)

Definition at line 398 of file lws-protocols-plugins.h.

◆ send_pli

int(* lws_webrtc_ops::send_pli) (struct pss_webrtc *pss)

Definition at line 399 of file lws-protocols-plugins.h.

◆ media_ref

void(* lws_webrtc_ops::media_ref) (struct lws_webrtc_peer_media *media)

Definition at line 400 of file lws-protocols-plugins.h.

◆ media_unref

void(* lws_webrtc_ops::media_unref) (struct lws_webrtc_peer_media **pmedia)

Definition at line 401 of file lws-protocols-plugins.h.

◆ foreach_session

int(* lws_webrtc_ops::foreach_session) (struct vhd_webrtc *vhd, lws_webrtc_session_iter_cb cb, void *user)

Definition at line 402 of file lws-protocols-plugins.h.

◆ get_media

struct lws_webrtc_peer_media *(* lws_webrtc_ops::get_media) (struct pss_webrtc *pss)

Definition at line 402 of file lws-protocols-plugins.h.

◆ shared_callback

int(* lws_webrtc_ops::shared_callback) (struct lws *wsi, enum lws_callback_reasons reason, void *user, void *in, size_t len, struct vhd_webrtc *vhd)

Definition at line 404 of file lws-protocols-plugins.h.

◆ get_user_data

void *(* lws_webrtc_ops::get_user_data) (struct pss_webrtc *pss)

Definition at line 406 of file lws-protocols-plugins.h.

◆ set_user_data

void(* lws_webrtc_ops::set_user_data) (struct pss_webrtc *pss, void *data)

Definition at line 407 of file lws-protocols-plugins.h.

◆ get_vhost

struct lws_vhost *(* lws_webrtc_ops::get_vhost) (struct vhd_webrtc *vhd)

Definition at line 407 of file lws-protocols-plugins.h.

◆ get_context

struct lws_context *(* lws_webrtc_ops::get_context) (struct vhd_webrtc *vhd)

Definition at line 407 of file lws-protocols-plugins.h.

◆ set_on_media

void(* lws_webrtc_ops::set_on_media) (struct vhd_webrtc *vhd, lws_webrtc_on_media_cb cb)

Definition at line 410 of file lws-protocols-plugins.h.

◆ get_video_pt

uint8_t(* lws_webrtc_ops::get_video_pt) (struct pss_webrtc *pss)

Definition at line 412 of file lws-protocols-plugins.h.

◆ get_audio_pt

uint8_t(* lws_webrtc_ops::get_audio_pt) (struct pss_webrtc *pss)

Definition at line 413 of file lws-protocols-plugins.h.

◆ get_video_pt_h264

uint8_t(* lws_webrtc_ops::get_video_pt_h264) (struct pss_webrtc *pss)

Definition at line 415 of file lws-protocols-plugins.h.

◆ get_video_pt_av1

uint8_t(* lws_webrtc_ops::get_video_pt_av1) (struct pss_webrtc *pss)

Definition at line 416 of file lws-protocols-plugins.h.

◆ get_seq_video

uint16_t(* lws_webrtc_ops::get_seq_video) (struct pss_webrtc *pss)

Definition at line 417 of file lws-protocols-plugins.h.

◆ create_offer

int(* lws_webrtc_ops::create_offer) (struct pss_webrtc *pss)

Definition at line 418 of file lws-protocols-plugins.h.


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