'iOS'에 해당되는 글 43건

  1. 2011.10.26 iOS Private API 사용방법 (4)
  2. 2011.07.21 VLC for iOS 컴파일하기 (19)
  3. 2011.06.27 Implementation of streaming technologies on iPhone (2)
iOS2011. 10. 26. 21:51

Today I had to use a private API while spiking a feature for an iPhone app I'm working on and I ran into a couple of gotchas along the way. There doesn't seem to be a simple step-by-step guide for using private iPhone APIs in XCode, so here's goes:

  1. First off, you're going to need the header files for the private frameworks. To dump them, use theFramework Dump Kit from Erica Sadun's site. Download the DumpFrameworks Perl script anywhere and put theclass-dump binary somewhere on your path (I put it in /usr/local/bin/)
  2. Run DumpFrameworks (navigate to the folder you downloaded it to in Terminal and type./DumpFrameworks). This will create the headers in~/Headers.
  3. In your XCode project, right-click the Frameworks folder in the Groups & Files panel and select Add → Existing Frameworks. Navigate to the header file(s) you want to add and select them. You should see the headers added to your project.
  4. Go to Project → Edit Project Settings, click on the Build tab, and scroll down to the Linking section. For the Other Linker Flags property, enter -force_flat_namespaceand -undefined suppress (thank you, Ken Ferry). If you forget this, you will get a linker error telling you that the symbols for the private classes you're using could not be found.
  5. Open up the header files you imported into your project and remove the superfluous import statements that the header dumper put there. Usually this is just an unnecessary #import "NSObject.h" but there may be others also. If you get errors, look for theSomeHeader.h: No such file or directory messages and remove the import statements corresponding to those errors from the private header files.
  6. Finally, import the private header files, use the classes in your application, build and run!

Of course, whether or not you should use the iPhone private API is another matter (undocumented calls may break at any time, Apple may reject your app, etc.) If you do want to play around with them, however, I hope the above instructions help you to get started without too much pain.

Posted by 삼스

댓글을 달아 주세요

  1. 눈을 감아봐 입가에 미소가 떠오르면 네가 사랑하는 그 사람이 널 사랑하고 있는거야.

    2013.07.13 02:34 [ ADDR : EDIT/ DEL : REPLY ]
  2. 슬퍼서 우는거 아니야..바람이 불어서 그래..눈이 셔서..

    2013.07.14 12:01 [ ADDR : EDIT/ DEL : REPLY ]
  3. 창밖을 봐 바람에 나뭇가지가 살며시 흔들리면 네가 사랑하는 사람이 널 사랑하고 있는거야.

    2013.07.15 09:15 [ ADDR : EDIT/ DEL : REPLY ]
  4. 지금은 반짝반짝 빛이 나겠지,, 하지만 시간이 흐르면 그빛은 사라저버릴거야,지금 우리처럼

    2013.07.18 05:32 [ ADDR : EDIT/ DEL : REPLY ]

iOS2011. 7. 21. 10:20


VLC는 한번에 제대로 컴파일된 적이 없네요. iOS 버전은 최근에 작업중인지 그나마 덜 고생하고 컴파일 성공했습니다. 프로젝트들이 얽혀있어 분석이 쉽진 않겠네요.

$ tar jxvf VLC-1.1.0-iOS.tar.bz2
$ ln -s VLC-1.1.0-iOS vlc
$ cd vlc/extras/package/ios
  • build_for_iOS.sh 을 열어서 SDK 버전을 수정합니다. 현재 최신버전은 4.2.sdk입니다. IOS_SDK_ROOT="${DEVROOT}/SDKs/iPhone${PLATFORM}3.2.sdk"
  • build_for_iOS.sh 를 실행해서 컴파일해 보면 중간에 에러가 나면서 멈춥니다. patch file의 버전문제인데 ../../contrib/src-arm-apple-darwin10-ios/src/Patches/live-inet_ntop.patch의 161-185 라인을 참고해서 ../../contrib/src-arm-apple-darwin10-ios/src/live/liveMedia/RTSPServer.cpp을 직접 수정하면 됩니다. our_inet_ntoa()의 두번째 인자로 buf를 추가하기만 하면됩니다.
  • 이제 build_for_iOS.sh를 실행해서 컴파일합니다. 완료되면 vlc/install-ios-OS에 해더와 라이브러리가 생성됩니다.
  • MobileVLCKit의 static plugins를 build합니다.
$ cd vlc/projects/macosx/framework
$ xcodebuild -project MobileVLCKit.xcodeproj -target "Aggregate static plugins" -configuration "Release"
  • MobileVLCKit의 MobileVLCKit의 SDK 버전을 최신버전으로 수정하고 build합니다.
