captureScreenEnabled: true for "WebRTCiOSSDK" framework not working

34 views
Skip to first unread message

Ahmed Amin Hassan

unread,
Sep 16, 2021, 3:31:57 PM9/16/21
to Ant Media Server
Hi all I need some help when trying to use capture screen with live streaming I can't record the screen and get this error in console 

"--> AntMediaSDK: Screen capturer is not started"

2021-09-16 21:27:47.075958+0200 Ant Media[13222:4649586] -[UIWindow endDisablingInterfaceAutorotationAnimated:] called on <UIWindow: 0x12fd07af0; frame = (0 0; 414 896); autoresize = W+H; gestureRecognizers = <NSArray: 0x280c95cb0>; layer = <UIWindowLayer: 0x2802c0820>> without matching -beginDisablingInterfaceAutorotation. Ignoring.

Screen Shot 2021-09-16 at 9.29.17 PM.png

Cem Kılıç

unread,
Sep 20, 2021, 1:42:55 AM9/20/21
to Ant Media Server
Hi,

Have you modified any of the code in the SDK, or do you think it is a bug in the code?

Ahmed Amin Hassan

unread,
Sep 20, 2021, 7:55:41 AM9/20/21
to Ant Media Server
hi , 
I didn't modify any of code and I'm using your reference demo that you providing through website "WebRTCiOSReferenceProject" and if I assign to captureScreenEnabled: false with setOption method it's woking well and can publish liveStreaming but if assign to this parameter with true I get this error and can't publish live streaming and black screen is presented 

Cem Kılıç

unread,
Sep 21, 2021, 6:37:32 AM9/21/21
to Ant Media Server
Thank you,

I am rotating this issue to the upper layer of our support team, they can help you with this issue better.

Regards,
Cem
Reply all
Reply to author
Forward
0 new messages