Libstreaming issues in Android Lollipop(Moto G) - android-5.0-lollipop

I did all the steps mentioned in the answer for this question
(MediaRecorder issue on Android Lollipop couldn't make my app run .It is throwing me "An error occurred while connecting to camera : 0" after I tried to play the stream with VLC. How to fix this issue ? Below is the log from my logcat .
04-19 18:13:33.986: D/VideoStream(13923): Video encoded using the MediaRecorder API
04-19 18:13:33.990: W/CameraBase(13923): An error occurred while connecting to camera: 0
04-19 18:13:33.991: E/RtspServer(13923): Fail to connect to camera service
04-19 18:13:33.992: W/System.err(13923): net.majorkernelpanic.streaming.exceptions.CameraInUseException: Fail to connect to camera service
04-19 18:13:33.993: W/System.err(13923): at net.majorkernelpanic.streaming.video.VideoStream.openCamera(VideoStream.java:622)
04-19 18:13:33.993: W/System.err(13923): at net.majorkernelpanic.streaming.video.VideoStream.createCamera(VideoStream.java:632)
04-19 18:13:33.993: W/System.err(13923): at net.majorkernelpanic.streaming.video.VideoStream.encodeWithMediaRecorder(VideoStream.java:372)
04-19 18:13:33.993: W/System.err(13923): at net.majorkernelpanic.streaming.MediaStream.start(MediaStream.java:274)
04-19 18:13:33.993: W/System.err(13923): at net.majorkernelpanic.streaming.video.VideoStream.start(VideoStream.java:312)
04-19 18:13:33.993: W/System.err(13923): at net.majorkernelpanic.streaming.video.H263Stream.start(H263Stream.java:68)
04-19 18:13:33.993: W/System.err(13923): at net.majorkernelpanic.streaming.Session.syncStart(Session.java:451)
04-19 18:13:33.993: W/System.err(13923): at net.majorkernelpanic.streaming.rtsp.RtspServer$WorkerThread.processRequest(RtspServer.java:506)
04-19 18:13:33.993: W/System.err(13923): at net.majorkernelpanic.streaming.rtsp.RtspServer$WorkerThread.run(RtspServer.java:390)
04-19 18:13:33.994: D/RtspServer(13923): RTSP/1.0 500 Internal Server Error
04-19 18:13:33.994: D/RtspServer(13923): Server: MajorKernelPanic RTSP Server
04-19 18:13:33.994: D/RtspServer(13923): Cseq: 4
04-19 18:13:33.994: D/RtspServer(13923): Content-Length: 0
04-19 18:13:33.997: I/RtspServer(13923): Client disconnected

Related

Unable to connect with google VM via browser SSH

I am unable to connect with my Virtual Machine via browser ssh after upgrading to custom-1-2816.
please see the error message here
Troubleshooting tool gives no error.
When trying to connect from from local system via ssh and google cloud shell, i got the exception
Permission denied (publickey). ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255].
For other instances, I don't face any issues while connecting with browser ssh / Google shell ssh

Visual Editor is giving me 500 Errors

Error contacting the Parsoid/RESTBase server: (curl error: 60) SSL peer certificate or SSH remote key was not OK
That is the error I receive when I set HTTPS in $wgServer.
and
Error contacting the Parsoid/RESTBase server (HTTP 500)
That is the error I receive when I put HTTP in $wgServer.
It is not a private wiki and is hosted on a domain with a successful SSL Certificate. What do I do to fix this?

AIR for Android SocketServer over WiFi

Developing a multiplayer game for Android and using the AIR SocketServer class to communicate between server and client AIR applications.
On Windows 8 I am using Virtual Router Plus to set up my PC laptop(where the server app is running) as a wifi hotspot.
I run ipconfig in cmd after my wifi is running to grab the ipv4 IP address under 'Wireless LAN adapter Local Area Connection'
This is the IP I bind to in the server app and connect to in the client app.
If I launch both server and client on the same machine, everything works fine.
When I install the client app on my Android device, I am unable to establish a socket connection. The WiFi is running properly on my Android device.
Is a policy file necessary on the server machine when creating socketserver connections over a local wifi network?
If so, shouldn't the client app be throwing a security error when it tries to connect?
I am lost as to what my troubleshooting steps should be. ANY tips or feedback appreciated!
This happend because, the AIR Socket communication works only in Desktop application.
Try this native extension, it works perfectly form me:
http://blog.aboutme.be/2011/12/14/udp-native-extension-for-air-mobile-now-with-android-support/

connect bluetooth shield with windows phone 8

i'm trying to listen for incomming bluetooth-connections from a bluetooth sheild to my WindowsPhone8 device. Is there any way to connect WindowsPhone8 with bluetooth sheild?
As long as the remote device supports Bluetooth Serial Port Protocol (BT-SPP) and supports pairing, you should be able to open a BT-SPP socket to it from WP8.
Here's a code sample of connecting to Sphero # http://www.developer.nokia.com/Community/Wiki/What%27s_new_in_Windows_Phone_8#Bluetooth:_Phone_to_device
And here's a code sample of connecting to Mindwave Mobile Headset # http://metroeeg.codeplex.com/wikipage?title=Standalone&referringTitle=Home

Access Denied error in WSO2 remote instance connection on G-Reg registry (4.1)

I created an ESB service and tried to load remote instance from G-Reg registry. My ESB and G-Reg use same MySQL DB, JVM, OS.
And then two error log messages have been printed in my console:
(1)ERROR - RegistryAdminServiceClient Error occurred while checking registry mode
(2)org.apache.axis2.AxisFault: Access Denied. Please login first.
What does "Please login first" & "checking registry mode" mean? Where should I login? What is registry mode?
This exception normally occurs when you are logged out from server backend. Checking Registry mode means it tries to check if the Registry is read only or not.