Skip to content

Commit

Permalink
v2.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
hzwangsiyu committed Aug 5, 2016
1 parent 1f18709 commit ba07a91
Show file tree
Hide file tree
Showing 299 changed files with 21,428 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
# Pods/
26 changes: 26 additions & 0 deletions APIDiffs/api-diffs-1.1.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# PLCameraStreamingKit 1.1.1 to 1.1.2 API Differences

## General Headers

```
PLCameraStreamingConfiguration.h
```

- *Added* + (instancetype)configurationWithUserDefineDimension:(CGSize)videoSize network:(PLStreamingNetworkType)network

```
PLCameraStreamingSession.h
```

- *Added* - (UIImage *)stillCaptureImage
- *Added* Categroy (Application)
- *Added* Category (CameraSource)
- *Added* Category (MicrophoneSource)
- *Added* @property (nonatomic, assign, getter=isIdleTimerDisable) BOOL idleTimerDisable

```
PLTypeDefines.h
```

- *Modified* PLStreamingDimension
- *Added* PLStreamingDimension_UserDefine
14 changes: 14 additions & 0 deletions APIDiffs/api-diffs-1.1.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# PLCameraStreamingKit 1.1.2 to 1.1.3 API Differences

## General Headers

```
PLCameraStreamingSession.h
```

- *Modified* - (void)stillCaptureImage

| | Description |
| ---- | ------------------------------------------------------------------------- |
| From | ```- (void)stillCaptureImage``` |
| To | ```- (void)requestCaptureImageWithComplete:(void (^)(UIImage *))block;``` |
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.1.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.1.3 to 1.1.4 API Differences

## General Headers

None
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.1.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.1.4 to 1.1.5 API Differences

## General Headers

None
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.1.6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.1.5 to 1.1.6 API Differences

## General Headers

None
40 changes: 40 additions & 0 deletions APIDiffs/api-diffs-1.1.7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# PLCameraStreamingKit 1.1.6 to 1.1.7 API Differences

## General Headers

```
PLTypeDefines.h
```

- *Added* NSString *kPLStreamingQualityLow1
- *Added* NSString *kPLStreamingQualityLow2
- *Added* NSString *kPLStreamingQualityMedium1
- *Added* NSString *kPLStreamingQualityMedium2
- *Added* NSString *kPLStreamingQualityMedium3
- *Added* NSString *kPLStreamingQualityHigh1
- *Added* NSString *kPLStreamingQualityHigh2
- *Added* NSString *kPLStreamingQualityHigh3
- *Deprecated* PLStreamingNetworkType

```
PLMacroDefines.h
```

- *Modified* #define PL_LOG_ENABLE 1 -> 0

```
PLCameraStreamingConfiguration.h
```

- *Added* + (instancetype)configurationWithDimension:(PLStreamingDimension)dimension quality:(NSString *)quality
- *Added* + (instancetype)configurationWithUserDefineDimension:(CGSize)videoSize quality:(NSString *)quality
- *Deprecated* + (instancetype)configurationWithDimension:(PLStreamingDimension)dimension network:(PLStreamingNetworkType)network
- *Deprecated* + (instancetype)configurationWithUserDefineDimension:(CGSize)videoSize network:(PLStreamingNetworkType)network
- *Deprecated* @property (nonatomic, assign, readonly) PLStreamingNetworkType networkType

```
PLCameraStreamingSession.h
```

- *Added* NSString *PLCameraDidStartRunningNotificaiton
- *Added* NSString *PLMicrophoneDidStartRunningNotificaiton
10 changes: 10 additions & 0 deletions APIDiffs/api-diffs-1.1.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# PLCameraStreamingKit 1.1.7 to 1.1.8 API Differences

## General Headers

```
PLCameraStreamingSession.h
```

- *Added* `- (void)startCaptureSession;`
- *Added* `- (void)stopCaptureSession;`
26 changes: 26 additions & 0 deletions APIDiffs/api-diffs-1.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# PLCameraStreamingKit 1.1.8 to 1.2.0 API Differences

