iOS VoIP待ち受けの仕組み

8,176
-1

Published on

0 Comments
11 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
8,176
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
29
Comments
0
Likes
11
Embeds 0
No embeds

No notes for slide

iOS VoIP待ち受けの仕組み

  1. 1. [stream setProperty:NSStreamNetworkServiceTypeVoIP forKey:NSStreamNetworkServiceType];
  2. 2. [[UIApplication sharedApplication] setKeepAliveTimeout:600 handler:^{ // }];
  3. 3. [[UIApplication sharedApplication] setKeepAliveTimeout:600 handler:^{ // }];
  4. 4. [[UIApplication sharedApplication] setKeepAliveTimeout:600 handler:^{ // }];
  5. 5. int fd = socket(AF_INET, SOCK_STREAM, 0);NSInputStream* stream;CFStreamCreatePairWithSocket( kCFAllocatorDefault, fd, (CFReadStreamRef*)&stream, NULL);
  6. 6. int fd = socket(AF_INET, SOCK_STREAM, 0);NSInputStream* stream;CFStreamCreatePairWithSocket( kCFAllocatorDefault, fd, (CFReadStreamRef*)&stream, NULL);
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×