libjingle

LibJingle on Android SRTP error on CreateAnswer

给你一囗甜甜゛ 提交于 2020-01-06 06:50:17
问题 Im building an android app that should be able to communicate audio with another client built on libjingle. The first thing im trying to do is setup a call between "the other" client and my android app. We use XMPP as a signaling service. So after this : peerConnectiobObj.setRemoteDescription(sdp) I get the successcallback (so I guess the remote description is fine?) And then according to what I think I have figured out its time for me to create my answer. @Override public void

DataChannel.state() always returns CONNECTING webRTC Android

元气小坏坏 提交于 2019-12-30 06:23:12
问题 I have an android app running as a client of WebRTC server running at Node.js server. The current state of the app is I can make video calls but can't send the message on DataChannel. Here is my complete code for the android app. Home.java public class Home extends Activity { public List<PeerConnection.IceServer> iceServers; private GLSurfaceView videoView; public static SocketIO socket; ArrayList<String> userIDs = new ArrayList<>(); private static final String FIELD_TRIAL_VP9 = "WebRTC

WebRTC data channel not connecting or no callbacks being called

别说谁变了你拦得住时间么 提交于 2019-12-24 03:37:08
问题 In trying to establish and WebRTC data channel using the Objective C API, I can't get any of the RTCDataChannelDelegate callbacks to actually catch. Everything appears to go fine regarding the peer connection, but I only get to a point where the peer connection stream has been added successfully. My steps are roughly: Create offer: _channel = [_connection createDataChannelWithLabel: @"offer-1" config: [[RTCDataChannelInit alloc] init]]; _channel.delegate = _stateMachine; [_connection

Import Objective-C Framework (CocoaPod) into Swift?

你。 提交于 2019-12-21 09:13:39
问题 I'm trying to import the libjingle_peerconnection framework into my Xcode project, but for some reason I can't import the Objective-C header with import RTCICEServer in Swift source files. I have attempted to use header files, etc. What am I doing wrong? # Uncomment this line to define a global platform for your project # platform :ios, '8.0' # Uncomment this line if you're using Swift use_frameworks! target 'VideoRTCTest' do pod "libjingle_peerconnection" end target 'VideoRTCTestTests' do

Import Objective-C Framework (CocoaPod) into Swift?

﹥>﹥吖頭↗ 提交于 2019-12-21 09:13:04
问题 I'm trying to import the libjingle_peerconnection framework into my Xcode project, but for some reason I can't import the Objective-C header with import RTCICEServer in Swift source files. I have attempted to use header files, etc. What am I doing wrong? # Uncomment this line to define a global platform for your project # platform :ios, '8.0' # Uncomment this line if you're using Swift use_frameworks! target 'VideoRTCTest' do pod "libjingle_peerconnection" end target 'VideoRTCTestTests' do

error at building libjingle on Mac OS X 10.7.2 like “error: string.h: No such file or directory”

烈酒焚心 提交于 2019-12-20 06:09:42
问题 I failed to build libjingle on Mac OS X 10.7.2. The output was the following when I run $path_to_swtoolkit/hammer.sh according to the README of libjingle. MBP17:talk rei25$ ~/Desktop/swtoolkit/hammer.sh scons: Reading SConscript files ... scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead. File "/Users/rei25/Desktop/swtoolkit/site_scons/site_init.py", line 203, in BuildEnvironmentSConscripts scons: done reading SConscript files. scons: Building

WebRTC java server trouble

跟風遠走 提交于 2019-12-18 22:33:08
问题 I think I am very close to getting my Java server app to talk to a browser page via WebRTC, but I can't quite get it to work. I feel like I am missing something small, so I hope that someone here might have a suggestion. I took a close look at the WebRTC examples - the Java unit test ( org.webrtc.PeerConnectionTest ), and the example Android app ( trunk/talk/examples/android ). Based on what I learned, I put together a java app that uses WebSockets for signalling and attempts to send a video

problem compiling libjingle

时光怂恿深爱的人放手 提交于 2019-12-18 04:10:13
问题 I downloaded and installed libjingle-0.5.2.zip, and according to the README also downloaded and installed swtoolkit.0.9.1.zip, scons-local-2.1.0.alpha.20101125.tar.gz, and expat-2.0.1.tar.gz, and got nrtp by cvs download. After overwriting my Makefile twice, attempting to follow the rather poorly-written README, I came up with the following Makefile that almost works: # First, make sure the SCONS_DIR environment variable is set correctly. SCONS_DIR ?= /usr/src/scons-local/scons-local-2.1.0