Example SDP File

Scope

Sometimes you need an SDP file, but depending on what device you have, you might not be able to download one. That's OK, it's pretty easy to write your own. This article provides an example that you can follow.

If you are working with a Livewire device and you need to convert a Livewire channel to a multicast address, click here and use the calculator.

The example below presumes that the following are true. Change the values to suit your purpose:

  • The IP address of the device is 172.30.8.37 ('o' line)
  • Stream1 is the arbitrary name of the stream ('s' line)
  • The multicast address of the stream is 239.30.22.1 ('c' line)
  • The MAC address of the PTP clock generator is 01:23:45:67:89:AB:CD:EF('a=ts-refclk' line)
  • And the PTP domain is 127 (listed after the PTP mac address in the 'a=ts-refclk' line)
v=0
o=Node 1 1 IN IP4 172.30.8.37
s=Stream1
t=0 0
m=audio 5004 RTP/AVP 96
c=IN IP4 239.30.22.1
a=rtpmap:96 L24/48000/2
a=recvonly
a=ptime:1
a=ts-refclk:ptp=IEEE1588-2008:01-23-45-67-89-AB-CD-EF:127
a=mediaclk:direct=0
a=sync-time:0

Finally, save the text tile with the *.sdp extension.

The name of the file should match the stream name given in the 's' line for consistency, but is not required. In this example, Stream1.sdp

Let us know how we can help

If you have further questions on this topic or have ideas about improving this document, please contact us.


How did we do?