openwebrtc-ios-sdk icon indicating copy to clipboard operation
openwebrtc-ios-sdk copied to clipboard

What is the minimal supported iOS version ?

Open manuroe opened this issue 10 years ago • 3 comments

The openwebrtc-ios-sdk claims iOS7 but the iOS OWR demo apps start from iOS8. Matrix Console starts from iOS7. Calls works fine between iOS7 OWR and FF/Chrome or other iOS7 OWR client. But there is an interoperability issue when making calls between iOS7 vs iOS8: there is no video both side.

Only the iOS7 logs show errors:

Assert - (kernResult == kIOReturnSuccess) - f: /SourceCache/AppleVXE380/AppleVXE380-403/Library/AppleVXE380UserLandLibrary.cpp l: 494 AppleVXE380VA ERROR: IOServiceOpen failed Assert - (false) - f: /SourceCache/AppleVXE380/AppleVXE380-403/Library/AppleVXE380FIGwrapper.cpp l: 3106 VXE FIG: H264VideoEncoderVA_DriverCreate failed. Assert - (pDriverInstance) - f: /SourceCache/AppleVXE380/AppleVXE380-403/Library/AppleVXE380UserLandLibrary.cpp l: 579 AppleVXE380VA ERROR: AppleVXE380VA_DriverDelete, pDriverInstance NULL.

Assert - (err == noErr) - f: /SourceCache/AppleVXE380/AppleVXE380-403/Library/AppleVXE380FIGwrapper.cpp l: 3227 VXE FIG ERROR: AppleVXE380VA_DriverDelete failed. 0:04:43.601722000 [332m 787[00m 0x163321b8 [31;01mERROR [00m [00m vtenc vtenc.c:792:gst_vtenc_create_session:<encoder_vtenc_h264_0>[00m VTCompressionSessionCreate() returned: -12907

manuroe avatar Jun 05 '15 14:06 manuroe

@alessandrod do you think this is related to the GStreamer elements for HW coding?

stefanalund avatar Sep 11 '15 11:09 stefanalund

Wasn't VideoToolbox only published as a framework for iOS 8?

In which case, yes. iOS 7 cannot and should not use vt* elements. Maybe we can code around that.

superdump avatar Sep 11 '15 13:09 superdump

To answer your question stated in the title of the issue, OWR supports at least iOS 7. As @superdump says iOS 8 introduced the possibility to do HW accelerated H.264 video. If OWR is running on iOS 8 and a supported device, HW will be used, otherwise we fall back to SW coding via OpenH264.

stefanalund avatar Sep 14 '15 06:09 stefanalund