-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Issue Summary
I am not able to upload videos in an IOS prepared sample app using the Vimeo iOS SDK.
Reproduction Steps
- Authenticate a sample iOS app with a hardcoded token
- Try to upload a mp4 video
- SSL issue / not found is returned: https://www.dropbox.com/s/lw410mpcvak6olo/Second%20error.png?dl=0
Expected Behavior
My expectations were to receive a successful response after making the API calls.
Actual Behavior
Hello there!
We are experiencing some issues while trying to integrate the Vimeo iOS SDK parts.
Currently i've created a simple demo to see how everything works and to make sure i understand how it all works.
The setup is CocoaPods including the following projects:
- VIMNetworking
- VIMVideoPlayer
- VIMUpload
OAuth2 is NOT used - i am hardcoding the access tokens (this is what is necessary).
Authenticating and fetching video information works fine - no questions here.
But the problem is with uploads - they always fail.
I've spent quite some time to dig into what is happening as there is no obvious error being shown.
At the end what i realized is that right now i am trying to upload 1 MP4 video and i see 2 network requests made through AFNetworking - one after another.
What is strange is that the first network request fails - without any errors when stopped at the debugger (https://www.dropbox.com/s/a4hukteeo9yark3/First%20error.png?dl=0).
It lands at the error delegate method but the error is nil. I think this method is the one responsible to allocate TICKETS.
The second call which i see also fails - but it does return an error - it says there is an SSL error although this is probably something else as i see your server returns 404 Not Found and i guess AFNetworking is getting confused somewhere about this.
Why is this URL missing? Is it because the first call failed and the TICKET session was not properly obtained? (Screenshot of the second error: https://www.dropbox.com/s/lw410mpcvak6olo/Second%20error.png?dl=0)
PS: iOS App Transport Security Settings is properly setup.
What we want at the end of the day is to upload and play videos with a hardcoded access token in both our iOS and Android apps using your PRO service.
I would be glad if you can help out as i've spent several hours on this and whatever i try - nothing works.
And a few other questions - after we get this working:
- are the uploaded videos made public somewhere on your site and how can we access / see them.
- is there a way to embed them on another place (website for example)