0 Replies Latest reply on Sep 19, 2011 1:42 PM by stub6225@gmail.com

    Recording in h.264 with Flash Player 11 RC

    stub6225@gmail.com

      For some reasonwhen 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. I would like to have it record h.264 videos.

       

          nsPublish.close();

          nsPublish = new NetStream(nc);

          nc.addEventListener( NetStatusEvent.NET_STATUS, netStatus );

          nsPublish.attachCamera(camera);

          nsPublish.attachAudio(microphone);

       

          var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();

          h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_1);

          nsPublish.videoStreamSettings = h264Settings;

       

          nsPublish.publish("mp4:stream.mp4", "record"); //Publish stream in h.264

       

      Any help is appreciated. Thanks in advance.