Difference between revisions of "SAP"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{wikipedia|Session Announcement Protocol}}
 
{{wikipedia|Session Announcement Protocol}}
'''SAP''' stands for '''Session Announcement Protocol'''. It's defined in  [http://www.ietf.org/rfc/rfc2974.txt |RFC2974]. It's a distributed directory of announcements of streams and uses [[multicast]] to effeciently distribute these announces on the Local Area Network or on the [[MBONE]]. It uses [[SDP]]'s to describe streams so that you can open the stream via RTSP[[?]].
+
'''SAP''' stands for '''Session Announcement Protocol'''.
 +
It is defined in  [http://www.ietf.org/rfc/rfc2974.txt RFC2974].
 +
It uses [[multicast]] to announce streams efficiently on a Local Area Network or on the [[MBONE]]:
 +
any computer on the network can receive announces from all others without any manual configuration.
  
This technique will allow you to have a lot of server produce streams (often multicasted) and announce themselves on the network. The clients on the network can then listen for these announces. VLC can do this with the sap interface. You then get a listing of all these streams and can simply 'tune' into the stream of your choice.
+
SAP conveys [[SDP]]'s to describe streams parameters. This can include an [[RTSP]] control URL to use for setting up the stream, or a multicast group address to subscribe to. The SDP also includes port numbers and audio/video codecs parameters, and a stream name, etc.
  
It can also work for Internet telephony (SIP) for instance.
+
This technique allows a lot of server to emit streams (often multicasted) and announce them on the network.
 +
Clients on the network can then listen for these announces.
 +
VLC can do this with the "SAP" service discovery plugin.
 +
You then get a listing of all these streams and can simply ''tune'' into the stream of your choice.
 +
 
 +
Because SAP uses [[multicast]] (as do [[UPnP]] and Apple [[Bonjour]]), it can normally only operate on a Local area network.
 +
Unless your computer is connected to the [[MBONE]], you cannot use SAP to advertise your streams onto the Internet, nor can you receive streams from other places.
  
Example of what is announced via SAP on the MBONE:
 
http://www.uninett.no/multimedia/streamingguide/alle.html
 
  
 
== See also ==
 
== See also ==
 
* [[MiniSAPServer]]
 
* [[MiniSAPServer]]
 +
* [http://www.uninett.no/multimedia/streamingguide/alle.html Example of what is announced via SAP on the MBONE]
 +
  
 
[[Category:Protocols]]
 
[[Category:Protocols]]

Revision as of 12:26, 29 September 2007

SAP stands for Session Announcement Protocol. It is defined in RFC2974. It uses multicast to announce streams efficiently on a Local Area Network or on the MBONE: any computer on the network can receive announces from all others without any manual configuration.

SAP conveys SDP's to describe streams parameters. This can include an RTSP control URL to use for setting up the stream, or a multicast group address to subscribe to. The SDP also includes port numbers and audio/video codecs parameters, and a stream name, etc.

This technique allows a lot of server to emit streams (often multicasted) and announce them on the network. Clients on the network can then listen for these announces. VLC can do this with the "SAP" service discovery plugin. You then get a listing of all these streams and can simply tune into the stream of your choice.

Because SAP uses multicast (as do UPnP and Apple Bonjour), it can normally only operate on a Local area network. Unless your computer is connected to the MBONE, you cannot use SAP to advertise your streams onto the Internet, nor can you receive streams from other places.


See also