-
Notifications
You must be signed in to change notification settings - Fork 146
mirror
mayudong1 edited this page Oct 19, 2016
·
2 revisions
镜像功能可使播放的画面左右镜像翻转,用于主播使用前置摄像头直播时,当推流端没有做镜像设置时由播放端进行一次镜像翻转,从而使图像正常
@property (nonatomic) BOOL mirror;
镜像功能在旋转之前生效,即如果先设置了旋转,再设置镜像,播放效果是依然是对原始视频先进行镜像,再进行旋转的效果
if (_player) {
_player.mirror = YES;
//_player.mirror = NO;
}