Sun Microsystems 2.1 manual Specifying Encapsulation, 1 Value of encap Field in MsmConnect

Models: 2.1

1 184
Download 184 pages 37.97 Kb
Page 118
Image 118
TABLE 7-1

The components of this address are as follows:

The <IP hostname> is the destination client’s IP hostname.

The <UDPport num> is the destination UDP port number on which the client host is awaiting data.

For example, the address of host=cordelia,udpport=40000 specifies that data be delivered to host cordelia at UDP port 40000.

The server must have available a name service (or appropriate entries in local /etc/ hosts and /etc/ethers) so that the client hostname can be resolved to the four- byte IP address and the six-byte Ethernet address before data transmission begins.

7.6Specifying Encapsulation

For all types of output links, you specify the encapsulation of the data for a particular bit stream with the MSMC API ‘s msmSetConnect() function. You fill in an instance of the MsmConnect structure before calling msmSetConnect(). This structure contains an encap field, which holds a string. This field determines the

encapsulation that the server uses to deliver data to the client. lists the strings used to specify different encapsulations.

TABLE 7-1Value of encap Field in MsmConnect

Encapsulation Type

encap Contents

 

 

 

MPEG-2

Transport Stream

MPEGTS

MPEG-2

Program Stream

MPEGPS

MPEG-1

System Stream

MPEG1SYS

Thomson Consumer Electronics

MPEGTCE

 

 

 

7-8Sun MediaCenter Server Administrator’s Guide • December 1997

Page 118
Image 118
Sun Microsystems 2.1 manual Specifying Encapsulation, 1 Value of encap Field in MsmConnect