## General Headers

```
PLStream.h
```

- *Added* Class `PLStream`

```
PLCameraStreamingKit.h
```

- *Added* Header `#import "PLStream.h"`

```
PLCameraStreamingSession.h
```

- *Added* Property `@property (nonatomic, PL_STRONG) PLStream *stream;`
- *Added* Property `@property (nonatomic, PL_STRONG) NSString *rtmpPublishHost;`
- *Added* Method `- (instancetype)initWithConfiguration:(PLCameraStreamingConfiguration *)configuration stream:(PLStream *)stream rtmpPublishHost:(NSString *)rtmpPublishHost videoOrientation:(AVCaptureVideoOrientation)videoOrientation;`
- *Added* Mehtod `- (void)startWithCompleted:(void (^)(BOOL success))handler;`
- *Added* Category `PLCameraStreamingSession (Deprecated)`
- *Deprecated* Method `- (void)startWithPushURL:(NSURL *)pushURL completed:(void (^)(BOOL success))handler`
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.2.0 to 1.2.1 API Differences

## General Headers

None
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.2.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.2.1 to 1.2.2 API Differences

## General Headers

None
19 changes: 19 additions & 0 deletions APIDiffs/api-diffs-1.2.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# PLCameraStreamingKit 1.2.2 to 1.2.3 API Differences

## General Headers

```PLCameraStreamingSession.h```

- *Added* `- (instancetype)initWithConfiguration:(PLCameraStreamingConfiguration *)configuration
stream:(PLStream *)stream
videoOrientation:(AVCaptureVideoOrientation)videoOrientation`

- *Deprecated* `- (instancetype)initWithConfiguration:(PLCameraStreamingConfiguration *)configuration
stream:(PLStream *)stream
rtmpPublishHost:(NSString *)rtmpPublishHost
videoOrientation:(AVCaptureVideoOrientation)videoOrientation`

```PLStream.h```

- *Added* `@property (nonatomic, strong) NSArray *profiles;`
- *Added* `@property (nonatomic, strong) NSDictionary *hosts;`
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.2.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.2.3 to 1.2.4 API Differences

## General Headers

None
8 changes: 8 additions & 0 deletions APIDiffs/api-diffs-1.2.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# PLCameraStreamingKit 1.2.4 to 1.2.5 API Differences

## General Headers

```PLTypeDefines.h```

- *Modified* Quality
- *Added* `kPLStreamingQualityLow3`
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.2.6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.2.5 to 1.2.6 API Differences

## General Headers

None
7 changes: 7 additions & 0 deletions APIDiffs/api-diffs-1.2.7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# PLCameraStreamingKit 1.2.6 to 1.2.7 API Differences

## General Headers

```PLCameraStreamingSession.h```

- *Added* `- (void)destroy;`
3 changes: 3 additions & 0 deletions APIDiffs/api-diffs-1.2.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# PLCameraStreamingKit 1.2.7 to 1.2.8 API Differences

## General Headers
16 changes: 16 additions & 0 deletions APIDiffs/api-diffs-1.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# PLCameraStreamingKit 1.2.8 to 1.3.0 API Differences

## General Headers

```PLVideoStreamingConfiguration.h```

- *Modified* `@property (nonatomic, PL_STRONG) NSString *videoQuality;` from `readonly` to `readwrite`

```PLAudioStreamingConfiguration.h```

- *Modified* `@property (nonatomic, PL_STRONG) NSString *audioQuality;` from `readonly` to `readwrite`

```PLCameraStreamingSession.h```

- *Added* protocol `PLStreamingSendingBufferDelegate`
- *Added* category `SendingBuffer`
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.3.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.3.0 to 1.3.1 API Differences

## General Headers

None
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.3.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.3.1 to 1.3.2 API Differences

## General Headers

None
11 changes: 11 additions & 0 deletions APIDiffs/api-diffs-1.4.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# PLCameraStreamingKit 1.3.2 to 1.4.0 API Differences

