- Install
huawei-lte-api
export HUAWEI_ROUTER_IP_ADDRESS="" # Router IP addresshuawei-lte-apiexport HUAWEI_ROUTER_IP_ADDRESS="" # Router IP address| I (437) example: Opening file | |
| I (457) example: File written | |
| I (467) example: Renaming file | |
| I (467) example: Reading file | |
| I (467) example: Read from file: 'Hello SU04G!' | |
| This line will be written into the log file, not to UART |
| #!/usr/bin/python | |
| #based on the ideas from http://synack.me/blog/implementing-http-live-streaming | |
| # Updates: | |
| # - 2024-04-24: Apply suggestions from @Pin80 | |
| # Run this script and then launch the following pipeline: | |
| # gst-launch videotestsrc pattern=ball ! video/x-raw-rgb, framerate=15/1, width=640, height=480 ! jpegenc ! multipartmux boundary=spionisto ! tcpclientsink port=9999 | |
| #updated command line | |
| #gst-launch-1.0 videotestsrc pattern=ball ! videoconvert ! video/x-raw, framerate=15/1, width=640, height=480 ! jpegenc ! multipartmux boundary=spionisto ! #tcpclientsink port=9999 | |
| from multiprocessing import Queue |