|
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 418 of file lws-protocols-plugins.h.
| uint32_t lws_webrtc_ops::abi_version |
Definition at line 419 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 421 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 422 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 423 of file lws-protocols-plugins.h.
| int(* lws_webrtc_ops::send_pli) (struct pss_webrtc *pss) |
Definition at line 424 of file lws-protocols-plugins.h.
| void(* lws_webrtc_ops::media_ref) (struct lws_webrtc_peer_media *media) |
Definition at line 425 of file lws-protocols-plugins.h.
| void(* lws_webrtc_ops::media_unref) (struct lws_webrtc_peer_media **pmedia) |
Definition at line 426 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 427 of file lws-protocols-plugins.h.
| struct lws_webrtc_peer_media *(* lws_webrtc_ops::get_media) (struct pss_webrtc *pss) |
Definition at line 427 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 429 of file lws-protocols-plugins.h.
| void *(* lws_webrtc_ops::get_user_data) (struct pss_webrtc *pss) |
Definition at line 431 of file lws-protocols-plugins.h.
| void(* lws_webrtc_ops::set_user_data) (struct pss_webrtc *pss, void *data) |
Definition at line 432 of file lws-protocols-plugins.h.
| struct lws_vhost *(* lws_webrtc_ops::get_vhost) (struct vhd_webrtc *vhd) |
Definition at line 432 of file lws-protocols-plugins.h.
| struct lws_context *(* lws_webrtc_ops::get_context) (struct vhd_webrtc *vhd) |
Definition at line 432 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 435 of file lws-protocols-plugins.h.
| uint8_t(* lws_webrtc_ops::get_video_pt) (struct pss_webrtc *pss) |
Definition at line 437 of file lws-protocols-plugins.h.
| uint8_t(* lws_webrtc_ops::get_audio_pt) (struct pss_webrtc *pss) |
Definition at line 438 of file lws-protocols-plugins.h.
| uint8_t(* lws_webrtc_ops::get_video_pt_h264) (struct pss_webrtc *pss) |
Definition at line 440 of file lws-protocols-plugins.h.
| uint8_t(* lws_webrtc_ops::get_video_pt_av1) (struct pss_webrtc *pss) |
Definition at line 441 of file lws-protocols-plugins.h.
| uint16_t(* lws_webrtc_ops::get_seq_video) (struct pss_webrtc *pss) |
Definition at line 442 of file lws-protocols-plugins.h.
| int(* lws_webrtc_ops::create_offer) (struct pss_webrtc *pss) |
Definition at line 443 of file lws-protocols-plugins.h.