$ open MobileVLCKit.xcodeproj
fix Targets/MobileVLCKit - Get Info / Build
Configuration : All Configurations
Architectures / Base SDK : Latest iOS
$ xcodebuild -project MobileVLCKit.xcodeproj -target "MobileVLCKit" -configuration "Release"

MediaLibraryKit compile하기
  • 작업디렉토리(VLC-1.1.0-iOS와 같은 위치)에 MediaLibraryKit 디렉토리를 만들고 압축을 풉니다.
$ mkdir MediaLibraryKit && cd MediaLibraryKit
$ unzip MediaLibraryKit-1.1.0.zip
  • External 디렉토리로 들어가 MobileVLCKit의 링크를 만듭니다.
$ ln -s ../../vlc/projects/macosx/framework/build/Release-iphoneos MobileVLCKit
  • MediaLibraryKit의 SDK 버전을 최신버전으로 수정하고 build합니다.
$ open MobileMediaLibraryKit.xcodeproj
fix Targets/MobileMediaLibraryKit - Get Info / Build
Configuration : All Configurations
Architectures / Base SDK : Latest iOS
$ xcodebuild -project MobileMediaLibraryKit.xcodeproj -configuration "Release"

MobileVLC compile하기
  • 작업디렉토리(VLC-1.1.0-iOS와 같은 위치)에서 MobileVLC의 압축을 풉니다.
$ tar zxvf MobileVLC-1.1.0.tar.gz
$ cd MobileVLC
  • External 밑에 있는 MediaLibraryKit와 MobileVLCKit의 링크가 제대로 되어있는지 확인합니다.
  • MobileVLC의 SDK 버전을 최신버전으로 수정하고 build합니다.
$ open MobileVLC.xcodeproj
fix Targets/MobileVLC - Get Info / Build
Configuration : All Configurations
Architectures / Architectures : Standard (armv6 armv7)
Architectures / Base SDK : Latest iOS
build with Device-Release configurations

Posted by 삼스

