prakash1307 / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

capture stream error -66681 on iphone3.0 #262

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.ipodsound.c does not work with the 3.0 SDK. The sound api probably has
changes and the source will need to be ported. 

What is the expected output? What do you see instead?

Starting capture stream error -66681

What version of the product are you using? On what operating system?

iphone3.0

Please provide any additional information below.

ok, work fine on iphone 3.0 simulator 
,but on iphone3.0 device  return error -66681 from Aduioqueuestart 

Original issue reported on code.google.com by tta...@gmail.com on 21 Jul 2009 at 3:18

GoogleCodeExporter commented 8 years ago
anyone solve this issue?

Original comment by tta...@gmail.com on 22 Jul 2009 at 5:48

GoogleCodeExporter commented 8 years ago
don't forget to init iPhone audio, before initializing pjsip:

    AudioSessionInitialize (NULL,
                            NULL,
                            NULL,
                            NULL
    );

    UInt32 sessionCategory = kAudioSessionCategory_PlayAndRecord;

    AudioSessionSetProperty (
                             kAudioSessionProperty_AudioCategory,
                             sizeof (sessionCategory),
                             &sessionCategory
    );

Original comment by BlackMacde@gmail.com on 31 Jul 2009 at 2:04

GoogleCodeExporter commented 8 years ago

Original comment by samuelv0...@gmail.com on 4 Aug 2009 at 9:20

GoogleCodeExporter commented 8 years ago
Issue 267 has been merged into this issue.

Original comment by samuelv0...@gmail.com on 4 Aug 2009 at 9:21

GoogleCodeExporter commented 8 years ago
Samuel, could you please post your patch that fixes this. There seems to be a 
lot of
people suffering this same problem and nobody seems to know how to fix it.

Thankyou in advance,

Original comment by duckmons...@gmail.com on 4 Aug 2009 at 10:26