otalk / ios-demo Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi,
I've manage to make the application work on my signaling server(based on signalMaster) and configured the TURN/STUN server(based on restund), sometimes i can get 2 way A/V but in most cases i get ICEConnectionStateChanged with status = RTCICEConnectionFailed.
Any idea?
I am doing an app for company voice meeting. I have integrated the webrtc-ios to my app, and it works fine.
My problem is I want to record the audio of the voice conversation. Not only microphone, the app needs to record the speaker output.
How can I get it from something like RTCMediaStreamTrack? Thanks!
Hi,
I was trying to run the ios-demo and i could not find "libPods-ios-demo.a".
Thanks,
Tzahi
I have tried deploying the client code in physical devices and it was working fine. My requirement or future plan is to have my own signalling server mechanism which is similar to the one which it is connecting now(http://signaling.simplewebrtc.com).Do anyone knows how to implement it or is there any readymade server code available which actually integrates with this sample client . Any suggestions will be helpful ..
Hello everybody,
I configured my turnserver and can use two browsers to communicate via turnserver just fine.
However, the ios-app seems to ignore the username when trying to connect to the turnserver.
The turnserver always reports:
847: user <>: incoming packet BINDING processed, success
So, the app ignores the username.
however, in TLKSocketSignalingIO.m (somewhere around line 338) I receive the credentials just fine.
I get the username and password/credential reported as plaintext...just as the browser...but, the username is not used when trying to connect to the turnserver.
Please help me out here :(
Thanks in advance
Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions(Xcode14)
Hi, I couldn't make the app show the cameras for each other. I tried on 2 different phones ios8.3. I installed the podfile corrently as well if I didn't have to change anything in the podfile. The app opens and asks for camera usage permission but doesn't show the cameras for each other (or themselves). It's just blank white screen. In addition, XCTest.framework seems missing (red) in the project for me. And I get this log:
2015-05-14 16:00:11.622 ios-demo[10558:2360515] WARNING: -[<AVCaptureConnection: 0x16f84e40> setVideoMinFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMinFrameDuration
2015-05-14 16:00:11.625 ios-demo[10558:2360515] WARNING: -[<AVCaptureConnection: 0x16f84e40> setVideoMaxFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMaxFrameDuration
2015-05-14 16:00:11.637 ios-demo[10558:2360302] connect success
2015-05-14 16:00:11.933 ios-demo[10558:2360302] join success
Am I doing something wrong?
Hi,
Is there an option to switch front camera with back one? I'm trying to remove / add RTCVideoTrack but I after that stream just stops after adding new track.
Thanks,
Josip
Hi
I can't see any videos on the device (local and remote).
I tested this project with an iPhone5 and an iPad, it looks working perfectly, i can see the stream of my camera on the web, but I can't see it on the device.
I followed the instructions provided but I am getting the error
AFURLRequestSerialization.h - file not found
Hi! I'm trying the app but doesn't connect, my debug console says this:
2016-04-26 09:19:11.949 ios-demo[1179:604011] connect success
2016-04-26 09:19:11.952 ios-demo[1179:604011] eventName = stunservers, type = (null), from = (null), to = (null)
2016-04-26 09:19:11.952 ios-demo[1179:604011] eventName = turnservers, type = (null), from = (null), to = (null)
2016-04-26 09:19:12.035 ios-demo[1179:604011] join success
Do you have any idea about this?
WebRTC has update the project recently. Now you can generate a framework file to import webrtc in your project. They have been renaming some classes too.
I would like this working on the latest version of WebRTC it is possible.
Thanks!
Hi there,
I took your example and did some layouting without thouching the original code.
In my App I now have a input field for a room name. Pressing a button will move to the view in which the video is shown. Everything is fine up to now...but, how would I CORRECTLY end the stream, close connection to the signaling server and then dismiss the view?
I tried this but I always get errors in a C Lib MediaStreamProxy ....its tryin to access something that does not exist anymore at this point.
Also, in RTCVideoRenderer.h the delegate is of "strong" type...is this intended?
@Property(nonatomic, strong) id delegate;
Edit:
I think its bout the MediaStreams in the signalingServer ....I will try to manually remove the video and audio tracks from each stream before removing the view.
Still hope u guys can give me a hint here :)
When having a project that also has cocoapods written in Swift, it's required to add the use_frameworks! to the pod file like this:
platform :ios, '8.0'
use_frameworks!
target "ios-demo" do
pod 'libjingle_peerconnection'
pod 'TLKWebRTC', :git => 'https://github.com/otalk/TLKWebRTC.git'
pod 'TLKSimpleWebRTC', :git => 'https://github.com/otalk/TLKSimpleWebRTC.git'
end
When doing that the demo won't build anymore.
It looks like libjingle_peerconnection is not made into a dynamic library... So maybe it's a libjingle_peerconnection issue?
when i use this iOS-demo to communicate with chrome browser, i use the simpleWebRTC in browser. and i can see the video in browser(both from pc camera and iphone camera) but i can not see anything on iphone
Hello,
I am using this code and also added Socket.IO swift library via cocoapods. It's not been working. Always showing error. Also Socket.IO latest swift library is working with iOS 8.0 when try to open this app in iOS 8.0, its not been working showing linker error.
Please let me know how we resolve this error. Please
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.