"Go" SDP file

Source: Internet
Author: User

SDP fileIntroduction

The session Description Protocol (SDP) is a format for describing the initialization parameters of streaming media Session S. SDP does not deliver media itself are used for negotiation between end points of media type, format, and all Associa Ted Properties.

To connect to a streaming server sending an MPEG2 transport stream, you don't have usually has to use an SDP file since it ' s M Ore convenient to use direct pseudo-uris like:

Rtp://{streaming_server_ip}:{port}
Udp://{streaming_server_ip}:{port}

Nevertheless, when most control over the parameters of the stream is required, an SDP description file may be used Instea D. The SDP file can be located on the HMP or on a remote server. To include an SDP file inside your project, set the URI of a media layer to:

MY_SDP_FILE.SDP (if the SDP file is located into the root of your project) or
HTTP://MY_SERVER/MY_SDP_FILE.SDP (if the SDP file is located on a remote server).

The following is supported:

SDP that refers to a mpeg2ts via RTP or UDP (all valid codecs for use on an MPEG-2 TS is supported:mpeg 1/2/4/h264);
SDP that refers to a raw bitstream of MPEG 1/2/4/h264.

See also the supported attributes sections for ways to overwrite the HMP default behaviour.

SDP file Syntax

A session is described by a series <character>=<value> of fields (one per line), where are a single <character> case-significant character and is <value> structured text whose format depends upon the first one. For more details about this subject, see Session description sections on the Wikipedia site.

Sample:

v=0  o11 in IP4 <your.domain.name> s=Anonymous c=in IP4 <streaming_server_ip> t=00  m

where

<streaming_server_ip> is usually a multicast address (for instance 239.192.1.21).
<streaming_port> should be above 1024x768 (for instance 5000).
<streaming_format> is either UDP (or direct streaming-over-UDP) or RTP/AVP (for a transport stream inside RTP packet s).

Supported Attributes

The following session attributes is supported by the HMP:

    • a=audioPid:<audio_pid>
      Selection of the audio PID.
    • a=program:<program_number>
      Selection of the program number
    • a=videoPid:<video_pid>
      Selection of the video PID.

Notes:

    • To find out the "possible values for", <program_number> <videoPid> and/or <audioPid> , first connect to the streaming server without specifying Any attribute and then open the Resources.log-retrieve the values returned by the streaming server.
    • The audioPid and videoPid attributes were introduced in firmware version 2.2.5 to replace the deprecated exterityVideoPid and exterityAudioPid Attribu TES (which is no longer supported).

Transferred from: Http://support.spinetix.com/wiki/SDP_file

"Go" SDP file

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.