我为我的公司开发了一个SIP堆栈.它远非完美,而且它缺少来自RFC的很多东西,但它的功能很好,适用于许多经过测试的软电话和其他SIP硬件和软件.
我的问题是:有多少SIP软件能够真正说出它们完全符合SIP标准(在互联网上可以找到的软件)?
我一直在为iOS 4.0编译pjsip时遇到问题.
我正在使用SVN的最新trunk版本并继续收到portaudio错误.使用piedmontwireless 指南时:http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312我的build.mak文件中出现了一个丢失的分隔符错误,这表示有空格/标签错误,但对于我的生活,我找不到它.
根据pjsip邮件列表,您应该能够为iOS 4.0开箱即用,但我收到此错误:
../src/pjmedia-audiodev/errno.c:23:26: error: portaudio.h: No such file or directory
../src/pjmedia-audiodev/errno.c: In function ‘pjmedia_audiodev_strerror’:
../src/pjmedia-audiodev/errno.c:104: warning: implicit declaration of function ‘Pa_GetErrorText’
make[2]: *** [output/pjmedia-audiodev-arm-apple-darwin9/errno.o] Error 1
make[1]: *** [pjmedia-audiodev] Error 2
Run Code Online (Sandbox Code Playgroud)
我将继续努力,但任何帮助将非常感激.
编辑:我有portaudio.h
有没有办法阻止音量指示器视图窗体显示您是否按下音量增大/减小硬件按钮?
它仅用于演示应用程序.因此该方法不需要是App Store安全的.
我即将使用Sencha touch开发应用程序.我现在面临的问题是Sencha代码应该读取以下XML("data.xml"并显示新闻,文章...),任何可以帮助的专家都可以吗?
<ns2:categories>
<category>
<catId>96</catId>
<title>News</title>
</category>
<category>
<catId>97</catId>
<title>Articles</title>
</category>
</ns2:categories>
Run Code Online (Sandbox Code Playgroud)
当我点击News作为示例时,应该读取"data_read.xml"中的特定"recordId"元素并显示"origUrl","title","data".the data_read.xml如下所示.
<ns2:records>
<record>
<recordId>96</recordId>
<title>123 Lifted</title>
<author>|</author>
<published>2010-01-20T14:36:00.000-08:00</published>
<origUrl>
http://www.abc.com/</origUrl>
<numComments>0</numComments>
<data>
<![CDATA[<p>According to a report on sd asdas das asdasd asdasd hjjasd .</p>
<p> </p>
<p>This is a landmark vote, and a harbinger of change for this extremely traditional area that also has banned the use of metal r bolt.</p>
<p> </p>
<p>Check out: abc.com and xyz .com for more information.</p>
<p class="modifydate">Last Updated (Wednesday, 20 …Run Code Online (Sandbox Code Playgroud) 我想知道是否可以用Xcode以编程方式录制mp3格式的音频文件.
我已经阅读了大量的文件,我已经用Google搜索了,但没有结果.
请帮忙,如果有人知道这是怎么回事?
当我从iphone录制音频时如下:
//Setup the dictionary object with all the recording settings that this
//Recording sessoin will use
NSMutableDictionary* recordSetting = [[NSMutableDictionary alloc] init];
[recordSetting setValue :[NSNumber numberWithInt:kAudioFormatAppleIMA4] forKey:AVFormatIDKey];
[recordSetting setValue:[NSNumber numberWithFloat:44100.0] forKey:AVSampleRateKey];
[recordSetting setValue:[NSNumber numberWithInt: 2] forKey:AVNumberOfChannelsKey];
//Now that we have our settings we are going to instanciate an instance of our recorder instance.
//Generate a temp file for use by the recording.
NSDate *now = [NSDate dateWithTimeIntervalSinceNow:0];
NSString *caldate = [now description];
recordedTmpFile = [[NSString stringWithFormat:@"%@/%@.caf", DOCUMENTS_FOLDER, caldate] retain];
NSLog(@"Using …Run Code Online (Sandbox Code Playgroud) 我有一个使用Sencha Touch为销售代表构建的iPad应用程序.问题是,一些用户在boonies中出售并且没有互联网接入.因此,我们希望构建一个"原生"iOS应用程序,即使没有互联网访问,也可以使用该应用程序.我希望使用PhoneGap来使用大量的当前代码.
我计划出来时遇到的问题是身份验证.
目前,该应用程序使用PHP对远程数据库的用户进行身份验证. 使用本机PhoneGap应用程序,当用户无法访问Internet时,有什么方法可以在本地处理身份验证吗?我可以安全地使用本地选项,如果是,如何安全?它是否像在我的PhoneGap项目中对XML或JSON文件进行身份验证一样简单?
注意:我知道这对于理解它的人完全无知并且我道歉.除了纯粹的网络技术之外,我从未使用过任何东西,客户端和服务器端对我来说都很清楚.没有使用编译语言做任何事情.
在使用PhoneGap将其打包为本机应用程序时,我不明白JS是多么安全(或者根本不是).它是否像在网上一样透明?
安装在手机上的应用程序的恶意用户可以查看我的JavaScript等吗?
我试图通过iPhone的麦克风录制音频,同时播放iPod中的音乐.
录制和播放分开工作,但如果我尝试从iPod播放并同时录制录制停止.
顺便说一下,我实际上并没有录制音频来保存声音文件,而只是分析它.这是我的应用程序闪烁到您播放的音乐节拍.
Apple是否不允许同时录制和播放?
我一直在按照苹果的指示将我的应用程序带到iTunes.我无法弄清楚如何打开目标信息窗口,以便我可以将构建更改为分发.
我试着点击所有图标,左键单击.看了所有的菜单项,尝试了帮助,没有任何工作.