|
libwebsockets
Lightweight C library for HTML5 websockets
|
#include <lws-protocols-plugins.h>
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) |
Definition at line 393 of file lws-protocols-plugins.h.
| uint32_t lws_webrtc_ops::abi_version |
Definition at line 394 of file lws-protocols-plugins.h.
| 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.
| 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.
| 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.
| int(* lws_webrtc_ops::send_pli) (struct pss_webrtc *pss) |
Definition at line 399 of file lws-protocols-plugins.h.
| void(* lws_webrtc_ops::media_ref) (struct lws_webrtc_peer_media *media) |
Definition at line 400 of file lws-protocols-plugins.h.
| void(* lws_webrtc_ops::media_unref) (struct lws_webrtc_peer_media **pmedia) |
Definition at line 401 of file lws-protocols-plugins.h.
| 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.
| struct lws_webrtc_peer_media *(* lws_webrtc_ops::get_media) (struct pss_webrtc *pss) |
Definition at line 402 of file lws-protocols-plugins.h.
| 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.
| void *(* lws_webrtc_ops::get_user_data) (struct pss_webrtc *pss) |
Definition at line 406 of file lws-protocols-plugins.h.
| void(* lws_webrtc_ops::set_user_data) (struct pss_webrtc *pss, void *data) |
Definition at line 407 of file lws-protocols-plugins.h.
| struct lws_vhost *(* lws_webrtc_ops::get_vhost) (struct vhd_webrtc *vhd) |
Definition at line 407 of file lws-protocols-plugins.h.
| struct lws_context *(* lws_webrtc_ops::get_context) (struct vhd_webrtc *vhd) |
Definition at line 407 of file lws-protocols-plugins.h.
| 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.
| uint8_t(* lws_webrtc_ops::get_video_pt) (struct pss_webrtc *pss) |
Definition at line 412 of file lws-protocols-plugins.h.
| uint8_t(* lws_webrtc_ops::get_audio_pt) (struct pss_webrtc *pss) |
Definition at line 413 of file lws-protocols-plugins.h.
| uint8_t(* lws_webrtc_ops::get_video_pt_h264) (struct pss_webrtc *pss) |
Definition at line 415 of file lws-protocols-plugins.h.
| uint8_t(* lws_webrtc_ops::get_video_pt_av1) (struct pss_webrtc *pss) |
Definition at line 416 of file lws-protocols-plugins.h.
| uint16_t(* lws_webrtc_ops::get_seq_video) (struct pss_webrtc *pss) |
Definition at line 417 of file lws-protocols-plugins.h.
| int(* lws_webrtc_ops::create_offer) (struct pss_webrtc *pss) |
Definition at line 418 of file lws-protocols-plugins.h.