ziggeo / swift-client-sdk Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
When i add the ZigeoSwiftFramework.framework to my application i get the following error:
Linker command failed with exit code 1(use -v to see invocation).
Pod line I am using
pod 'ZiggeoSwiftSDK', :git => 'https://github.com/Ziggeo/Swift-Client-SDK.git', :branch => '1.1.21'
Still giving this error
Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.3.1 compiler
Clean, or Delete Derived Data not solving anything
Thanks
Do you have any plans for a swift 3 branch?
So I am using ZiggeoRecorder and customizing it using RecorderConfig. When I end up recording a preview player gets presented.
I don't need the presented preview as I want to implement my own player. How can I do this?
I used this configuration:
func getVideoRecorder() -> ZiggeoRecorder {
let recorderConfig = RecorderConfig()
recorderConfig.setShouldAutoStartRecording(false)
recorderConfig.setStartDelay(DEFAULT_START_DELAY)
recorderConfig.setShouldDisableCameraSwitch(false)
recorderConfig.setVideoQuality(.max)
recorderConfig.setFacing(FACING_FRONT)
recorderConfig.setMaxDuration(0)
recorderConfig.setShouldSendImmediately(false)
recorderConfig.setIsPausedMode(true)
recorderConfig.setShouldConfirmStopRecording(false)
ziggeoModule.setRecorderConfig(recorderConfig)
let recorderController = ZiggeoRecorder(application: ziggeoModule)
return recorderController
}
There is a property setShouldSendImmediately
when I set it false, it doesnt show player but it dismisses my controller where I am showing the recorder, which is also an unwanted behaviour.
URL: Optional("https://embed.ziggeo.com/v1/applications/my_access_token/videos/?")
METHOD: Optional("GET")
BODY: nil
2017-01-23 21:56:08.303608 TestApplication[3888:1138504] index error: nil, response: nil
Is this supposed to return a list of existing videos?
If so, how can I fix this error?
If not, how can I do that?
Hi, me again
Can you please compile the framework for the latest tools ?
Thank you
Hi,
Can you please compile the framework for the latest tools ?
Thank you
Hello
I will give you some bugs about ziggeo swift client.
On iphone X variants (X,XS,XSMAX and 11s) record screen bottom controls are little problematic
https://ibb.co/d66PYrj
As you can see bottom controls are overlapping with the iphone's bottom line.
I tried
recorder.modalPresentationStyle = .fullScreen
and
recorder.modalPresentationStyle = .automatic
but still this happens.
Thanks
HI, I use createVideo function to create new video from path returned by ImagePickerController,
video upload callbacka are all trigerred, seems like video uploads but is always 185 bytes in size and actually nothing is uploaded. Local thumb is correct. Any help?
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) {
NSLog("(info)")
if let url = info["UIImagePickerControllerMediaURL"] as? URL {
NSLog("(url)")
self.m_ziggeo = Ziggeo(token: zigeo)
self.m_ziggeo.videos.delegate = self;
self.m_ziggeo.videos.createVideo(nil, file: url.absoluteString, cover: nil, callback: nil, progress: nil);
}
dismiss(animated: true, completion: nil)
}
Hello
This one is not a show stopper but every time I open the recorder I am getting this crash report
Main Thread Checker: UI API called on a background thread: -[UIView isHidden]
PID: 11675, TID: 1898219, Thread name: (none), Queue name: session queue, QoS: 0
Backtrace:
4 ZiggeoSwiftFramework 0x000000010763efb8 $s20ZiggeoSwiftFramework0A8RecorderC9drawFacesyyF + 164
5 ZiggeoSwiftFramework 0x0000000107644ecc $s20ZiggeoSwiftFramework0A8RecorderC13captureOutput_03didF04fromySo09AVCaptureF0C_So17CMSampleBufferRefaSo0I10ConnectionCtFTf4nndn_n + 192
6 ZiggeoSwiftFramework 0x000000010763f1b8 $s20ZiggeoSwiftFramework0A8RecorderC13captureOutput_03didF04fromySo09AVCaptureF0C_So17CMSampleBufferRefaSo0I10ConnectionCtFTo + 96
7 AVFoundation 0x00000001b9bc822c BAE1D0DC-B906-3AF2-9651-A0F35779BE54 + 999980
8 AVFoundation 0x00000001b9bc7f70 BAE1D0DC-B906-3AF2-9651-A0F35779BE54 + 999280
9 CoreMedia 0x00000001b6140ca8 89AD72DE-9912-3E85-B361-AD7CD6D823F0 + 347304
10 CoreMedia 0x00000001b6161988 89AD72DE-9912-3E85-B361-AD7CD6D823F0 + 481672
11 libdispatch.dylib 0x000000010784f27c _dispatch_client_callout + 20
12 libdispatch.dylib 0x0000000107852058 _dispatch_continuation_pop + 572
13 libdispatch.dylib 0x0000000107865824 _dispatch_source_invoke2 + 984
14 libdispatch.dylib 0x0000000107865114 _dispatch_source_invoke + 468
15 libdispatch.dylib 0x0000000107856740 _dispatch_lane_serial_drain + 260
16 libdispatch.dylib 0x00000001078574fc _dispatch_lane_invoke + 408
17 libdispatch.dylib 0x00000001078624dc _dispatch_workloop_worker_thread + 1344
18 libsystem_pthread.dylib 0x00000001af4eb6d0 _pthread_wqthread + 280
19 libsystem_pthread.dylib 0x00000001af4f19e8 start_wqthread + 8
based on crash name (s20ZiggeoSwiftFramework0A8RecorderC9drawFacesyyF) I tried to
recorder.showFaceOutline = false
but still getting this.
Thanks
Module compiled with Swift 5.1.2 cannot be imported by the Swift 5.2 compiler
Tested on 1.1.11
please update
Thanks
Hello
Can you make a version with latest swift compiler version
thanks
Thank you.
Hi coud you update please the podspec file? Cannot put in the 1.1.11 version and looked into the file and your pod points to 1.1.10
Hello new swift version so we need an another new compiled version
Thanks
Could you recompile the framework for Swift 3.1 please.
using the ZiggeoPlayer initializer
let player = ZiggeoPlayer(application: self.ziggeoModule, videoToken: uploadToken)
App is getting crashed giving following error:
Fatal error: Use of unimplemented initializer 'init(playerItem:)' for class 'ZiggeoMediaSwiftSDK.ZiggeoPlayer'
ld: bitcode bundle could not be generated because '/Users/goran/Code/projectname/Pods/ZiggeoSwiftSDK/Output/swift3.3/Universal/ZiggeoSwiftFramework.framework/ZiggeoSwiftFramework' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/goran/Code/mechanican2/Pods/ZiggeoSwiftSDK/Output/swift3.3/Universal/ZiggeoSwiftFramework.framework/ZiggeoSwiftFramework' for architecture arm64
Any idea how to fix this linker problem Xcode 9
Best regards!
Hey, guys! Xcode 11.2 is out, and we can't build the project as we need the framework built against Swift 5.1.2. Would you please build one and upload? Thanks in advance and keep up the great work! ๐ช
I just downloaded the latest from the master
branch on the repo and I am getting a build error in three places. They are all in ViewController.swift
and say:
'Ziggeo' is unavailable: cannot find Swift declaration for this class
The errors are on lines 16, 23, and 66.
It didn't file the framework when I added it. I'm guessing it isn't added to the spec repo?
I worked around it by pointing to this repo:
pod 'ZiggeoSwiftSDK', :git => 'https://github.com/Ziggeo/Swift-Client-SDK'
on iPhone X, app is crashing when user switch to back camera then click record button
-[AVAssetWriterHelper _transitionToClientInitiatedTerminalStatus:]
I installed the app and after I aloowed camera access the screen remained black and I got the capture session runtime error. Here is the log.
2018-01-10 09:27:31.670090 CustomPreview[6306:3085306] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-01-10 09:27:31.684239 CustomPreview[6306:3085306] [MC] Reading from public effective user settings.
2018-01-10 09:27:33.603041 CustomPreview[6306:3085356] capture session configured
2018-01-10 09:27:36.063111 CustomPreview[6306:3085306] capture session runtime error: Optional(Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSUnderlyingError=0x17404d230 {Error Domain=NSOSStatusErrorDomain Code=-16811 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-16811), NSLocalizedDescription=The operation could not be completed})
2018-01-10 09:27:36.065727 CustomPreview[6306:3085356] session started
Device: iPad mini 4
iOS: 10.2
Later Edit:
Also, I tested it on iPhone X and iPhone 7 same with iOS 11.2.1 and on them the app runs without problems.
Hi,
Can you please compile the framework for the latest tools ?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.