kenneththorman / appspotdemo-mono Goto Github PK
View Code? Open in Web Editor NEWThe AppSpot webrtc demo converted from Java to C#
License: Other
The AppSpot webrtc demo converted from Java to C#
License: Other
Error(webrtcvideoengine.cc:1414): webrtc: (voe_audio_processing_impl.cc:1001): virtual int webrtc::VoEAudioProcessingImpl::SetTypingDetectionStatus(bool): not supported
Warning(webrtcvoiceengine.cc:828): SetTypingDetectionStatus(0) failed, err=8003
webrtc: OS info: Android
webrtc: output: available=1505314411
webrtc: output: available=1
webrtc: output: available=0
webrtc: output: available=0
Error(webrtcvideoengine.cc:1414): webrtc: failed to enable stereo recording
Warning(webrtcvideoengine.cc:1414): webrtc: Init() failed to set mono/stereo recording mode (error=8090)
12-26 12:46:49.716 D/dalvikvm(20322): Added shared lib /data/data/Appspotdemo.Mono.Droid/lib/libjingle_peerconnection_so.so 0x429568a8
12-26 12:46:49.746 I/Camera (20322): sendBroadcast intent.stop.app-in-app
12-26 12:46:49.751 E/WEBRTC-JC(20322): Failed to open Camera 0, Facing back, Orientation 90, skipping
12-26 12:46:49.751 I/Camera (20322): sendBroadcast intent.stop.app-in-app
12-26 12:46:49.756 E/WEBRTC-JC(20322): Failed to open Camera 1, Facing front, Orientation 270, skipping
12-26 12:46:49.756 D/WEBRTCN(20322): SetRenderAndroidVM
12-26 12:46:50.076 W/ResourceType(20322): Failure getting entry for 0x010802c0 (t=7 e=704) in package 0 (error -75)
Moving the WebRTC signaling fully away from the UI activity, and into a portable class library so it can be reused in IOS and Android
12-26 12:47:53.261 I/GATE (20322): DEV_ACTION_COMPLETED
12-26 12:47:55.006 I/MonoDroid(20322): UNHANDLED EXCEPTION: System.Exception: Failed to open capturer
12-26 12:47:55.006 I/MonoDroid(20322): at Appspotdemo.Mono.Droid.AppRTCDemoActivity.get_VideoCapturer () [0x00138] in c:\Users\kenneth.thorman\Documents\GitHub\appspotdemo-mono\Appspotdemo.Mono.Droid\AppRTCDemoActivity.cs:297
12-26 12:47:55.006 I/MonoDroid(20322): at Appspotdemo.Mono.Droid.AppRTCDemoActivity.onIceServers (System.Collections.Generic.IList1<Org.Webrtc.PeerConnection/IceServer>) [0x00086] in c:\Users\kenneth.thorman\Documents\GitHub\appspotdemo-mono\Appspotdemo.Mono.Droid\AppRTCDemoActivity.cs:208 12-26 12:47:55.006 I/MonoDroid(20322): at Appspotdemo.Mono.Droid.AppRTCClient/RoomParameterGetter.OnPostExecute (Appspotdemo.Mono.Droid.AppRTCClient/AppRTCSignalingParameters) [0x00071] in c:\Users\kenneth.thorman\Documents\GitHub\appspotdemo-mono\Appspotdemo.Mono.Droid\AppRTCClient.cs:260 12-26 12:47:55.006 I/MonoDroid(20322): at Android.OS.AsyncTask
3<string, int, Appspotdemo.Mono.Droid.AppRTCClient/AppRTCSignalingParameters>.OnPostExecute (Java.Lang.Object) [0x00000] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/d23a19bf/source/monodroid/src/Mono.Android/src/Android.OS/AsyncTask.cs:99
12-26 12:47:55.006 I/MonoDroid(20322): at Android.OS.AsyncTask.n_OnPostExecute_Ljava_lang_Object_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/d23a19bf/source/monodroid/src/Mono.Android/platforms/android-16/src/generated/Android.OS.AsyncTask.cs:392
12-26 12:47:55.006 I/MonoDroid(20322): at (wrapper dynamic-method) object.8c7a8f8b-8131-4524-a93f-f4a5fd826707 (intptr,intptr,intptr) <IL 0x00017, 0x00043>
Unhandled Exception:
System.Exception: Failed to open capturer
12-26 12:47:55.671 E/mono (20322):
12-26 12:47:55.671 E/mono (20322): Unhandled Exception:
12-26 12:47:55.671 E/mono (20322): System.Exception: Failed to open capturer
12-26 12:47:55.671 E/mono (20322): at Appspotdemo.Mono.Droid.AppRTCDemoActivity.get_VideoCapturer () [0x00138] in c:\Users\kenneth.thorman\Documents\GitHub\appspotdemo-mono\Appspotdemo.Mono.Droid\AppRTCDemoActivity.cs:297
12-26 12:47:55.671 E/mono (20322): at Appspotdemo.Mono.Droid.AppRTCDemoActivity.onIceServers (IList1 iceServers) [0x00086] in c:\Users\kenneth.thorman\Documents\GitHub\appspotdemo-mono\Appspotdemo.Mono.Droid\AppRTCDemoActivity.cs:208 12-26 12:47:55.671 E/mono (20322): at Appspotdemo.Mono.Droid.AppRTCClient+RoomParameterGetter.OnPostExecute (Appspotdemo.Mono.Droid.AppRTCSignalingParameters params) [0x00071] in c:\Users\kenneth.thorman\Documents\GitHub\appspotdemo-mono\Appspotdemo.Mono.Droid\AppRTCClient.cs:260 12-26 12:47:55.671 E/mono (20322): at Android.OS.AsyncTask
3[System.String,System.Int32,Appspotdemo.Mono.Droid.AppRTCClient+AppRTCSignalingParameters].OnPostExecute (Java.Lang.Object result) [0x00000] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/d23a19bf/source/monodroid/src/Mono.Android/src/Android.OS/AsyncTask.cs:99
12-26 12:47:55.671 E/mono (20322): at
12-26 12:47:55.671 E/mono-rt (20322): [ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Failed to open capturer
12-26 12:47:55.671 E/mono-rt (20322): at Appspotdemo.Mono.Droid.AppRTCDemoActivity.get_VideoCapturer () [0x00138] in c:\Users\kenneth.thorman\Documents\GitHub\appspotdemo-mono\Appspotdemo.Mono.Droid\AppRTCDemoActivity.cs:297
12-26 12:47:55.671 E/mono-rt (20322): at Appspotdemo.Mono.Droid.AppRTCDemoActivity.onIceServers (IList1 iceServers) [0x00086] in c:\Users\kenneth.thorman\Documents\GitHub\appspotdemo-mono\Appspotdemo.Mono.Droid\AppRTCDemoActivity.cs:208 12-26 12:47:55.671 E/mono-rt (20322): at Appspotdemo.Mono.Droid.AppRTCClient+RoomParameterGetter.OnPostExecute (Appspotdemo.Mono.Droid.AppRTCSignalingParameters params) [0x00071] in c:\Users\kenneth.thorman\Documents\GitHub\appspotdemo-mono\Appspotdemo.Mono.Droid\AppRTCClient.cs:260 12-26 12:47:55.671 E/mono-rt (20322): at Android.OS.AsyncTask
3[System.String,System.Int32,Appspotdemo.Mono.Droid.AppRTCClient+AppRTCSignalingParameters].OnPostExecute (Java.Lang.Object result) [0x00000] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/d23a19bf/source/monodroid/src/Mono.Android/src/Android.OS/AsyncTask
The program 'Mono' has exited with code 0 (0x0).
I would like to try to push as much common code into an underlying PCL so the only thing we have that is platform specific is the actual UI controls
This blog posting outlines me reasons for wanting this.
http://kenneththorman.blogspot.dk/2014/01/question-monoandroid-performance-c-jni.html
and
http://forums.xamarin.com/discussion/11884/question-mono-android-performance-c-jni-wrapper-vs-c-managed-wrapper
Then we could do away with the majority/all of the JNI code and avoid introducing Java
Hi There,
I have tried your library and it work s to an extend where I can do the signalling but now I am stuck as i cannot send audio video data. can you please guide me how to send the frames? How would I dump the captured android bitmaps and add to webRTC stream? How would I debug if Setting remote/local description was successful or not?
WebRtc VoiceEngine codecs:
12-26 12:47:51.646 I/libjingle(20322): WebRtc VoiceEngine codecs:
12-26 12:47:51.646 I/libjingle(20322): ISAC/16000/1 (103)
12-26 12:47:51.646 I/libjingle(20322): PCMU/8000/1 (0)
12-26 12:47:51.646 I/libjingle(20322): PCMA/8000/1 (8)
12-26 12:47:51.646 W/libjingle(20322): Warning(webrtcvoiceengine.cc:473): Unexpected codec: PCMU/8000/2 (110)
12-26 12:47:51.651 W/libjingle(20322): Warning(webrtcvoiceengine.cc:473): Unexpected codec: PCMA/8000/2 (118)
12-26 12:47:51.651 I/libjingle(20322): ILBC/8000/1 (102)
12-26 12:47:51.651 I/libjingle(20322): G722/16000/1 (9)
12-26 12:47:51.651 W/libjingle(20322): Warning(webrtcvoiceengine.cc:473): Unexpected codec: G722/16000/2 (119)
12-26 12:47:51.651 I/libjingle(20322): opus/48000/2 (111)
ISAC/16000/1 (103)
PCMU/8000/1 (0)
PCMA/8000/1 (8)
Warning(webrtcvoiceengine.cc:473): Unexpected codec: PCMU/8000/2 (110)
Warning(webrtcvoiceengine.cc:473): Unexpected codec: PCMA/8000/2 (118)
ILBC/8000/1 (102)
G722/16000/1 (9)
Warning(webrtcvoiceengine.cc:473): Unexpected codec: G722/16000/2 (119)
opus/48000/2 (111)
CN/8000/1 (13)
CN/16000/1 (105)
CN/32000/1 (106)
telephone-event/8000/1 (126)
red/8000/1 (127)
WebRtcVideoEngine::WebRtcVideoEngine
WebRtcVoiceEngine::Init
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.