Facing [rtsp # 000002aa9df0cb80] method SETUP failed: 500 Internal Server Error , while streaming rtsp camera in opencv - opencv

Getting [rtsp # 000002aa9df0cb80] method SETUP failed: 500 Internal Server Error when i try to stream rtsp camera in opencv python but after sometime it works fine for few minutes and does not works again,how do i overcome this issue?

Error 500 means that your rtsp Server has an issue.
Check logs on that server to know what happen. If its an IP camera try an Firmware Update. Thats not an issue of opencv is more an issue of your rtsp Server. You can double check if this also happen with VLC.

Related

Error "Timed out waiting for the socket to be ready for a write" while connecting to server in Xcode

I am trying to connect to server for web socket connection. but I am getting the error:
"Websocket is disconnected: Optional(Starscream.WSError(type:
Starscream.ErrorType.writeTimeoutError, message: \"Timed out waiting
for the socket to be ready for a write\", code: 0))"
Starscream.WSError(type: Starscream.ErrorType.writeTimeoutError
How can I solve it? also
Here is my source code link:
https://www.dropbox.com/s/v348vxxjf74dsds/websocket.zip?dl=0
I tried to connect after some time again too, Once its failed but still it's giving me same error.
I tried your code, it's working fine. the only change I have made is your socket server URL
before it was ws://192.168.1.2:8080
and I have updated with "http://192.168.1.41:8080" //41 is my IP. you can use yours
just changed ws with http.

RTMP_Connect0, failed to connect socket. 51

i want to use live audio streaming with wowza server,
i have implement RTMP Client for do this, this working fine in ipv4 network, but when i switch my network ipv4 to ipv6 then i got error.
error is: RTMP_Connect0, failed to connect socket. 51
this error is coming on RTMP_Connect(pPlayRtmp, NULL)
any one have idea about this.
Thanks in advance.
To use IPv6 networking with your Wowza server, you would need to have these settings in place:
Your server supports IPv6 networking.
You have at least version 7 of Java installed (recommend using the JVM that comes with the Wowza installation, which should be version 8 as of Wowza 4.5).
You've changed the following configuration files on your Wowza installation path.
For Linux, open the file [WowzaInstallPath]/bin/setenv.sh and set the following line to false
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=false"
For Windows, use the file [WowzaInstallPath]\bin\setenv.bat
set JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=false
Test streaming by using the following URL in an RTMP player:
rtmp://[::1]/vod/mp4:sample.mp4

iOS - General Stream Error (FTP)

I am trying to upload a file to FTP server using different libraries like simpleSampleFTP and FTPManager but i am getting "general stream error", my credentials and port are right.
When i try to upload file from proxy local network i can upload file to same server but when outside the proxy local network i get general stream error.
I check on FTP the file is being created the name and extension is right but it remains 0 bytes and then after time out i get error "general stream error".
Have anybody faced the same problem? How can i solve this issue any ideas?
In my case the problem occurred because FTP server is using External IP Address. I have solved this problem by passing manual commands to FTP Server.

crtmp unable to read data tcpcarrier.cpp error

I have server with apache2 listening on port 808 instead of port 80 or 8080. I have a flash program which genrated video stream from webcam on client side and send it to server at ip address with rtmp protocol like "rtmp:///flvplayback/"
it publishes the stream to that ip address
1 ) on local machine the string looks like
"rtmp://192.168.1.12/flvplayback/"
and works fine.
2 ) on remote machine i.e VPS the string looks like
"rtmp://222.222.222.222/flvplayback/"
and here the following error is generated
(crtmpserver running on VPS is generating this error ) .... /tcpcarrier.cpp:78 Unable to read data. 111.111.111.111:33984 -> 222.222.222.222:1935 ....
I am not sure why this error is being genetrated.... I am using ubuntu12.04 crtmpserverr build from Download section of site rtmpd.com The same build works totally fine on my local machine.
I think you should follow the steps here: http://wiki.rtmpd.com/quickbuild
The builds on the site are quite old. The sources are much newer
Can you also provide some log files as well? I don't remember exactly... did you put this question on the crtmpserver's mailing list as well?
Best regards,
Andrei

Blackberry http connection problem

My app uses an http connection to a server.
On the 9550 BlackBerry simulator, it runs fine but when I run it on an 8520 simulator it gives the error
java.io.IOException:Tunnel Failed.
Why is this happening?
Have a look at these StackOverflow topics:
Tunnel Failed, BlackBerry Curve 8900
Are socket connections faster than http on Blackberry?.

Resources