1 Answer
- Newest
- Most votes
- Most comments
0
I have a member of my team having this problem before,the possible reasons are
- Network connectivity: Make sure that the machine running the RTSP producer has a stable and reliable network connection.
- RTSP camera configuration: Check the settings on the RTSP cameras and make sure they are configured correctly. In particular, try reducing the frame size, bit rate, and target quality to see if this helps improve the stability of the stream.
- RTSP producer configuration: Make sure that the RTSP producer is configured correctly. In particular, try increasing the retry count and retry interval to see if this helps improve the stability of the stream.
- AWS Region: Make sure that you are using the correct AWS Region for the Amazon Kinesis Video Streams service.
The exact reason will need some divide and conquering by you @seekris
answered a year ago
Relevant content
- asked 6 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 3 years ago
Hi Sean,
Thank you for your response.
Here where I have got so far
The one thing I think could maybe solve my problem is your third suggestion with configuration of the RTSP producer. The issue here is that the way we set the docker up is we execute the command to create a container from an image than start and run it. I cannot access any of the code to be able to change any configuration on it. Can you maybe elaborate more on this? Like how would I configure the RTSP producer to increase the retry count and interval using the docker method from here (https://github.com/aws-samples/amazon-kinesis-video-streams-demos/tree/master/producer-cpp/docker-rtsp)
These are the steps I have followed to get the sample running
1.Downloaded the docker file on machine on my network 2. Ran the command "docker build -t rtspdockertest ." on windows command prompt 3. Ran the command "docker run -it <IMAGE_ID> /bin/bash" on windows command prompt 4. Ran the command "AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID> AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY> ./kvs_gstreamer_sample <STREAM_NAME> <RTSP_URL>" on windows command prompt