Commit faf5f9ca by suolong

修改bug

parent 4a0f0c7c
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
self = [super initWithFrame:frame]; self = [super initWithFrame:frame];
if (self) { if (self) {
self.playView = [FUSStreamVideoPlayView fus_streamVideoPlayViewWithFrame:self.bounds]; self.playView = [[FUSStreamVideoPlayView alloc] initWithFrame:self.bounds];
self.playView.contentMode = UIViewContentModeScaleAspectFit; self.playView.contentMode = UIViewContentModeScaleAspectFit;
__weak typeof(self) weakSelf = self; __weak typeof(self) weakSelf = self;
self.playView.playingStatusDidChangedHandler = ^(FUSVideoPlayerPlayState playStatus) { self.playView.playingStatusDidChangedHandler = ^(FUSVideoPlayerPlayState playStatus) {
...@@ -153,10 +153,10 @@ ...@@ -153,10 +153,10 @@
} }
- (void)clickPlayControlBtnAction:(UIButton *)sender { - (void)clickPlayControlBtnAction:(UIButton *)sender {
//TODO: 索隆 - V57
if (!self.playView.loadingView.hidden) { // if (!self.playView.loadingView.hidden) {
return; // return;
} // }
if (sender.isSelected) { if (sender.isSelected) {
if (![self fus_canPlayVideoCurrentlyAndNeedShowTip:YES]) { if (![self fus_canPlayVideoCurrentlyAndNeedShowTip:YES]) {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
@property (nonatomic, strong) VeLivePusher *livePusher; @property (nonatomic, strong) VeLivePusher *livePusher;
@property (nonatomic, strong) VeLiveVideoEncoderConfiguration *videoEncoderConfig; @property (nonatomic, strong) VeLiveVideoEncoderConfiguration *videoEncoderConfig;
//@property (nonatomic, strong) FFSoundTouchHelper *soundTouchHelper; ////TODO: 鲁迪 //@property (nonatomic, strong) FFSoundTouchHelper *soundTouchHelper; //TODO: 索隆 - V57
// 是否使用七牛内建的美颜 // 是否使用七牛内建的美颜
@property (nonatomic, assign) BOOL shouldUseBuildInBeautyMode; @property (nonatomic, assign) BOOL shouldUseBuildInBeautyMode;
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
if (srcFrame.bufferType == VeLiveAudioBufferTypeNSData && srcFrame.data != nil) { if (srcFrame.bufferType == VeLiveAudioBufferTypeNSData && srcFrame.data != nil) {
//TODO: 鲁迪 //TODO: 索隆 - V57
// 使用音高变换(不改变速度) // 使用音高变换(不改变速度)
// NSData *processedData = [self.soundTouchHelper syncProcessAudioData:srcFrame.data]; // NSData *processedData = [self.soundTouchHelper syncProcessAudioData:srcFrame.data];
// //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment