RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
First:
When I first connect to a RTSP Camera, connection works. When I disconnect and reconnect, I get no image until I restart the whole software.
Is there anything with the network I need to reset addtional?
Second:
I can connect to a Wansview IP Camera W3 X Series via VLC, but I get no connection via RVMedia. Connection string as below (Also copied as RVCamera2.URL). Must it be changed for RVMedia?
The camera with RTSP
rtsp://192.168.1.11:554/user:user1&password=password01&channel0&stream=0.sdp?
works without problem.
The camera with RTSP
rtsp://user1:password01@192.168.1.11:554/live/ch0
is not recognized by RVMedia.
Problem is, when I stop and start the cameras for a second time, also the first RTSP Camera is no longer working. After restarting the software, the first RTSP Camera works again. For me, it looks like that a network stack or port reservation does not catch a closing and is blocked on the second start.
mainform.RVCamera2.DeviceType := trvdevicetype.rvdtRTSP;
mainform.RVCamera2.URL := 'rtsp://192.168.1.11:554/user:user1&password=password01&channel0&stream=0.sdp?';
Mainform.RVCamera2.PlayVideoStream;
//camera is working. Video and images can be catched, Live Stream is shown.
mainform.RVCamera2.Abort;
mainform.rvcamera2.WaitForVideo;
Mainform.RVCamera2.PlayVideoStream;
//camera is no longer working until software is closed and restartet
Are you sure that the second version of URL is correct?
We are preparing the next update, I hope it will be released very soon, we just need to verify that everything is ok.
While the problem with the TRVCamera restart was not addressed specially, we cleaned up the code for starting and stopping TRVCamera threads, so this problem might be gone.
If we will not be able to release this update in this week, I can send a beta to you.
mainform.RVCamera2.DeviceType := trvdevicetype.rvdtRTSP;
mainform.RVCamera2.URL := 'rtsp://192.168.1.11:554/user=user1&password=password01&channel0&stream=0.sdp?';
Mainform.RVCamera2.PlayVideoStream;
//camera is working. Video and images can be catched, Live Stream is shown.
mainform.RVCamera2.Abort;
mainform.rvcamera2.WaitForVideo;
Mainform.RVCamera2.PlayVideoStream;
//camera is no longer working until software is closed and restartet
I let the user to edit the url to connect to in a showmodal dialog, if the url is ok the application shows a preview of the camera. When the user accepts the configuration dialog, the connection is closed.
//camera is working. Video and images can be catched, Live Stream is shown.
configform.RVCamera1.Abort;
configform.RVCamera1.WaitForVideo;
Then the main form applies the configuration to show the recetly edited camera but the most of the time it fails, and no image is received from the camera.
RVMedia is very close to a release, at least as a public beta.
If we will not be able to release it till the end of this week, I'll send it to you by email.
Hi all, I'm evaluating R7 Trial and have very similar problems. My application is client connected to TCPIP server. I use only one RVCamera. When I call Abort (to change url to view different camera sources) for the third time, TCPIP connection to server is broken and also RVCamera does not work anymore. There must be really serious bug in Abort procedure.
Please fix it.
Do you use FFmpeg to view video streams?
Are video streams RTSP?
Do I understand correctly: several calls of Abort lead to disconnection of other TCP connection not related to RVMedia? Does the problem happen when you call Abort or when you call PlayVideoStream after Abort?
What's the value of RVCamera.CommandMode?
Yes, I use FFMpeg. I have already found out that when I disable FFMpeg or remove its libraries from path then connection problems don't occur.
My CommandMode is rvsmWait, I don't use events but WaitForXXX. And you are right, it seems problems start after PlayVideoStream, Abort seems to be proceeded correctly.
I use two camera sources for testing:
rtmp://semerkandglb.mediatriple.net:1935/semerkandliveedge/semerkand2 http://150.214.222.100/mjpg/video.mjpg