Sponsored Content
Top Forums Programming Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App Post 303043644 by Neo on Sunday 2nd of February 2020 11:37:14 PM
Old 02-03-2020
The IoT OnOff app needs to be configured to receive live update messages from the server.

It works the best when the IP address is used (not the name of the site, it needs the IP to work reliably).

If anyone wants to run this app, please post back and I will guide you step-by-step.

Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App-img_a3fe5be2401b-1jpeg
 

5 More Discussions You Might Find Interesting

1. Solaris

luminis app

The guys at SunGard want to charge a lot of $$$$ for installing Luminis and we are trying to see if this can be done without them. Their installation guide provided page #53 ( http://www.luminis.nocccd.edu/documents/Luminis%20IV/lp40000in.pdf ) doesn't really tell you much. All they say is that... (4 Replies)
Discussion started by: ceci1
4 Replies

2. Solaris

Problem with /app

Hi folks, i have a problem with my /app directory on solaris 10.It is mounted under rpool root and sometimes it increase dimension bringing root out of space.I want to mount /app under different position, maybe under secondary hardisk for which i have created a mount point with zfs pool...How... (10 Replies)
Discussion started by: mattpunk
10 Replies

3. OS X (Apple)

Can a ios app be developed on a windows or ipad?

hi, i want to start developing an ios app that can be used on iphone and ipad. can anyone guide me how to start? i saw that it can be developed only on a mac system.. but i dont have a mac system. i have an ipad 4 and a laptop with windows os? can i use one of these to start developing ios app??... (4 Replies)
Discussion started by: Little
4 Replies

4. Programming

Arduino Project: iPhone to HM-10 BLE to NB-IoT Shield to NB-IoT Network to Internet to Linux Server

