RTMP support reference

This reference lists what Wowza Streaming Engine (WSE) supports over RTMP: protocol variants, ports, codecs, authentication, and stream targets. It also covers Enhanced RTMP (ERTMP), which WSE 4.13.0 and later supports on the same endpoints. To set up an RTMP source, see Set up live streaming using an RTMP-based encoder.

Protocol variants and ports


Variant Scheme Default port Notes
RTMP rtmp:// 1935 Plain RTMP over TCP.
RTMPS rtmps:// 443, once configured RTMP over TLS. Requires an SSL host port in VHost.xml. The default VHost.xml includes a commented-out port 443 entry.
RTMPT rtmpt:// 1935 RTMP tunneled over HTTP. Add port 80 to the streaming host port to reach clients behind restrictive firewalls.
RTMPE, RTMPTE rtmpe://, rtmpte:// 1935 RTMP with RC4 encryption. Not available in FIPS mode. Use RTMPS instead.

ERTMP uses the same schemes and ports. It isn't a separate URL scheme, port, or application type.

Codec support


WSE sends each player or stream target only the codecs it declares support for when it connects. The RTMP column applies to encoders, players, and stream targets that don't support ERTMP, and to any codec an ERTMP player didn't name. The ERTMP column applies to encoders that send ERTMP, and to the codecs an ERTMP player or stream target names.

Video codecs

Codec RTMP ERTMP ERTMP FourCC Transcoder support
H.264 Yes Yes, in legacy framing avc1 Decode, encode
HEVC Yes, in the legacy codec ID 12 form Yes hvc1, hev1 Decode, encode
VP8 No. WSE withholds the track. Yes vp08 Decode, encode
VP9 No. WSE withholds the track. Yes vp09 Decode only
AV1, VVC (H.266) No Rejected av01, vvc1 No

Audio codecs

Codec RTMP ERTMP ERTMP FourCC Transcoder support
AAC Yes Yes, in legacy framing mp4a Decode, encode
MP3 Yes Yes, in legacy framing .mp3 Decode only
Opus No. WSE withholds the track. Yes Opus Decode, encode
AC-3 No. WSE withholds the track. Yes ac-3 Passthrough only
E-AC-3 No. WSE withholds the track. Yes ec-3 Passthrough only
FLAC No Rejected fLaC No

A withheld track is left out, and the other tracks are still delivered. For example, a VP9 + AAC stream arrives at a player that doesn't support ERTMP as AAC only. Origin-edge connections between WSE servers over WOWZ always get every track unchanged.

Publishing, playback, and stream targets


Use Supported Notes
Publish from an encoder Yes RTMP and ERTMP. ERTMP ingest is on by default.
Multitrack ERTMP publish Partial WSE keeps the first video track and the first audio track that deliver media and discards the rest.
Play to an RTMP player Yes RTMP and ERTMP, filtered by the codecs the player declares.
Push to a stream target Yes Generic RTMP and RTMPS, plus profiles for Akamai, Limelight, and Facebook. Configured in PushPublishMap.txt or WSE Manager.
Ask clients to reconnect ERTMP only See Ask clients to reconnect.

ERTMP application properties


Set these in the application's Application.xml configuration file, in the <Properties> element directly under <Application>. For a stream target, WSE reads them from the application of the source stream it pushes.

Property Type Default Description
enhancedRTMPIngestEnabled Boolean true Enable or disable ERTMP ingest handling. Set to false to restore pre-4.13.0 RTMP parsing.
enhancedRTMPFailUnsupportedPublish Boolean true Fails a publish that carries only rejected codecs after the publishing grace period. Set to false to keep the connection up and drop the rejected tracks.
enhancedRTMPUnsupportedPublishGraceMillis Long (ms) 3000 The publishing grace period: how long WSE waits for a usable track before failing a publish. Values of 0 or less use the default.
enhancedRTMPFailWithheldEgress Boolean true Fails a playback or stream target session when no track can be delivered after the egress grace period. Set to false to keep the session open with nothing sent.
enhancedRTMPWithheldEgressGraceMillis Long (ms) 30000 The egress grace period: how long WSE waits when one observed track is withheld and the other track type is still unknown. Invalid and non-positive values use the default. 
enhancedRTMPVpxConfigIncludeVersionFlags Boolean false When WSE sends VP8 or VP9 over ERTMP, the first video message carries a VP codec configuration record. By default this is an 8-byte record. Some receivers expect it to start with a 4-byte version-and-flags header (01 00 00 00), for 12 bytes in total. Set this value to true for those receivers.

ERTMP stream target properties


Add these keys to a target's entry in PushPublishMap.txt.

Key Values Default What it does
enhancedRTMPCapableDestination true, false Not set Set to false to force legacy RTMP framing on the destination. When it isn't set, the destination's declaration decides. A destination that declares nothing is treated as ERTMP-capable. Invalid values are logged once and treated as not set.
enhancedRTMPVpxConfigIncludeVersionFlags true, false The source application's value Overrides the application-level property for this stream target.

The example below sets both keys on an RTMP stream target in PushPublishMap.txt:

myStream={"entryName":"targetA", "profile":"rtmp", "host":"receiver.example", "port":"1935", "application":"live", "streamName":"myStream", "enhancedRTMPCapableDestination":"true", "enhancedRTMPVpxConfigIncludeVersionFlags":"true"}

ERTMP errors


Situation When it fails What the client gets What WSE logs
A publish carries only rejected codecs. A publish that has already carried a usable track, or a stream pulled by a MediaCaster, never fails this way. After the publishing grace period, enhancedRTMPUnsupportedPublishGraceMillis. If the same stream name keeps failing in the same application instance, the period grows with each failure, up to 60 seconds. It resets after a successful publish of that name, or after 10 minutes without a failure. NetStream.Publish.Failed at level error, naming the rejected codecs. The connection closes. One warning and one access-log line with status 415
No track can be sent to a player At once if both media types are known. Otherwise, after the egress grace period, enhancedRTMPWithheldEgressGraceMillis, and the failure description begins No deliverable media within the startup grace of <grace> ms. NetStream.Play.Failed at level error. The connection closes. One warning and one access-log line with status 415
No track can be sent to a stream target Same as a player The target stops and shows Error, with a reason naming the source codecs. WSE doesn't reconnect it until the source publishes again. The target's status

More resources