댓글을 달아 주세요

  1. Safest clothing style is certainly set of pure black western-style clothes matches the pure white the shirt and the best cheap True Religion jeans, so long as the evening banquet is not the too grand words, does not need is the tie, loosened a grain of knot the neckband to be good. While if you have the self-confidence to yourself, may put on the pure white boldly the western-style clothes, this will let you be very outstanding. You should be certainly to put on the true leather shoes.

    2011.09.19 15:03 [ ADDR : EDIT/ DEL : REPLY ]
  2. Always I twirle and imagine that if I could let everything — the beautiful flowers, the sunshine, the wind , the attractive clothes — into that house in the banks of our own. Yes this is my dream. We could live in our beautiful dreams forever because we are girls. Girls need dream. But don’t you want to make the dream come true? Now follow the steps with the cheap true religion jeans and you will find all the amazing jeans of the brand you have dream in your happier nightmare have really lively come into your life.

    2011.09.19 15:03 [ ADDR : EDIT/ DEL : REPLY ]
  3. And the monster dre beats studio headphones make us focus on learning. I like listen to music when I was study. Even I can say without a good song, I can not get effective care. So this is why I love these monster headphones of the brand. And I am a person who wants to live a happy life during the rest of my life, so I want to use my heart to know the monster and learn it.

    2011.09.19 15:03 [ ADDR : EDIT/ DEL : REPLY ]
  4. The girl next door always have a pure and fresh and natural flavour. They need not too much adornment, but still show the green one side. Along with the water sweet laughter and kind smile. If you asked one of the boys, “do you like what girl?” I think he will answer you: “of course are natural girl. It’s like the neighbor sister pure and fresh feeling.” Also, I is one of the standard. discount christian louboutin with the girl next door and pure and fresh flavor. Concise wear build, can highlight girl lasting appeal.

    2011.09.19 15:04 [ ADDR : EDIT/ DEL : REPLY ]
  5. The girl next door always have a pure and fresh and natural flavour. They need not too much adornment, but still show the green one side. Along with the water sweet laughter and kind smile. If you asked one of the boys, “do you like what girl?” I think he will answer you: “of course are natural girl. It’s like the neighbor sister pure and fresh feeling.” Also, I is one of the standard. discount christian louboutin with the girl next door and pure and fresh flavor. Concise wear build, can highlight girl lasting appeal.

    2011.09.19 15:04 [ ADDR : EDIT/ DEL : REPLY ]
  6. Now I am falling in love with my boy. To be honest,Since I met him,it seems that the sky is bluer. Mozart moves me to tears. But do you know what make me find my love?Yes ,it is moncler winter coats .The reason is that I have gotten these jackets and i look like a cover girl. “I’m the most beautiful girl!” he said to me.Yet it is these jackets here make me fing the confidence and my love.My beautiful life begin with the great jackets of the brand!

    2011.09.19 15:04 [ ADDR : EDIT/ DEL : REPLY ]
  7. When my mother mentioned this incident to one of my teachers and remarked that I didn’t know what caused the changes,the teacher theink it must be my moncler winter jackets has the effect.Yes,I have to admit that I love the jackets here even when I was only a kid. Then I am thinking a question:What will happen when I give my son the jackets of the brand,and maybe I will also see a different boy standing in front of me!Don’t you think so? I like my jackets of the brand!

    2011.09.19 15:05 [ ADDR : EDIT/ DEL : REPLY ]
  8. Due to the special features of moncler jackets. In making moncler choose when the fabrics are mostly pure silk , snow spins, PI cao this kind of advanced fabrics. In the production process and its daily with a big difference between career. for The fabric is for both to the delicate. Like me, he took a long time to buy the accumulation of one moncler down jackets. So take good care of their life can extend. Let it every time with a new put on Samples. Of course there is some maintenance down products need to pay attention to details.

    2011.09.19 15:05 [ ADDR : EDIT/ DEL : REPLY ]
  9. T stage fashionable color changes, popular this year is all sorts of blue. The new product of moncler conference, us Also see many blue use. All kinds of different textures blue represents elegant temperament. Blue moncler women jackets jackets relaxed, quiet, steady. Shallow blue, turquoise blue will bring the appeal of enthusiasm. Put on moncler jackets will give a good impression. If you don’t want too visible “ride” fashionable attitude. If you still Want to gather together noisy. So, moncler blue both is the best choice. Blue both moncler Is a joker. Match with white, red, black, etc can all have pretty good effect. Today autumn, I also pursued Once the trend. I would have valued a blue both moncler. Now, I’ll just wait and buy it.

    2011.09.19 15:05 [ ADDR : EDIT/ DEL : REPLY ]
  10. 사랑은 한순간에 불타오르는 열정보다는 상대방을 말없이 따뜻하게 해주는 은은한 등불이다.

    2013.04.08 00:04 [ ADDR : EDIT/ DEL : REPLY ]
  11. 아무리 절망적 문제는, 오래 결국 일을 주장 할 용기가로 희망을 갖게됩니다.

    2013.04.08 22:21 [ ADDR : EDIT/ DEL : REPLY ]
  12. 기쁨을 나눌 때 약속을 하지말고, 슬플때 대답을 하지 말고 분노에서 결정을 하지 말라.

    2013.04.10 05:46 [ ADDR : EDIT/ DEL : REPLY ]
  13. 행운 만이 개인 능력 당신이 일생 동안 도와 드릴까요 평생 할 수 없습니다 않습니다.

    2013.04.10 22:50 [ ADDR : EDIT/ DEL : REPLY ]
  14. 인연은 우연히 찾아오고 사랑은 조심스럽게, 몰래 찾아온다.

    2013.04.16 05:16 [ ADDR : EDIT/ DEL : REPLY ]
  15. 창밖을 봐 바람에 나뭇가지가 살며시 흔들리면 네가 사랑하는 사람이 널 사랑하고 있는거야.

    2013.04.28 06:55 [ ADDR : EDIT/ DEL : REPLY ]
  16. 태양이 바다에 미광을 비추면,나는 너를 생각한다.

    2013.07.11 17:53 [ ADDR : EDIT/ DEL : REPLY ]
  17. 희미한 달빛이 샘물 위에 떠있으면,나는 너를 생각한다.

    2013.07.12 14:51 [ ADDR : EDIT/ DEL : REPLY ]
  18. 창밖을 봐 바람에 나뭇가지가 살며시 흔들리면 네가 사랑하는 사람이 널 사랑하고 있는거야.

    2013.07.14 16:19 [ ADDR : EDIT/ DEL : REPLY ]
  19. 사람들은 죽을걸 알면서도 살잖아 .사랑은 원래 유치한거에요

    2013.07.15 08:02 [ ADDR : EDIT/ DEL : REPLY ]

iOS2011. 6. 27. 12:39

스트리밍 관련 다양한 구현방법에 대한 안내를 정리해둔 블로그가 있어서 긇어 보았다.

iPhone HTTP Streaming with FFMpeg and an Open Source Segmenter

HTTP live streaming: iPhone streaming media overview

HTTP Live streaming draft proposal

download the MoviePlayer iPhone demo application

Step 1: Grab the lastest version of FFMpeg

Step 2: Encode your video for the iPhone

