Flash player slowing encoding quality after a while
We are using flash player to publish a RTMP stream to wowza. We are using h.264 settings. Everything seems to work fine. We are just recording this stream on the server side using the built in "record" mechanism. However after 4 minutes of recording the quality of the video degrades..i mean the video is not smooth or rather the frame rate drops..Any clue as to why it should only happen after a while. To me it looks like configuration in the flex application that we need to be doing. Any clues.
This could be an issue with available bandwidth vs stream bitrate, Wowza will try to drop frames to keep the stream as close to real-time as possible. A quick test would be to test playback locally with the example player the ships with Wowza, [install-dir]/examples/LiveVideoStreaming/FlashRTMPPlayer/player.html and see if stream quality is sustained.
You might also try these settings in your app:
camera.setMode(320, 240, 15, false);
You want high-quality and low-bandwidth, which are competing goals, and with the built-in Flash encoder options are limited.
Publishing a stream from a Flash based application and playing it back in a Flash based client works. But the defaults for video is Sorenson Spark and NellyMoser audio which are not supported in non-Flash clients and will need to be Transcoded.
To make the video quality better you can follow this guide to set the video to H.264.
And if you want to play back the stream in non-Flash based clients you will need to change the audio from Nellymoser to Speex in your Flash application, and use the Wowza Transcoder to transcode the audio from Speex to AAC audio. again, this article explains these steps: