How to enable support for H.264 Annex B in Wowza media server (RTP)

This article describes how to enable support for H.264 Annex B in RTP-based streams from a Wowza media server application.

Note: Wowza Media Server™ 2.2.4 or later is required.
To turn on H.264 Annex B RTP support, add the following property to your [install-dir]/conf/[application-name]/Application.xml file:
To point to the RTP stream, use a Session Description Protocol (SDP) file that looks like the following:
o=- 205776520 205776520 IN IP4
t=0 0
m=video 10000 RTP/AVP 97
c=IN IP4
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1
Be sure to change the m=video 10000 RTP/AVP 97 to the correct incoming port. For example, if the port were 1234, the line should read:
m=video 1234 RTP/AVP 97

Originally Published: 04-19-2011.

If you're having problems or want to discuss this article, post in our forum.