Comments (5)
In the ARDAppClient there are 2 methods swapCameraToFront
and swapCameraToBack
methods.
In the sample app demo ARTCVideoChatViewController you could call [self.client swapCameraToFront]
and [self.client swapCameraToBack]
.
from apprtc-ios.
I don't have those methods...and I am using the most recent version from the pod.These are the only methods exposed in the ARDAppClient
header:
@interface ARDAppClient : NSObject
@property(nonatomic, readonly) ARDAppClientState state;
@property(nonatomic, weak) id<ARDAppClientDelegate> delegate;
@property(nonatomic, strong) NSString *serverHostUrl;
- (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate;
// Establishes a connection with the AppRTC servers for the given room id.
// TODO(tkchin): provide available keys/values for options. This will be used
// for call configurations such as overriding server choice, specifying codecs
// and so on.
- (void)connectToRoomWithId:(NSString *)roomId
options:(NSDictionary *)options;
// Disconnects from the AppRTC servers and any connected clients.
- (void)disconnect;
from apprtc-ios.
Did you check out https://github.com/ISBX/apprtc-ios/blob/master/Lib/ARDAppClient.h
from apprtc-ios.
I saw this from a past project, but any idea why its not the version being pulled from pod 'AppRTC'
? I'll try to see if i can specifically pull that version (if its available). How did you install it on your project, or did you just use the demo project?
from apprtc-ios.
weird..both of my projects (one with the more robust ARDAppClient
and one without) seem to have version 1.0.2 of AppRTC. Any ideas? What happens if you create a new project and do pod 'AppRTC', do you see those methods in the file? @coolwr
Btw - thanks for the help :)
from apprtc-ios.
Related Issues (20)
- IOS Native App for WebRTC
- Error posting data: The network connection was lost.
- Xcode 10 issue with -lstdc++.6 HOT 3
- Call freezed then ended automatically
- [__NSSingleEntryDictionaryI length]: unrecognized selector sent to instance 0x281de6360 ??
- Voice is not exchanging between peers with CallKit
- Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) When add stream to peerconnection
- Unknown selected data source for Port Speaker (type: Speaker)
- Failed to set remote video description send parameters HOT 1
- project successfully build but doesn't run HOT 3
- iceRestart option in createOffer
- I want to remove Echo and Noise, but didn't success
- failed to create session description webrtc in ios
- Local video doesn't be rendered. It doesn't be sent to remote machine on IOS 13 HOT 23
- How to capture a local vidoe stream apply filter and and share with peer
- How to use this project on the Swift? HOT 4
- local and remote video not call delegate function HOT 1
- how can i run this code HOT 4
- Can I use this to chat with ordinary pictures and texts at the same time
- one-to-one videos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apprtc-ios.