Skip to content

Commit

Permalink
update library and headers
Browse files Browse the repository at this point in the history
  • Loading branch information
lawder committed Apr 28, 2017
1 parent bd83895 commit 805bf9b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions Pod/Library/include/Common/PLTypeDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>


#pragma mark - Stream State


Expand Down
11 changes: 11 additions & 0 deletions Pod/Library/include/PLMediaStreamingKit/PLMediaStreamingSession.h
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,17 @@
*/
- (void)getScreenshotWithCompletionHandler:(nullable PLStreamScreenshotHandler)handler;

/**
* @brief 设置推流图片
*
* @param image 推流的图片
*
* @discussion 由于某些特殊原因不想使用摄像头采集的数据来推流时,可以使用该接口设置一张图片来替代。传入 nil 则关闭该功能。
*
* @since v2.2.1
*/
- (void)setPushImage:(nullable UIImage *)image;

@end

#pragma mark - Category (MicrophoneSource)
Expand Down
5 changes: 5 additions & 0 deletions Pod/Library/include/PLStreamingKit/PLStreamingEnv.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
*/
+(void)enableQos:(BOOL)flag;

/**
@brief 获取 QoS 的采样间隔
*/
+(NSUInteger)getSampleInterval;

/**
@brief 是否打开测速功能,默认关闭
Expand Down
Binary file modified Pod/Library/libPLMediaStreamingKit.a
Binary file not shown.

0 comments on commit 805bf9b

Please sign in to comment.