Live streaming cannot be viewed on an iOS mobile browser
Try the address http://<local_pi_ip>:8000/index.html on iOS mobile browser both Chrome and Safari, only the play button on it, can not fetch the live streaming. But the link works fine on desktop browser.
hi @sayidhe , is the detector functionality is working?
@sayidhe because whenever i am executing the main.py it is not detecting anything
Hi @mohan51 , it works fine on my machine:
- Raspberry Pi 4B
- RS/E14 Camera V2
- Raspbian OS Lite
@sayidhe we are also working on the same board but we are unable to detect ? have you done any changes in main.py or detector code?
and also in django frame work which path are you giving at the time of camera addition? is it http://<pi_address>:8000/index.html or http://<pi_address>:8000/stream.mpeg?
and i am using arducam and raspberrypi 4 and raspbian os
@mohan51 Which ffmpeg path are you use?
When I use sudo apt install ffmpeg, the ffmpeg_path setting in config.json line is:
- "ffmpeg_path": "/usr/bin/ffmpeg",
If you follow the step to install and make the ffmpeg as Install ffmpeg with h.264 support, then just keep the same in config.json as:
- "ffmpeg_path": "/usr/local/bin/ffmpeg"
@sayidhe I used sudo apt install ffmpeg only and set the path to "ffmpeg_path": "/usr/bin/ffmpeg", in config.json and also in recorder.py
and also in django frame work which path are you giving at the time of camera addition? is it http://<pi_address>:8000/index.html or http://<pi_address>:8000/stream.mpeg?
@sayidhe
In django frame work, I use http://<pi_address>:8000/index.html in the camera url
what type of detections it is detecting? and also is it also sending recordings???
@sayidhe
Can you see the live streaming, but can't detect anything? @mohan51
Can you see the live streaming, but can't detect anything? @mohan51
yes.and also the recordings i am not able to get.
@sayidhe
One thing, I use latest version of python and remove the packages version number in requirements.txt, like below
chardet
numpy
picamera
python-apt
requests
six
ssh-import-id
tornado
urllib3
Others just keep the same.
ok will try and get back to you
Can you view the live streaming on the mobile browser? @mohan51
Can you view the live streaming on the mobile browser? @mohan51
yes.. when i connected to same network
what actually it detects? it will detects everything?i am every movement?
@sayidhe for python-apt installation i am getting error?
There are some lines in the config.json which controls the detector
"detector_motion_threshold": 20,
"record_seconds_before_motion": 5,
"record_seconds_after_motion": 12,
"max_recording_seconds": 600,
detector_motion_threshold: Threshold for detecting motion. The higher this number, the less motion is detected.record_seconds_before_motion: The amount of seconds that will be recorded before motion is detected.record_seconds_after_motion: The amount of seconds that will be recorded after motion.max_recording_seconds: The maximum duration of a recording in seconds.