sdp_session_info Struct Reference
[SDP Library]
Session informations.
More...
#include <sdp.h>
Detailed Description
Session informations.
Each field will point to a description string inside the body of the description arrived from server.
On efficency, the same is true for the informations about medium, we can analyse the strategy used for savig the fields. In detail, the body of the SDP description is entirely saved in memory and, then, tokenized line by line. This way, the memory location is divided into strings, each containing an information field. Now it's possible to scan the entire memory location, whose size is known, and to assign each pointer field to the right description string. If an information is not present the corresponding pointer is left to the initialization value: NULL. Using this strategy we have a slight waste of memory space, but this is certainly lower than using pre-allocated strings. Furthermore we avoid many malloc in the code that would make heavier the execution of the program.
- See also:
- sdp_medium_info
Definition at line 135 of file sdp.h.
Field Documentation
protocol version
Definition at line 136 of file sdp.h.
owner/creator and session identifier
Definition at line 137 of file sdp.h.
session name
Definition at line 138 of file sdp.h.
session information
Definition at line 139 of file sdp.h.
URI of description
Definition at line 140 of file sdp.h.
email address
Definition at line 141 of file sdp.h.
phone number
Definition at line 142 of file sdp.h.
onnection information - not required if included in all media
Definition at line 143 of file sdp.h.
bandwidth information
Definition at line 144 of file sdp.h.
time the session is active
Definition at line 146 of file sdp.h.
zero or more repeat times
Definition at line 147 of file sdp.h.
time zone adjustments
Definition at line 149 of file sdp.h.
encryption key
Definition at line 150 of file sdp.h.
Creative Commons License struct
Definition at line 154 of file sdp.h.
Media information queue
Definition at line 156 of file sdp.h.
The documentation for this struct was generated from the following file:
Generated on Tue Feb 3 03:10:03 2009 for libnemesi by
1.5.4