Comments (6)
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.
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.
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.
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.
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.
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)
- what
- what work in swift project
- Conference call in idoubs iOS
- Where can I download tinyWRAP?
- "#" replaced with "%23" on calling
- no find file: NgnProxyPlugin.mm HOT 1
- iDoubs: Change CSeq sip header value
- About the conflict of amr
- idoubs stack support for ipv6 HOT 1
- Integration in swift
- SIP Session destroyed iOS codebase .
- Undefined symbols for architecture arm64 error for libtinyDAV.a
- Thread 23: EXC_BAD_ACCESS (code=1, address=0xf000000c) when call is unanswered/failed to connect
- Video screen resolution is low, how to adjust the resolution?
- App crashes when making call after killing by swiping and launching app again HOT 1
- Can't compile app HOT 1
- 后台唤醒功能(startKeepAwake、stopKeepAwake)
- On the low success rate of dialing mobile phone number(关于拨打手机号,成功率不高的问题)
- How to run Demo Application Source Code For Audio Calling
- Crash while running on IOS-16 beta with error Method cache corrupted. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idoubs.