Skip to main content
July 24, 2013
Question

camera.setquality() not working for h264 encoding

  • July 24, 2013
  • 0 replies
  • 401 views

Hi,

Im using H264 encoder for encoding my live video to broadcast to ios devices. But there seems a big loss in quality while using the H264 encoder. The code im using for encoding is

              

var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();

    h264Settings.setProfileLevel(H264Profile.MAIN, H264Level.LEVEL_3_1);

    _ns.videoStreamSettings = h264Settings;

    camera.setQuality( 0, 100 );

    camera.setMode( 320, 240, 30, true );

    camera.setKeyFrameInterval( 15 );

    camera.setLoopback(true);

    _ns.publish("videoname?adbe-live-event=liveevent","record");

Is there any possiblity to improve my video quality or any other way of encoding the video?.

Im using flex sdk 4.6 and flash player 11.8.

Thanks in advance

This topic has been closed for replies.