Questions tagged [sdp]

The Session Description Protocol (SDP) describes multimedia sessions for the purpose of session announcement, session invitation and other forms of multimedia session initiation.

Session directories assist the advertisement of conference sessions and communicate the relevant conference setup information to prospective participants. SDP is designed to convey such information to recipients. SDP is purely a format for session description - it does not incorporate a transport protocol, and is intended to use different transport protocols as appropriate including the Session Announcement Protocol (SAP) , Session Initiation Protocol (SIP) , Real-Time Streaming Protocol (RTSP) , electronic mail using the MIME extensions, and the Hypertext Transport Protocol (HTTP) .

Protocol Structure - SDP (Session Description Protocol)

SDP messages are text messages using the ISO 10646 character set in UTF-8 encoding. SDP Session description (optional fields has an *) is:

v= (protocol version)

o= (owner/creator and session identifier).

s= (session name)

i=* (session information)

u=* (URI of description)

e=* (email address)

p=* (phone number)

c=* (connection information - not required if included in all media)

b=* (bandwidth information)

One or more time descriptions (see below)

z=* (time zone adjustments)

k=* (encryption key)

a=* (zero or more session attribute lines)

Zero or more media descriptions (see below)

Time description

t= (time the session is active)

r=* (zero or more repeat times)

Media description

m= (media name and transport address)

i=* (media title)

c=* (connection information - optional if included at session-level)

b=* (bandwidth information)

k=* (encryption key)

a=* (zero or more media attribute lines)

388 questions
0
votes
1 answer

Generate SDP file

I'm trying to stream from my android device on a local PC host. So, I use some sipvoip libraries like sipdroidsocket. The thing is that wireshark catches all the packets from my android device, but VLC can't play the data stream (Rtp) and the error…
JasJar
  • 336
  • 3
  • 14
0
votes
2 answers

Creating\Editing BlueTooth SDP records

Do anybody know of any (free) tools that can aid in the creation\editing of Blue-Tooth's SDP (Service Discovery) records? Windows based tools preferred.
Anonymouse
  • 935
  • 9
  • 20
0
votes
3 answers

Open SDP File in .Net C#

I'm developing a C#’s application with the ability to view an MJPEG encoded video stream, from an encoder (Teleste MPX-E8). I can see a stream through the Encoder’s Video Encoding Settings page, and I’ve read the stream is encapsulated in an SDP…
Leucistic
  • 1
  • 1
0
votes
1 answer

Set of "test vectors" for an SDP parser?

I wrote an SDP (Session Description Protocol, RFC 4566) parser and I would like to test it with a comprehensive set of "test vectors," i.e., a set of SDP descriptions that stress, as much as possible, every aspect of the parser. I googled things…
Riccardo B.
  • 191
  • 3
0
votes
2 answers

what's wrong with this Regex? (Look-Ahead and Look-Behind)

I try to extract the media description of a SDP package. I have a line like a=rtpmap:113 H264/90000 (after that there is always a carriage return) I want everything after a=rtpmap:[number][whitespace] till the carriage return, without the return…
Michael Niemand
  • 1,578
  • 3
  • 23
  • 39
-1
votes
1 answer

How to grab a single image from a video stream without connecting the stream (bandwidth issue)

Not sure it is possible, but how can I get a single Image from video stream WITHOUT connecting the stream (rtsp) itself (I have bandwidth issue)? (priority to python but any code framework/language will be good). This is an example SDP file of the…
Shai M.
  • 1,284
  • 4
  • 17
  • 30
-1
votes
1 answer

Codec negotiation in Sip invite

I have configured my driving and receiving sip endpoints with the codecs PCMA, PCMU and G729A respectively. When I see the sip invite from the driving end, I see the codecs in the same order. The 183 session progress from the receiving side shows…
Madhumita
  • 1
  • 1
  • 2
-1
votes
1 answer

How many times SDP protocol is passed in a video call

1)In webrtc at initial state we pass sdp protocol between peers to establish a connection.Does it happen only once or it happens through out the call process? 2)How does it calculate the peers bandwidth?Can we change it dynamically?
Raja Dhasan
  • 583
  • 1
  • 5
  • 16
-1
votes
1 answer

The value of the pointer pointed to by the double pointer is lost (c code)

I am working on a c code that does some manipulation on SIP messages to be more specific it extracts values from the SDP body of the message. I am not a professional in c, but using the knowledge I gained from a course in my university I wrote my…
Ta.Da
  • 68
  • 1
  • 10
-1
votes
1 answer

Not able to receive body message in CURL_RTSPREQ_ANNOUNCE

I'm trying to make a rtsp client using curl and in ANNOUNCE response I'm not able to get body with the SPD. I'm doing this setup. curl_easy_setopt(ch, CURLOPT_URL, fullURL); curl_easy_setopt(ch, CURLOPT_RTSP_STREAM_URI,…
Mquinteiro
  • 1,034
  • 1
  • 11
  • 31
-1
votes
2 answers

SIP call video m line rejected with port as 0

What are all the reasons, so that remote can reject video m-line as 0
-1
votes
1 answer

Huawei 9000 HD Video Terminal

I'm trying to make Huawei 9000 HD Video Terminal MCU work with asterisk. Huawei's mcu do not transmit any h264 video and refuses to play the video asterisk sends to it. Sniffing with wireshark I saw the entire sip negotiation ( relevant traces below…
danflu
  • 325
  • 8
  • 25
-2
votes
1 answer

Using Regex find a specific string followed by two strings separated with spaces

I am trying to find a quick way to extract info from a longer string. In particular, I am working with an SDP body and the string in question is: "v=0 o=111 843670094 843670094 IN IP4 192.168.1.101 s=- c=IN IP4 192.168.1.101 t=0…
Mr Z
  • 35
  • 5
1 2 3
25
26