SightLine Applications Inc.
SightLine Applications Command, Control, and Script API  v3.7
List of all members
SLASetEthernetDisplayParameters_t Struct Reference


Configure output format of Ethernet Video.

typedef struct {
u8 protocol;
u32be ipAddr;
u16 port;
u16 displayId;
u16 maxPacket;
u16 maxRawPacket;

Sets the destination IP address and port number where the video will be sent.
See also SLAVideoDisplay_t to set the Display Destination mode.
Video quality settings can be set using SLASetEthernetVideoParameters_t and/or SLASetH264Parameters_t depending on which Video Mode is selected.

Message ID 0x29

Byte Offset Name Description
4protocolVideo encoding and transport
  • 0 = Reserved
  • 1 = MPEG2-TS H.264 Baseline/High/Main Profile SD/HD video encoding
  • 2 = Reserved
  • 3 = Reserved
  • 4 = Reserved
  • 5 = RTP H.264 for use with RTSP
  • 6 = RTP MPEG2-TS H.264 for use with RTSP
  • 7 = Reserved
  • 8 = MPEG2-TS H.265
  • 9 = RTP H.265 for use with RTSP
  • 10 = RTP MPEG-TS H.265 for use with RTSP
  • 11 = MPEG2-TS KLV Only. Use this mode to stream an MPEG2-TS with only KLV data.
  • 12-14 = Reserved
  • 15 = None
4-5 Aggregate Packet Mode - RTP H.264 and RTP H.265 only, set to 0 otherwise.
0Default - Aggregate packets enabled for RTP H.265 and disabled for RTP H.264
1Enable Aggregate Packets
2Disable Aggregate Packets
60 = Standard encapsulation (default), 1= for MPEG2-TS types output only raw encoded video w/o encapsulation
70 = disable broadcast video (default), 1= enable broadcast video.
NOTE: Enabling broadcast video may interact strongly with other network traffic. Use with caution.
5-8ipAddrAny valid IPv4 address. If address is within the valid Multicast range the video will be sent as a multicast packet. For example: the address is in the Multicast range, and setting ipAddr to this address will cause multicast video to be sent. The Time To Live(TTL) for all Multicast packets is set to 64, so this will limit how many intermediate hops between the source(SLA Hardware) and the destination(the PC). If Broadcast Ethernet Video bit is set to 1, then you must set the IP address to to accommodate either limited or directed broadcast.
9-10portAny value > 0, port 5004 recommended for RTP MJPEG; port 15004 recommended for other protocols.
NOTE: Per RFC 3550 port number should be even for RTP protocols. Odd port will be rejected and system will generate a SLAUserWarningMessage_t.
11-12displayIdNetwork Display ID
4000/17XX: (0x0002 = Net0, 0x0080 = Net1, 0x0082 = both)
13-14maxPacketMaximum number of bytes per UDP packet in MPEG2-TS protocols. (188..1316). Only valid when protocol is 1, 3, 4, 6, 8, 10, or 11. A value of 0 defaults to the maximum value. This still affects the same protocols when Standard Encapsulation is enabled.
15-16maxRawPacketMaximum number of bytes per UDP packet Non-MPEG2-TS protocols. (300..1472). Only valid when protocol is 5 or 9. A value below the minimum defaults to the maximum value. New 3.5.8