From 8fb1bc18bad99b2de79783848b41d07da01315a7 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 01 九月 2021 17:04:05 +0800 Subject: [PATCH] 采用纯oc sdk解决版本适配问题;解决呼叫不能截屏问题 --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/mediastream.h | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/mediastream.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/mediastream.h index 451e75f..97626a1 100755 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/mediastream.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/mediastream.h @@ -804,7 +804,6 @@ typedef void (*VideoStreamRenderCallback)(void *user_pointer, const MSPicture *local_view, const MSPicture *remote_view); typedef void (*VideoStreamEventCallback)(void *user_pointer, const MSFilter *f, const unsigned int event_id, const void *args); -typedef void (*VideoStreamCameraNotWorkingCallback)(void *user_pointer, const MSWebCam *old_webcam); struct _MediastreamVideoStat { @@ -856,17 +855,13 @@ int device_orientation; /* warning: meaning of this variable depends on the platform (Android, iOS, ...) */ uint64_t last_reported_decoding_error_time; uint64_t last_fps_check; - uint64_t last_camera_check; - int dead_camera_check_count; - VideoStreamCameraNotWorkingCallback cameracb; - void *camera_pointer; MediaStreamVideoStat ms_video_stat; bool_t use_preview_window; bool_t enable_qrcode_decoder; bool_t freeze_on_error; bool_t display_filter_auto_rotate_enabled; - bool_t source_performs_encoding; + bool_t output_performs_decoding; bool_t player_active; bool_t staticimage_webcam_fps_optimization; /* if TRUE, the StaticImage webcam will ignore the fps target in order to save CPU time. Default is TRUE */ @@ -896,7 +891,6 @@ } MS2_PUBLIC void video_stream_set_render_callback(VideoStream *s, VideoStreamRenderCallback cb, void *user_pointer); MS2_PUBLIC void video_stream_set_event_callback(VideoStream *s, VideoStreamEventCallback cb, void *user_pointer); -MS2_PUBLIC void video_stream_set_camera_not_working_callback(VideoStream *s, VideoStreamCameraNotWorkingCallback cb, void *user_pointer); MS2_PUBLIC void video_stream_set_display_filter_name(VideoStream *s, const char *fname); MS2_PUBLIC int video_stream_start_with_source(VideoStream *stream, RtpProfile *profile, const char *rem_rtp_ip, int rem_rtp_port, const char *rem_rtcp_ip, int rem_rtcp_port, int payload, int jitt_comp, MSWebCam* cam, MSFilter* source); @@ -1344,6 +1338,7 @@ * @} **/ +MS2_PUBLIC void update_bitrate_limit_from_tmmbr(MediaStream *obj, int br_limit); #ifdef __cplusplus } -- Gitblit v1.8.0