Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kickflip audio noise #60

Open
thien1234 opened this issue Apr 21, 2016 · 4 comments
Open

Kickflip audio noise #60

thien1234 opened this issue Apr 21, 2016 · 4 comments

Comments

@thien1234
Copy link

Does anyone have trouble with noise audio when using live video streaming with Kickflip ? I tried to change:

  • (void) setupEncoders {
    self.audioSampleRate = 44100;
    self.videoHeight = 720;
    self.videoWidth = 1280;
    int audioBitrate = 64 * 1000; // 64 Kbps
    int maxBitrate = [Kickflip maxBitrate];
    int videoBitrate = maxBitrate - audioBitrate;
    _h264Encoder = [[KFH264Encoder alloc] initWithBitrate:videoBitrate width:self.videoWidth height:self.videoHeight];
    _h264Encoder.delegate = self;

    _aacEncoder = [[KFAACEncoder alloc] initWithBitrate:audioBitrate sampleRate:self.audioSampleRate channels:1];
    _aacEncoder.delegate = self;
    _aacEncoder.addADTSHeader = YES;
    }

From int audioBitrate = 64 * 1000; To int audioBitrate = 128 * 1000;
But it 's not successful. Please give me a hint. Thanks in advance.

@urit
Copy link

urit commented Apr 24, 2016

Hi, I have the same problem.
Do you have a way to reproduce it?
What iOS version, what phone 6s?

@urit
Copy link

urit commented Apr 24, 2016

same as issue #39

@thien1234
Copy link
Author

thien1234 commented Apr 26, 2016

yes, this error occurred in 6, 6s

@Arlem
Copy link

Arlem commented May 13, 2016

@thien1234 take a look at this: #39#issuecomment-218449425

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants