Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Show Webcam Stream in Fullscreen
-
Hi,
how can i show a webcam stream live on the UI? I have got an ESP32-microcontroller with a RTSP-Stream Server and a Webserver?
Which is the best way to get a fast picture?
Is it possible to set a connection to a wlan accesspoint or should i always use the Settingsmanager from iOS to do this?
Thanks a lot.
Cu kami
-
-
For the fun, I've tried this
from objc_util import * def handler(_cmd,obj1_ptr): if obj1_ptr: obj1 = ObjCInstance(obj1_ptr) print(obj1) # error return NEHotspotConfiguration = ObjCClass('NEHotspotConfiguration').alloc() NEHotspotConfiguration.initWithSSID_passphrase_isWEP_('my_ssid', 'my_pwd', False) NEHotspotConfiguration.joinOnce = False NEHotspotConfigurationManager = ObjCClass('NEHotspotConfigurationManager').sharedManager() handler_block = ObjCBlock(handler, restype=None, argtypes=[c_void_p, c_void_p]) NEHotspotConfigurationManager.applyConfiguration_completionHandler_(NEHotspotConfiguration,handler_block)
But it gives an error
Error Domain=NEHotspotConfigurationErrorDomain Code=8 "internal error." UserInfo={NSLocalizedDescription=internal error.}
Sincerely, I can't help more
-
Okay thanks. But maybe you can help me with the Video Stream?
Cu kami
-
There are RTSP-Stream Python clients, thus you could try
If I had a camera with RTSP-Stream Server , I would try -
Perhaps, in an ui.WebView, Safari supporting WebRtc to stream cameras?
-
@kami
Looks like if you can serve HLS, you can show it in an AVPlayerView