By default, Wowza Streaming Engine™ media server software records AMF data events to .mp4 files, but doesn't record onMetaData events. There are two properties that control the recording of .mp4 files: mp4WriterRecordData and mp4WriterRecordOnMetaData.
mp4WriterRecordData turn AMF data event recording on and off. If mp4WriterRecordData is set true, you can then turn mp4WriterRecordOnMetaData on and off.
In most cases, the default settings record the data that's needed for data events. If mp4WriterRecordOnMetaData isn't enabled, the onMetaData event will still be sent and will automatically by generated by Wowza Streaming Engine when the .mp4 file is played.
The built-in default configuration comes with the settings below. To modify, you'll need to add these properties in [install-dir]/conf/[app-name]/Application.xml /Streams/Properties and then edit the Value.
<Property> <Name>mp4WriterRecordData</Name> <Value>true</Value> <Type>Boolean</Type> </Property> <Property> <Name>mp4WriterRecordOnMetaData</Name> <Value>false</Value> <Type>Boolean</Type> </Property>