Step 3: Download and build the segmenter

Step 4: Prepare the HTTP server

Step 5: Test the stream

Step 6: Automatically the stream encoding and segmentation

Step 7: Create a variable rate HTTP stream

참조: http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/


Wowza Media Server 2 Advanced Preview 7

Streaming to the iPhone and iPod touch (HTTP Streaming)



Live Stram Repeater



Tuner2 HiFi Radio: iPhone/iPod Touch Player

Reduces Streaming Costs by up to 1/4.
Increases Stream Reliability.
Increases Audio Quality for a Better User Experience.
Plays AAC/HE-AAC v1 and v2 streams over EDGE/3GPP/WiFi Networks for high fidelity streaming.
Plays MP3 streams for backward compatibility (SHOUTcast and Icecast2 only).
Uses commercially licensed AAC/HE-AACv1/HE-AACv2 implementation from Fraunhofer IIS / FhG for the best audio quality, unobtainable by open-source implementations.
Uses standards-based servers such as SHOUTcast, Icecast2, QuickTime/Darwin-QTSS/DSS, and Real/Helix Streaming Servers, which can also be used to reach other players and devices, further reducing deployment and administrations costs.
Uses ICY MPEG-2/ADTS, RTP MPEG-4/ISMA, 3GPP/LATM, and RTMP Adobe Flash streaming transports and protocols, covering all basis, not just some.
Displays real-time Program Associated Data (PAD) as Program Associated Text (PAT), Stream Name, Stream Description, Artist, and Title.
Displays real-time Program Associated Graphics (PAG), Logos, Album Cover Art, and Commercials for revenue generation.
Save Titles with graphics and history information.
Recall Saved Titles to Purchase on iTunes, e-mail to other users, or play originating stream.
E-mail streams to other users. Uses Tuner2 for AAC/HE-AAC Streaming Directory Listings.
Allows additional arbitrary stream URLs to be entered directly into Player and Favorites without requiring input to a Directory Server.
Shake function to select random stream for the undecided and adventurous listener.
Automatically Connects to 3G/EDGE Network when available, wihout having to start browser first.
Deterministic auto-reconnect in the event of network interuption.
Allows incoming calls while streaming and auto reconnect upon call termination.
Full DMCA Compliant using true streaming protocols, not progressive downloading, and all required content information.
Support lanscape in most views.
Custom Player versions with custom Directory Listings available. Please ask for more information: info(at)indexcom.com
We do NOT support MP3 Flash streams.




AudioFileStream, CFReadStream, CFHTTPMessage and AudioQueue


The iPhone only supports "HTTP Streaming" by default, not RTP. This goes for audio or video. "HTTP Streaming" is really just "range requests" to an HTTP server so that portions of the audio or video stream can be downloaded at a time. Tomcat supports these requests just fine.

There are a few apps (QIK has something for example) on the iPhone that support true streaming, but nothing built in.


iPhone has no RTP Stack. But I could use an external one (PJMEDIA) ... and so become the MPEG-4/H.264 video frames in the application



Adobe's RTMP (Real Time Messaging Protocol)






Posted by 삼스

댓글을 달아 주세요

  1. The cheap air ticket also depends upon the source from which you are buying, http://www.timberlandbaratas.com Timberland. If you buy it from a travel agent, http://www.timberlandbaratas.com Mujer Timberland, then he can offer you tickets on comparatively cheaper rates but you might have to pay a good commission on it, http://www.timberlandbaratas.com timberland españa. On the other hand, if you avail online tickets then you can save a significant amount of money. There are many cash back sites which can help you to get back a percentage of cash that you have spend while shopping through that site, http://www.timberlandbaratas.com timberland niños. In addition to this, http://www.timberlandbaratas.com timberland, the destination and the time also play a significant role in getting cheap airline tickets. If you find difficulty in getting cheap tickets then getting it from a nearby city can be a wise option. Moreover, http://www.timberlandbaratas.com zapatos timberland, opting for a connecting flight or a train or a bus to reach to your destination can save good amount of cash.Related articles:

    http://arm727.tistory.com/1827 Le Japon est prêt à ouvrir "un dialogue direct" avec la Corée du Nord

    http://daehoi.tistory.com/882 Facebook a levé 500 millions de dollars auprès de la banque Goldman Sachs et du grouperusse Digita

    2012.12.25 13:07 [ ADDR : EDIT/ DEL : REPLY ]
  2. 창밖을 봐 바람에 나뭇가지가 살며시 흔들리면 네가 사랑하는 사람이 널 사랑하고 있는거야.

    2013.07.13 03:00 [ ADDR : EDIT/ DEL : REPLY ]