42 lines
959 B
Objective-C
42 lines
959 B
Objective-C
//
|
||
// SellyLivePusherStats.h
|
||
// AFNetworking
|
||
//
|
||
// Created by Caleb on 23/9/25.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
@interface SellyLivePusherStats : NSObject <NSCopying>
|
||
|
||
//直播协议
|
||
@property (nonatomic, strong)NSString *protocol;
|
||
|
||
/// App / System CPU(%)
|
||
@property (nonatomic, assign) NSUInteger appCpu;
|
||
@property (nonatomic, assign) NSUInteger systemCpu;
|
||
|
||
/// 帧率(fps)
|
||
@property (nonatomic, assign) NSUInteger fps;
|
||
|
||
/// 视频 / 音频码率(kbps)
|
||
@property (nonatomic, assign) NSUInteger videoBitrate;
|
||
@property (nonatomic, assign) NSUInteger audioBitrate;
|
||
|
||
/// 总上行速率(kbps)等于videoBitrate+audioBitrate
|
||
@property (nonatomic, assign) NSUInteger netSpeed;
|
||
|
||
/// RTT(ms)
|
||
@property (nonatomic, assign) NSUInteger rtt;
|
||
|
||
/// 快照时间(ms since boot)
|
||
@property (nonatomic, assign) uint64_t timestampMs;
|
||
|
||
//videoSize
|
||
@property (nonatomic, assign)CGSize size;
|
||
|
||
@end
|
||
NS_ASSUME_NONNULL_END
|