This post describes a "work in progress" project I started today. Here is the High Level Overview: Currently, this project sits on my desk as an Arduino UNO (on the bottom), an NB-IoT Shield (sandwiched in the middle), a Sensor Shield (on top) with a HM-10 BLE Module (in the little... (13 Replies)
Discussion started by: Neo
13 Replies

5. Programming

Wuhan Coronavirus Status for China - Rapid Prototype Blynk App with ESP8266

Here is a rapid prototype app I just put together which might be of interest to some people. Basically, I have parsed the data from a Chinese web site which is tracking the Wuhan coronavirus, and cache that data every minute via a local cron file and make a simple API available to a Blink app. ... (6 Replies)
Discussion started by: Neo
6 Replies
RTMPGW(8)						      System Manager's Manual							 RTMPGW(8)

NAME
rtmpgw - RTMP streaming media gateway SYNOPSIS
rtmpgw [-r url] [-n hostname] [-c port] [-l protocol] [-S host:port] [-a app] [-t tcUrl] [-p pageUrl] [-s swfUrl] [-f flashVer] [-u auth] [-C conndata] [-y playpath] [-v] [-d subscription] [-e] [-k skip] [-A start] [-B stop] [-b buffer] [-m timeout] [-T key] [-j JSON] [-w swfHash] [-x swfSize] [-W swfUrl] [-X swfAge] [-D address] [-g port] [-q] [-V] [-z] rtmpgw -h DESCRIPTION
rtmpgw is a server for streaming media content from RTMP out to HTTP. rtmpgw listens for HTTP requests that specify RTMP stream parameters and then returns the RTMP data in the HTTP response. The only valid HTTP request is "GET /" but additional options can be provided in URL-encoded fashion. Options specified on the command line will be used as defaults, which can be overridden by options in the HTTP request. OPTIONS
Network Parameters These options define how to connect to the media server. --rtmp -r url URL of the server and media content. --host -n hostname Overrides the hostname in the RTMP URL. --port -c port Overrides the port number in the RTMP URL. --protocol -l number Overrides the protocol in the RTMP URL. 0 = rtmp 1 = rtmpt 2 = rtmpe 3 = rtmpte 4 = rtmps 5 = rtmpts --socks -S host:port Use the specified SOCKS4 proxy. Connection Parameters These options define the content of the RTMP Connect request packet. If correct values are not provided, the media server will reject the connection attempt. --app -a app Name of application to connect to on the RTMP server. Overrides the app in the RTMP URL. Sometimes the rtmpdump URL parser cannot determine the app name automatically, so it must be given explicitly using this option. --tcUrl -t url URL of the target stream. Defaults to rtmp[e]://host[:port]/app/playpath. --pageUrl -p url URL of the web page in which the media was embedded. By default no value will be sent. --swfUrl -s url URL of the SWF player for the media. By default no value will be sent. --flashVer -f version Version of the Flash plugin used to run the SWF player. The default is "LNX 10,0,32,18". --auth -u string An authentication string to be appended to the Connect message. Using this option will append a Boolean TRUE and then the specified string. This option is only used by some particular servers and is deprecated. The more general --conn option should be used instead. --conn -C type:data Append arbitrary AMF data to the Connect message. The type must be B for Boolean, N for number, S for string, O for object, or Z for null. For Booleans the data must be either 0 or 1 for FALSE or TRUE, respectively. Likewise for Objects the data must be 0 or 1 to end or begin an object, respectively. Data items in subobjects may be named, by prefixing the type with 'N' and specifying the name before the value, e.g. NB:myFlag:1. This option may be used multiple times to construct arbitrary AMF sequences. E.g. -C B:1 -C S:authMe -C O:1 -C NN:code:1.23 -C NS:flag:ok -C O:0 Session Parameters These options take effect after the Connect request has succeeded. --playpath -y path Overrides the playpath parsed from the RTMP URL. Sometimes the rtmpdump URL parser cannot determine the correct playpath automati- cally, so it must be given explicitly using this option. --live -v Specify that the media is a live stream. No resuming or seeking in live streams is possible. --subscribe -d stream Name of live stream to subscribe to. Defaults to playpath. --start -A num Start at num seconds into the stream. Not valid for live streams. --stop -B num Stop at num seconds into the stream. --buffer -b num Set buffer time to num milliseconds. The default is 20000. --timeout -m num Timeout the session after num seconds without receiving any data from the server. The default is 120. Security Parameters These options handle additional authentication requests from the server. --token -T key Key for SecureToken response, used if the server requires SecureToken authentication. --jtv -j JSON JSON token used by legacy Justin.tv servers. Invokes NetStream.Authenticate.UsherToken --swfhash -w hexstring SHA256 hash of the decompressed SWF file. This option may be needed if the server uses SWF Verification, but see the --swfVfy option below. The hash is 32 bytes, and must be given in hexadecimal. The --swfsize option must always be used with this option. --swfsize -x num Size of the decompressed SWF file. This option may be needed if the server uses SWF Verification, but see the --swfVfy option below. The --swfhash option must always be used with this option. --swfVfy -W url URL of the SWF player for this media. This option replaces all three of the --swfUrl, --swfhash, and --swfsize options. When this option is used, the SWF player is retrieved from the specified URL and the hash and size are computed automatically. Also the infor- mation is cached in a .swfinfo file in the user's home directory, so that it doesn't need to be retrieved and recalculated every time rtmpdump is run. The .swfinfo file records the URL, the time it was fetched, the modification timestamp of the SWF file, its size, and its hash. By default, the cached info will be used for 30 days before re-checking. --swfAge -X days Specify how many days to use the cached SWF info before re-checking. Use 0 to always check the SWF URL. Note that if the check shows that the SWF file has the same modification timestamp as before, it will not be retrieved again. Miscellaneous --device -D address Listener IP address. The default is 0.0.0.0, i.e., any IP address. --sport -g port Listener port. The default is 80. --quiet -q Suppress all command output. --verbose -V Verbose command output. --debug -z Debug level output. Extremely verbose, including hex dumps of all packet data. --help -h Print a summary of command options. EXAMPLES
The HTTP request GET /?r=rtmp:%2f%2fserver%2fmyapp&y=somefile HTTP/1.0 is equivalent to the rtrmpdump(1) invocation rtmpdump -r rtmp://server/myapp -y somefile Note that only the shortform (single letter) options are supported. ENVIRONMENT
HOME The value of $HOME is used as the location for the .swfinfo file. FILES
$HOME/.swfinfo Cache of SWF Verification information SEE ALSO
rtmpdump(1) AUTHORS
Andrej Stepanchuk, Howard Chu, The Flvstreamer Team <http://rtmpdump.mplayerhq.hu> RTMPDump v2.4 2011-07-20 RTMPGW(8)
All times are GMT -4. The time now is 09:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy