From eeb0fad802f9558eb74c6964480b38b49e016c45 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期四, 06 四月 2023 17:40:08 +0800 Subject: [PATCH] 1.增加不能app配网提示页功能 2.修改部分或计划语言 --- EZSDK/EZSDK/EZ/UIViewControllers/EZLivePlayViewController.m | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/EZSDK/EZSDK/EZ/UIViewControllers/EZLivePlayViewController.m b/EZSDK/EZSDK/EZ/UIViewControllers/EZLivePlayViewController.m index 14f7798..2167f96 100644 --- a/EZSDK/EZSDK/EZ/UIViewControllers/EZLivePlayViewController.m +++ b/EZSDK/EZSDK/EZ/UIViewControllers/EZLivePlayViewController.m @@ -581,6 +581,23 @@ } +///** +// * 鏀跺埌鐨勭敾闈㈤暱瀹藉�� +// * +// * @param player 鎾斁鍣ㄥ璞� +// * @param height 楂樺害 +// * @param width 瀹藉害 +// */ +//- (void)player:(EZPlayer *)player didReceivedDisplayHeight:(NSInteger)height displayWidth:(NSInteger)width{ +// HDLEZLog(@"鐢婚潰闀匡細%ld锛屽锛�%ld",(long)height,(long)width); +// CGFloat playerVH=self.playerView.frame.size.height; +// CGFloat playerVW=playerVH*(width/height); +// self.playerView.frame=CGRectMake(0, 0, 50, 50); +// HDLEZLog(@"playerView鐨刦rame锛�%f",self.playerView.frame.size.width); +// +//} + + - (void)player:(EZPlayer *)player didPlayFailed:(NSError *)error { NSLog(@"player: %@, didPlayFailed: %@", player, error); -- Gitblit v1.8.0