## General Headers

```PLTypeDefines.h```

- *Added* type `PLStreamingBackgroundMode`

```PLAudioStreamingSession.h```

- *Added* class `PLAudioStreamingSession`
8 changes: 8 additions & 0 deletions APIDiffs/api-diffs-1.4.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# PLCameraStreamingKit 1.4.0 to 1.4.1 API Differences

## General Headers

```PLCameraStreamingSession.h```

- *Modified* protocol `PLCameraStreamingSessionDelegate`
- *Added* method `- (CMSampleBufferRef)cameraStreamingSession:(PLCameraStreamingSession *)session cameraSourceDidGetSampleBuffer:(CMSampleBufferRef)sampleBuffer;`
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.4.10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.4.9 to 1.4.10 API Differences

## General Headers

None
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.4.11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.4.10 to 1.4.11 API Differences

## General Headers

None
7 changes: 7 additions & 0 deletions APIDiffs/api-diffs-1.4.12.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# PLCameraStreamingKit 1.4.11 to 1.4.12 API Differences

## General Headers

```PLCameraStreamingSession.h```

- *Added* `@property (nonatomic, assign, getter=isSmoothAutoFocusEnabled) BOOL smoothAutoFocusEnabled;`
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.4.13.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.4.12 to 1.4.13 API Differences

## General Headers

None
18 changes: 18 additions & 0 deletions APIDiffs/api-diffs-1.4.14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# PLCameraStreamingKit 1.4.13 to 1.4.14 API Differences

## General Headers

```PLTypeDefines.h```

- *Modified* type `PLStreamError`
- *Added* `PLStreamErrorSocketTimeout`
- *Modified* type `PLStreamingDimension`
- *Modified* `VideoStreamingQuality`

```PLVideoStreamingConfiguration.h```

- *Added* method `- (instancetype)initWithUserDefineDimension:(CGSize)videoSize
videoFrameRate:(NSUInteger)fps
videoMaxKeyframeInterval:(NSUInteger)videoMaxKeyframeInterval
videoBitrate:(NSUInteger)videoBitRate`
- *Modified* some property from `readonly` to `writable`
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.4.15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.4.14 to 1.4.15 API Differences

## General Headers

None
5 changes: 5 additions & 0 deletions APIDiffs/api-diffs-1.4.16.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PLCameraStreamingKit 1.4.15 to 1.4.16 API Differences

## General Headers

None
14 changes: 14 additions & 0 deletions APIDiffs/api-diffs-1.4.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# PLCameraStreamingKit 1.4.1 to 1.4.2 API Differences

## General Headers

- *Added* `PLBuffer.h`

```PLAudioStreamingSession.h```

- *Added* Category `SendingBuffer`
- *Added* `@property (nonatomic, PL_WEAK) id<PLStreamingSendingBufferDelegate> bufferDelegate;`
- *Added* `@property (nonatomic, assign) CGFloat lowThreshold;`
- *Added* `@property (nonatomic, assign) CGFloat highThreshold;`
- *Added* `@property (nonatomic, assign) NSTimeInterval maxDuration;`
- *Added* `@property (nonatomic, assign, readonly) NSTimeInterval currentDuration;`
13 changes: 13 additions & 0 deletions APIDiffs/api-diffs-1.4.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# PLCameraStreamingKit 1.4.2 to 1.4.3 API Differences

## General Headers

```PLTypeDefines.h```

- *Added* Type `PLStreamError`
- *Modified* Type `PLStreamState`
- *Added* `PLStreamStateDisconnecting`
- *Modified* Type `PLCameraStreamingSession.h`
- *Added* Method `- (void)cameraStreamingSession:(PLCameraStreamingSession *)session didDisconnectWithError:(NSError *)error;`
- *Modified* Type `PLAudioStreamingSession.h`
- *Added* Method `- (void)audioStreamingSession:(PLAudioStreamingSession *)session didDisconnectWithError:(NSError *)error;`
Loading

0 comments on commit ba07a91

Please sign in to comment.