blob: 219909d410ed03ba73fc2684251694a0e446444e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
---
title: SDP
slug: Glossary/SDP
translation_of: Glossary/SDP
original_slug: Глоссарий/SDP
---
<p><strong>SDP </strong>(Session Description {{glossary("Protocol")}} - протокол описания сессии) - это текстовый формат для описания {{Glossary("P2P","peer-to-peer")}}-соединения. SDP содержит описание {{Glossary("кодеков")}}, адрес источника и информацию для синхронизации аудио и видео.</p>
<p>Here is a typical SDP message:</p>
<pre> v=0
o=alice 2890844526 2890844526 IN IP4 host.anywhere.com
s=
c=IN IP4 host.anywhere.com
t=0 0
m=audio 49170 RTP/AVP 0
a=rtpmap:0 PCMU/8000
m=video 51372 RTP/AVP 31
a=rtpmap:31 H261/90000
m=video 53000 RTP/AVP 32
a=rtpmap:32 MPV/90000</pre>
<p>SDP is never used alone, but by protocols like {{Glossary("RTP")}} and {{Glossary("RTSP")}}. SDP is also as component of {{Glossary("WebRTC")}}, which uses SDP as a way of describing a session.</p>
<h2 id="Learn_more">Learn more</h2>
<h3 id="General_knowledge">General knowledge</h3>
<ul>
<li><a href="/en-US/docs/Web/API/WebRTC_API/Architecture/Protocols">WebRTC protocols</a></li>
<li>{{Interwiki("wikipedia", "Session Description Protocol")}} on Wikipedia</li>
</ul>
|