SINKDG

From ICE Enterprises
Jump to navigation Jump to search
Send datagram of type RTP/RAW (UDP)
<IN> - Pipe to be streamed out (if exists)

Uses dgnetsend class to write (Raw data) to Multicast or unicast datagrams

Messages:
  Receive:
    OPENNET	 - Set state OFF, open stream on "host:port" specified in data,
                   and set state ON.
    SENDNET	 - TBD
    CLOSENET	 - Set state OFF
    EXITNET	 - Set state OFF and EXIT (close) primitive

Real-Time Controls:
  See the JavaDocs API for various sets and gets for this primitive.

Examples:
 1. Send piped data (_wave) over network (Multicast address 225.0.0.1 and
    port 18800)
    nM> sinkdg/hostport="225.0.0.1:18800" _wave

 2. Send piped data (_wave) over network (Unicast address 192.168.1.9 and
    port 18801)
    nM> sinkdg/hostport="192.168.1.9:18801" _wave

Switches:
  /CSRC       - Contributing source "ID" for 0th index for RTP output [DEF=0]
  /HOSTPORT=<host:port> - Send to "HOST:PORT"
  /ICEIN      - Used with /RTPTIME when ICE header in pipe [DEF=FALSE]
  /KEEPOPEN   - Keep the socket open if switch is present, otherwise write once.
  /LOG=<file> - Logs start and stop only to <file>
  /PACKETS    - Debug - show all packets [DEF=FALSE]
  /PTYPE      - PacketType for RTP [DEF=97]
  /RTP        - output RTP packets [DEF=FALSE]
  /RTPTIME    - output RTP with ICE/TIME in RTP Extended header [DEF=FALSE]
  /SSRC       - Synchronization source "ID" for RTP output [DEF=1]
  /TIMEOUT=<ms> - Sets socket timeout value in milliseconds [DEF=5000]
  /TL         - normal /TL (transfer Length) in bytes [DEF=2048]
  /TTL=n      - Time-to-live in multicast sense [DEF=1]
  /VERBOSE    - Turn on some information output

See Also: sourcedg, nxm.sys.net.dgnetsend