eXosip2_sdp(3)
π eXosip2_sdp β the SDP helper era
okay so bestie, welcome to the eXosip2_sdp(3) page from libeXosip2 β this is the SDP helper API, and honestly it's giving "small but mighty" π. It's a whole little squad of functions that go grab SDP bodies, connections and media info so you don't have to dig through the raw structures yourself. slay.
β¨ SYNOPSIS β¨
π«Ά Functions
sdp_message_t * eXosip_get_remote_sdp (struct eXosip_t *excontext, int
did)
sdp_message_t * eXosip_get_local_sdp (struct eXosip_t *excontext, int
did)
sdp_message_t * eXosip_get_previous_local_sdp (struct eXosip_t
*excontext, int did)
sdp_message_t * eXosip_get_remote_sdp_from_tid (struct eXosip_t
*excontext, int tid)
sdp_message_t * eXosip_get_local_sdp_from_tid (struct eXosip_t
*excontext, int tid)
sdp_message_t * eXosip_get_sdp_info (osip_message_t *message)
sdp_connection_t * eXosip_get_audio_connection (sdp_message_t *sdp)
sdp_media_t * eXosip_get_audio_media (sdp_message_t *sdp)
sdp_connection_t * eXosip_get_video_connection (sdp_message_t *sdp)
sdp_media_t * eXosip_get_video_media (sdp_message_t *sdp)
sdp_connection_t * eXosip_get_connection (sdp_message_t *sdp, const char
*media)
sdp_media_t * eXosip_get_media (sdp_message_t *sdp, const char *media)
πΈ Detailed Description πΈ
like, the whole vibe here: these are the helpers that hand you the SDP stuff (remote/local bodies, per-media connections and media entries) without you having to spelunk for it. main character energy only π .
π Function Documentation π
sdp_message_t* eXosip_get_remote_sdp (struct eXosip_t * excontext, int did)
Gets you the remote SDP body for the latest INVITE of the call. iconic.
Parameters
excontextβ theeXosip_tinstance.didβ dialog id of the call.
sdp_message_t* eXosip_get_local_sdp (struct eXosip_t * excontext, int did)
Gets you the local SDP body for the latest INVITE of the call. periodt.
Parameters
excontextβ theeXosip_tinstance.didβ dialog id of the call.
sdp_message_t* eXosip_get_previous_local_sdp (struct eXosip_t * excontext, int did)
Gets you the local SDP body for the previous latest INVITE of the call β yes, the one before the current one, we love a throwback π.
Parameters
excontextβ theeXosip_tinstance.didβ dialog id of the call.
sdp_message_t* eXosip_get_remote_sdp_from_tid (struct eXosip_t * excontext, int tid)
Gets you the remote SDP body for the latest INVITE of the call β but by transaction instead of dialog. same energy, different key π.
Parameters
excontextβ theeXosip_tinstance.tidβ transction id of transaction. (yes, that's spelled exactly like that in the source, we're keeping it, no cap π)
sdp_message_t* eXosip_get_local_sdp_from_tid (struct eXosip_t * excontext, int tid)
Gets you the local SDP body for the latest INVITE of the call β transaction-flavoured π.
Parameters
excontextβ theeXosip_tinstance.tidβ transction id of transaction.
sdp_message_t* eXosip_get_sdp_info (osip_message_t * message)
Gets you the local SDP body for the message you hand it. one message in, SDP out, we love a clean trade β¨.
Parameters
messageβ message containing the SDP.
sdp_connection_t* eXosip_get_audio_connection (sdp_message_t * sdp)
Grabs the audio connection info for the call π§.
Parameters
sdpβ sdp information.
sdp_media_t* eXosip_get_audio_media (sdp_message_t * sdp)
Grabs the audio media info for the call π.
Parameters
sdpβ sdp information.
sdp_connection_t* eXosip_get_video_connection (sdp_message_t * sdp)
Grabs the video connection info for the call π₯.
Parameters
sdpβ sdp information.
sdp_media_t* eXosip_get_video_media (sdp_message_t * sdp)
Grabs the video media info for the call πΉ.
Parameters
sdpβ sdp information.
sdp_connection_t* eXosip_get_connection (sdp_message_t * sdp, const char * media)
Grabs the connection info for whichever media you ask for β you name it, it fetches it π«.
Parameters
sdpβ sdp information.mediaβ media to search.
sdp_media_t* eXosip_get_media (sdp_message_t * sdp, const char * media)
Grabs the media info for whichever media you ask for. the generic icon π.
Parameters
sdpβ sdp information.mediaβ media to search.
π Author π
Generated automatically by Doxygen for libeXosip2 from the source code. (the robots wrote this one, we're just hyping it up π€π)
bestie reminder: every signature, every parameter name, every typo in transction β all preserved exactly. do not come for me, come for the source π
and that's the page!! mwah π«Ά
Version 5.3.0 Β· Thu May 18 2023 β libeXosip2 said "here's your SDP helpers" and honestly? she ate. go build something iconic with them πβ¨π
π¦ where this page comes from
- epel 9: libeXosip2-devel 5.3.0-2.el9 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms