For some reason when my flex app tries to record, the video display freezes up and nothing is recorded. I could previously record but it would only record as h.263 and the files seemed to be corrupted as they wouldn't play. I would like to have it record h.264 videos.
nsPublish = new NetStream(nc);
nc.addEventListener( NetStatusEvent.NET_STATUS, netStatus );
var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
nsPublish.videoStreamSettings = h264Settings;
nsPublish.publish("mp4:stream.mp4", "record"); //Publish stream in h.264
I'm using FMS 4.0, Flash Player 11, and FlashBuilder 4.0 with the newest flex 4.5 build sdk.
Any help is appreciated. Thanks in advance.