Giter VIP home page Giter VIP logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
this problem can be fixed by add this code
        bufferPtr += 16 * sizeof(UInt8);
 to the callback function 
- (void)captureOutput in InCallViewController.m, as below

=================
- (void)captureOutput:(AVCaptureOutput *)captureOutput 
didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer 
fromConnection:(AVCaptureConnection *)connection {

    CVPixelBufferRef pixelBuffer = CMSampleBufferGetImageBuffer(sampleBuffer);
    if(CVPixelBufferLockBaseAddress(pixelBuffer, 0) == kCVReturnSuccess){
        UInt8 *bufferPtr = (UInt8 *)CVPixelBufferGetBaseAddress(pixelBuffer);
    bufferPtr += 16 * sizeof(UInt8);
        size_t buffeSize = CVPixelBufferGetDataSize(pixelBuffer);

        if(self->producerFirstFrame){ // Hope will never change
........
====================

Original comment by [email protected] on 21 Mar 2011 at 2:59

from idoubs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Thanks for the patch. Sorry for not being able to give you support because I am 
abroad and don't have a MAC to fix issues.

Original comment by [email protected] on 23 Mar 2011 at 8:45

  • Changed state: NextRelease

from idoubs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
I changed the code follow by [email protected] comments. The video display 
properly.
But the video quality downgrade(fade-to-black, mosaic.

Original comment by [email protected] on 28 Mar 2011 at 7:10

from idoubs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
That is also because the iPhone doesn't have the power to send high quality 
video to the server and the front camera is of lesser quality then the back 
camera.

Original comment by [email protected] on 30 Mar 2011 at 3:59

from idoubs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Fixed in iDoubs v2.x.
For more information on how to build iDoubs v2.x: 
http://code.google.com/p/idoubs/wiki/Building_iDoubs_v2_x

Original comment by [email protected] on 4 Jun 2011 at 6:19

  • Changed state: Fixed

from idoubs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
I have fixed the application on iphone ,but when I make a video call with my 
friend,the pictures are very poor,I think this is the problem of the resolution 
ratio,encoding and decoding,right?So,what should I do if I want the picture 
to be clear ? Can you help me ?

Original comment by [email protected] on 2 Dec 2011 at 7:53

from idoubs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.