diff --git a/LFLiveKit/LFLiveKit.h b/LFLiveKit/LFLiveKit.h index d43d8100..b3f21814 100644 --- a/LFLiveKit/LFLiveKit.h +++ b/LFLiveKit/LFLiveKit.h @@ -2,8 +2,8 @@ // LFLiveKit.h // LFLiveKit // -// Created by admin on 16/5/24. -// Copyright © 2016年 admin. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #if __has_include() diff --git a/LFLiveKit/LFLiveSession.h b/LFLiveKit/LFLiveSession.h index 94921993..37d79e61 100755 --- a/LFLiveKit/LFLiveSession.h +++ b/LFLiveKit/LFLiveSession.h @@ -2,8 +2,9 @@ // LFLiveSession.h // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/LFLiveSession.m b/LFLiveKit/LFLiveSession.m index 527935c1..41a7034e 100755 --- a/LFLiveKit/LFLiveSession.m +++ b/LFLiveKit/LFLiveSession.m @@ -2,8 +2,8 @@ // LFLiveSession.m // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFLiveSession.h" diff --git a/LFLiveKit/capture/LFAudioCapture.h b/LFLiveKit/capture/LFAudioCapture.h index a7fafc77..904fef0f 100755 --- a/LFLiveKit/capture/LFAudioCapture.h +++ b/LFLiveKit/capture/LFAudioCapture.h @@ -2,8 +2,8 @@ // LFAudioCapture.h // LFLiveKit // -// Created by 倾慕 on 16/5/1. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/capture/LFAudioCapture.m b/LFLiveKit/capture/LFAudioCapture.m index 7eb5acf0..a60f095c 100755 --- a/LFLiveKit/capture/LFAudioCapture.m +++ b/LFLiveKit/capture/LFAudioCapture.m @@ -2,8 +2,8 @@ // LFAudioCapture.m // LFLiveKit // -// Created by 倾慕 on 16/5/1. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFAudioCapture.h" diff --git a/LFLiveKit/capture/LFVideoCapture.h b/LFLiveKit/capture/LFVideoCapture.h index e9009c40..b950e0cc 100755 --- a/LFLiveKit/capture/LFVideoCapture.h +++ b/LFLiveKit/capture/LFVideoCapture.h @@ -2,8 +2,8 @@ // LFVideoCapture.h // LFLiveKit // -// Created by 倾慕 on 16/5/1. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/capture/LFVideoCapture.m b/LFLiveKit/capture/LFVideoCapture.m index 27d3312b..c14bdf0d 100755 --- a/LFLiveKit/capture/LFVideoCapture.m +++ b/LFLiveKit/capture/LFVideoCapture.m @@ -2,8 +2,8 @@ // LFVideoCapture.m // LFLiveKit // -// Created by 倾慕 on 16/5/1. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFVideoCapture.h" diff --git a/LFLiveKit/coder/LFAudioEncoding.h b/LFLiveKit/coder/LFAudioEncoding.h index d9cbab1e..ff43ea83 100755 --- a/LFLiveKit/coder/LFAudioEncoding.h +++ b/LFLiveKit/coder/LFAudioEncoding.h @@ -2,8 +2,8 @@ // LFAudioEncoding.h // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/coder/LFH264VideoEncoder.h b/LFLiveKit/coder/LFH264VideoEncoder.h index fe4dc420..b62f891a 100644 --- a/LFLiveKit/coder/LFH264VideoEncoder.h +++ b/LFLiveKit/coder/LFH264VideoEncoder.h @@ -2,8 +2,8 @@ // LFH264VideoEncoder // LFLiveKit // -// Created by feng on 7/5/16. -// Copyright (c) 2014 zhanqi.tv. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #if __has_include() diff --git a/LFLiveKit/coder/LFH264VideoEncoder.mm b/LFLiveKit/coder/LFH264VideoEncoder.mm index e788ab1d..18e83dc6 100644 --- a/LFLiveKit/coder/LFH264VideoEncoder.mm +++ b/LFLiveKit/coder/LFH264VideoEncoder.mm @@ -2,8 +2,8 @@ // LFH264VideoEncoder // LFLiveKit // -// Created by feng on 7/5/16. -// Copyright (c) 2014 zhanqi.tv. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/coder/LFHardwareAudioEncoder.h b/LFLiveKit/coder/LFHardwareAudioEncoder.h index 191b7693..b82fc9f8 100755 --- a/LFLiveKit/coder/LFHardwareAudioEncoder.h +++ b/LFLiveKit/coder/LFHardwareAudioEncoder.h @@ -2,8 +2,8 @@ // LFHardwareAudioEncoder.h // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #if __has_include() diff --git a/LFLiveKit/coder/LFHardwareAudioEncoder.m b/LFLiveKit/coder/LFHardwareAudioEncoder.m index e2761ec1..5d487467 100755 --- a/LFLiveKit/coder/LFHardwareAudioEncoder.m +++ b/LFLiveKit/coder/LFHardwareAudioEncoder.m @@ -2,8 +2,8 @@ // LFHardwareAudioEncoder.m // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFHardwareAudioEncoder.h" @@ -35,7 +35,7 @@ - (instancetype)initWithAudioStreamConfiguration:(nullable LFLiveAudioConfigurat if (!aacBuf) { aacBuf = malloc(_configuration.bufferLength); } - + #ifdef DEBUG enabledWriteVideoFile = NO; @@ -48,7 +48,6 @@ - (instancetype)initWithAudioStreamConfiguration:(nullable LFLiveAudioConfigurat - (void)dealloc { if (aacBuf) free(aacBuf); if (leftBuf) free(leftBuf); - if(m_converter) AudioConverterDispose(m_converter); } #pragma mark -- LFAudioEncoder @@ -60,7 +59,7 @@ - (void)encodeAudioData:(nullable NSData*)audioData timeStamp:(uint64_t)timeStam if (![self createAudioConvert]) { return; } - + if(leftLength + audioData.length >= self.configuration.bufferLength){ ///<  发送 NSInteger totalSize = leftLength + audioData.length; @@ -100,7 +99,7 @@ - (void)encodeBuffer:(char*)buf timeStamp:(uint64_t)timeStamp{ AudioBufferList buffers; buffers.mNumberBuffers = 1; buffers.mBuffers[0] = inBuffer; - + // 初始化一个输出缓冲列表 AudioBufferList outBufferList; @@ -134,7 +133,7 @@ - (void)encodeBuffer:(char*)buf timeStamp:(uint64_t)timeStamp{ } - (void)stopEncoder { - + } #pragma mark -- CustomMethod @@ -142,7 +141,7 @@ - (BOOL)createAudioConvert { //根据输入样本初始化一个编码转换器 if (m_converter != nil) { return TRUE; } - + AudioStreamBasicDescription inputFormat = {0}; inputFormat.mSampleRate = _configuration.audioSampleRate; inputFormat.mFormatID = kAudioFormatLinearPCM; @@ -152,14 +151,14 @@ - (BOOL)createAudioConvert { //根据输入样本初始化一个编码转换器 inputFormat.mBitsPerChannel = 16; inputFormat.mBytesPerFrame = inputFormat.mBitsPerChannel / 8 * inputFormat.mChannelsPerFrame; inputFormat.mBytesPerPacket = inputFormat.mBytesPerFrame * inputFormat.mFramesPerPacket; - + AudioStreamBasicDescription outputFormat; // 这里开始是输出音频格式 memset(&outputFormat, 0, sizeof(outputFormat)); outputFormat.mSampleRate = inputFormat.mSampleRate; // 采样率保持一致 outputFormat.mFormatID = kAudioFormatMPEG4AAC; // AAC编码 kAudioFormatMPEG4AAC kAudioFormatMPEG4AAC_HE_V2 outputFormat.mChannelsPerFrame = (UInt32)_configuration.numberOfChannels;; outputFormat.mFramesPerPacket = 1024; // AAC一帧是1024个字节 - + const OSType subtype = kAudioFormatMPEG4AAC; AudioClassDescription requestedCodecs[2] = { { @@ -177,16 +176,16 @@ - (BOOL)createAudioConvert { //根据输入样本初始化一个编码转换器 OSStatus result = AudioConverterNewSpecific(&inputFormat, &outputFormat, 2, requestedCodecs, &m_converter);; UInt32 outputBitrate = _configuration.audioBitrate; UInt32 propSize = sizeof(outputBitrate); -// UInt32 outputPacketSize = 0; - + // UInt32 outputPacketSize = 0; + if(result == noErr) { result = AudioConverterSetProperty(m_converter, kAudioConverterEncodeBitRate, propSize, &outputBitrate); } -// if(result == noErr) { -// AudioConverterGetProperty(m_converter, kAudioConverterPropertyMaximumOutputPacketSize, &propSize, &outputPacketSize); -// } + // if(result == noErr) { + // AudioConverterGetProperty(m_converter, kAudioConverterPropertyMaximumOutputPacketSize, &propSize, &outputPacketSize); + // } return YES; } diff --git a/LFLiveKit/coder/LFHardwareVideoEncoder.h b/LFLiveKit/coder/LFHardwareVideoEncoder.h index d993aeab..696f9a8b 100755 --- a/LFLiveKit/coder/LFHardwareVideoEncoder.h +++ b/LFLiveKit/coder/LFHardwareVideoEncoder.h @@ -2,8 +2,8 @@ // LFHardwareVideoEncoder.h // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #if __has_include() diff --git a/LFLiveKit/coder/LFHardwareVideoEncoder.m b/LFLiveKit/coder/LFHardwareVideoEncoder.m index 16d9ae55..0f95c8d9 100755 --- a/LFLiveKit/coder/LFHardwareVideoEncoder.m +++ b/LFLiveKit/coder/LFHardwareVideoEncoder.m @@ -2,10 +2,9 @@ // LFHardwareVideoEncoder.m // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // - #import "LFHardwareVideoEncoder.h" #import @@ -21,6 +20,7 @@ @interface LFHardwareVideoEncoder (){ @property (nonatomic, strong) LFLiveVideoConfiguration *configuration; @property (nonatomic, weak) id h264Delegate; @property (nonatomic) NSInteger currentVideoBitRate; +@property (nonatomic) BOOL isBackGround; @end @@ -32,7 +32,8 @@ - (instancetype)initWithVideoStreamConfiguration:(LFLiveVideoConfiguration *)con NSLog(@"USE LFHardwareVideoEncoder"); _configuration = configuration; [self resetCompressionSession]; - + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(willEnterBackground:) name:UIApplicationWillResignActiveNotification object:nil]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(willEnterForeground:) name:UIApplicationDidBecomeActiveNotification object:nil]; #ifdef DEBUG enabledWriteVideoFile = NO; [self initForFilePath]; @@ -72,6 +73,7 @@ - (void)resetCompressionSession { } - (void)setVideoBitRate:(NSInteger)videoBitRate { + if(_isBackGround) return; VTSessionSetProperty(compressionSession, kVTCompressionPropertyKey_AverageBitRate, (__bridge CFTypeRef)@(videoBitRate)); NSArray *limit = @[@(videoBitRate * 1.5/8), @(1)]; VTSessionSetProperty(compressionSession, kVTCompressionPropertyKey_DataRateLimits, (__bridge CFArrayRef)limit); @@ -90,11 +92,12 @@ - (void)dealloc { CFRelease(compressionSession); compressionSession = NULL; } + [[NSNotificationCenter defaultCenter] removeObserver:self]; } #pragma mark -- LFVideoEncoder - (void)encodeVideoData:(CVPixelBufferRef)pixelBuffer timeStamp:(uint64_t)timeStamp { - + if(_isBackGround) return; frameCount++; CMTime presentationTimeStamp = CMTimeMake(frameCount, (int32_t)_configuration.videoFrameRate); VTEncodeInfoFlags flags; @@ -120,6 +123,16 @@ - (void)setDelegate:(id)delegate { _h264Delegate = delegate; } +#pragma mark -- Notification +- (void)willEnterBackground:(NSNotification*)notification{ + _isBackGround = YES; +} + +- (void)willEnterForeground:(NSNotification*)notification{ + [self resetCompressionSession]; + _isBackGround = NO; +} + #pragma mark -- VideoCallBack static void VideoCompressonOutputCallback(void *VTref, void *VTFrameRef, OSStatus status, VTEncodeInfoFlags infoFlags, CMSampleBufferRef sampleBuffer){ if (!sampleBuffer) return; diff --git a/LFLiveKit/coder/LFVideoEncoding.h b/LFLiveKit/coder/LFVideoEncoding.h index cf2bd66e..ccdd085a 100755 --- a/LFLiveKit/coder/LFVideoEncoding.h +++ b/LFLiveKit/coder/LFVideoEncoding.h @@ -2,8 +2,8 @@ // LFVideoEncoding.h // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/configuration/LFLiveAudioConfiguration.h b/LFLiveKit/configuration/LFLiveAudioConfiguration.h index a3217144..7db22ab3 100755 --- a/LFLiveKit/configuration/LFLiveAudioConfiguration.h +++ b/LFLiveKit/configuration/LFLiveAudioConfiguration.h @@ -2,8 +2,8 @@ // LFLiveAudioConfiguration.h // LFLiveKit // -// Created by 倾慕 on 16/5/1. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/configuration/LFLiveAudioConfiguration.m b/LFLiveKit/configuration/LFLiveAudioConfiguration.m index f489c5d4..5ecdea72 100755 --- a/LFLiveKit/configuration/LFLiveAudioConfiguration.m +++ b/LFLiveKit/configuration/LFLiveAudioConfiguration.m @@ -2,8 +2,8 @@ // LFLiveAudioConfiguration.m // LFLiveKit // -// Created by 倾慕 on 16/5/1. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFLiveAudioConfiguration.h" diff --git a/LFLiveKit/configuration/LFLiveVideoConfiguration.h b/LFLiveKit/configuration/LFLiveVideoConfiguration.h index 9ad3c9f3..f0fd7286 100755 --- a/LFLiveKit/configuration/LFLiveVideoConfiguration.h +++ b/LFLiveKit/configuration/LFLiveVideoConfiguration.h @@ -2,8 +2,8 @@ // LFLiveVideoConfiguration.h // LFLiveKit // -// Created by 倾慕 on 16/5/1. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/configuration/LFLiveVideoConfiguration.m b/LFLiveKit/configuration/LFLiveVideoConfiguration.m index 7a10eede..a15a30bb 100755 --- a/LFLiveKit/configuration/LFLiveVideoConfiguration.m +++ b/LFLiveKit/configuration/LFLiveVideoConfiguration.m @@ -2,8 +2,8 @@ // LFLiveVideoConfiguration.m // LFLiveKit // -// Created by 倾慕 on 16/5/1. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFLiveVideoConfiguration.h" diff --git a/LFLiveKit/objects/LFAudioFrame.h b/LFLiveKit/objects/LFAudioFrame.h index b57d04df..cb464ce3 100755 --- a/LFLiveKit/objects/LFAudioFrame.h +++ b/LFLiveKit/objects/LFAudioFrame.h @@ -2,8 +2,8 @@ // LFAudioFrame.h // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #if __has_include() diff --git a/LFLiveKit/objects/LFAudioFrame.m b/LFLiveKit/objects/LFAudioFrame.m index 4c8c3ed8..03a7c81e 100755 --- a/LFLiveKit/objects/LFAudioFrame.m +++ b/LFLiveKit/objects/LFAudioFrame.m @@ -2,8 +2,8 @@ // LFAudioFrame.m // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFAudioFrame.h" diff --git a/LFLiveKit/objects/LFFrame.h b/LFLiveKit/objects/LFFrame.h index 9bea6cde..3d1689a9 100755 --- a/LFLiveKit/objects/LFFrame.h +++ b/LFLiveKit/objects/LFFrame.h @@ -2,8 +2,8 @@ // LFFrame.h // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/objects/LFFrame.m b/LFLiveKit/objects/LFFrame.m index 87f5d98e..434a9a36 100755 --- a/LFLiveKit/objects/LFFrame.m +++ b/LFLiveKit/objects/LFFrame.m @@ -2,8 +2,8 @@ // LFFrame.m // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFFrame.h" diff --git a/LFLiveKit/objects/LFLiveDebug.h b/LFLiveKit/objects/LFLiveDebug.h index c183e158..7f4ec844 100644 --- a/LFLiveKit/objects/LFLiveDebug.h +++ b/LFLiveKit/objects/LFLiveDebug.h @@ -2,8 +2,8 @@ // LFLiveDebug.h // LaiFeng // -// Created by admin on 16/5/19. -// Copyright © 2016年 live Interactive. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/objects/LFLiveDebug.m b/LFLiveKit/objects/LFLiveDebug.m index 22dc44a0..cae6195e 100644 --- a/LFLiveKit/objects/LFLiveDebug.m +++ b/LFLiveKit/objects/LFLiveDebug.m @@ -2,8 +2,8 @@ // LFLiveDebug.m // LaiFeng // -// Created by admin on 16/5/19. -// Copyright © 2016年 live Interactive. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFLiveDebug.h" diff --git a/LFLiveKit/objects/LFLiveStreamInfo.h b/LFLiveKit/objects/LFLiveStreamInfo.h index 04639f5e..862c040e 100755 --- a/LFLiveKit/objects/LFLiveStreamInfo.h +++ b/LFLiveKit/objects/LFLiveStreamInfo.h @@ -2,9 +2,9 @@ // LFLiveStreamInfo.h // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. -// 真正的上传地址 token等 +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. +// #import diff --git a/LFLiveKit/objects/LFLiveStreamInfo.m b/LFLiveKit/objects/LFLiveStreamInfo.m index 7370aab4..a1a1d971 100755 --- a/LFLiveKit/objects/LFLiveStreamInfo.m +++ b/LFLiveKit/objects/LFLiveStreamInfo.m @@ -2,8 +2,8 @@ // LFLiveStreamInfo.m // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFLiveStreamInfo.h" diff --git a/LFLiveKit/objects/LFVideoFrame.h b/LFLiveKit/objects/LFVideoFrame.h index aa658a64..e2c089b0 100755 --- a/LFLiveKit/objects/LFVideoFrame.h +++ b/LFLiveKit/objects/LFVideoFrame.h @@ -2,8 +2,8 @@ // LFVideoFrame.h // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #if __has_include() diff --git a/LFLiveKit/objects/LFVideoFrame.m b/LFLiveKit/objects/LFVideoFrame.m index 1dabf13c..b050c38b 100755 --- a/LFLiveKit/objects/LFVideoFrame.m +++ b/LFLiveKit/objects/LFVideoFrame.m @@ -2,8 +2,8 @@ // LFVideoFrame.m // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFVideoFrame.h" diff --git a/LFLiveKit/publish/LFStreamRTMPSocket.h b/LFLiveKit/publish/LFStreamRTMPSocket.h index f8a7a6fa..edbabda5 100644 --- a/LFLiveKit/publish/LFStreamRTMPSocket.h +++ b/LFLiveKit/publish/LFStreamRTMPSocket.h @@ -2,8 +2,8 @@ // LFStreamRTMPSocket.h // LaiFeng // -// Created by admin on 16/5/18. -// Copyright © 2016年 live Interactive. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #if __has_include() diff --git a/LFLiveKit/publish/LFStreamRtmpSocket.m b/LFLiveKit/publish/LFStreamRtmpSocket.m index d56e1c0c..54211175 100644 --- a/LFLiveKit/publish/LFStreamRtmpSocket.m +++ b/LFLiveKit/publish/LFStreamRtmpSocket.m @@ -2,8 +2,8 @@ // LFStreamRTMPSocket.m // LFLiveKit // -// Created by admin on 16/5/18. -// Copyright © 2016年 live Interactive. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFStreamRTMPSocket.h" diff --git a/LFLiveKit/publish/LFStreamSocket.h b/LFLiveKit/publish/LFStreamSocket.h index d2ac7559..8855e3da 100644 --- a/LFLiveKit/publish/LFStreamSocket.h +++ b/LFLiveKit/publish/LFStreamSocket.h @@ -2,8 +2,8 @@ // LFStreamSocket.h // LFLiveKit // -// Created by admin on 16/5/3. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/publish/LFStreamingBuffer.h b/LFLiveKit/publish/LFStreamingBuffer.h index 585744fe..77c1ef8f 100755 --- a/LFLiveKit/publish/LFStreamingBuffer.h +++ b/LFLiveKit/publish/LFStreamingBuffer.h @@ -2,8 +2,8 @@ // LFStreamingBuffer.h // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/publish/LFStreamingBuffer.m b/LFLiveKit/publish/LFStreamingBuffer.m index df49b811..34ece83f 100755 --- a/LFLiveKit/publish/LFStreamingBuffer.m +++ b/LFLiveKit/publish/LFStreamingBuffer.m @@ -2,8 +2,8 @@ // LFStreamingBuffer.m // LFLiveKit // -// Created by 倾慕 on 16/5/2. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "LFStreamingBuffer.h" diff --git a/LFLiveKit/publish/NSMutableArray+LFAdd.h b/LFLiveKit/publish/NSMutableArray+LFAdd.h index 424556f0..2b5673d0 100755 --- a/LFLiveKit/publish/NSMutableArray+LFAdd.h +++ b/LFLiveKit/publish/NSMutableArray+LFAdd.h @@ -2,8 +2,8 @@ // NSMutableArray+LFAdd.h // YYKit // -// Created by admin on 16/5/20. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import diff --git a/LFLiveKit/publish/NSMutableArray+LFAdd.m b/LFLiveKit/publish/NSMutableArray+LFAdd.m index 48746e03..57d865f1 100755 --- a/LFLiveKit/publish/NSMutableArray+LFAdd.m +++ b/LFLiveKit/publish/NSMutableArray+LFAdd.m @@ -2,8 +2,8 @@ // NSMutableArray+LFAdd.m // YYKit // -// Created by admin on 16/5/20. -// Copyright © 2016年 倾慕. All rights reserved. +// Created by LaiFeng on 16/5/20. +// Copyright © 2016年 LaiFeng All rights reserved. // #import "NSMutableArray+LFAdd.h"