Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A very simple way for citizens to stream pictures to the 112/911/999 PSAP's

License

NotificationsYou must be signed in to change notification settings

ccloquet/112.camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A very simple way for citizens to stream pictures to the 112 PSAP's. Demo:https://112.camera.

This is only intended for test & demo purposes.github.com/ccloquet/showme, or a complete integration in existing tools would be better alternatives (easier for the citizens & the dispatchers).

Don't have a server? Fork it & host the static files on Github and the php code onfortrabbit.com or, eg., Heroku.

Working

The citizen (most probably a trained citizen)

  1. calls the 112/911 and describes his/her emergency situation
  2. tells the dispatch that a live streaming will be available from 112.camera/his-her-phone-number (eg:112.camera/123456789
  3. opens112.camera.
  4. enters his/her phone number in international format.
  5. presses on GO.

The PSAP

  1. opens 112.camera/the-phone-number (eg:112.camera/123456789)

Installation

  1. copy the file in a directory on your server
  2. in .htaccess, replace the /light/ by your folder. Pay attention to the HSTS config, and if not sure, remove it
  3. in config.js, maje peerjs_url point to the peer server (eg, on Heroku, see below)
  4. in params.php, define TWILIO_SID and TWILIO_APIKEY for the TURN & STUN servers
  5. ideally, make a domain name point to that folder, so that the user can call, say, domain.com/123456789

Current structure

  • All the files in the same folder (later, it shuold be professionalized)
  • server side: query.php & params.php
  • client side:
    • iam.html for the citizen & psap.html for the PSAP
    • params.js & showme.js for common functions
  • .htaccess routes to iam.html or psap.html depending wether or not there is a number after the domain name:
    • 112.camera/ -> iam.html
    • 112.camera/123456789 -> psap.html
  • /lib contains the dependencies

See discussions onhttps://github.com/ccloquet/showme for non-technical issues

About

A very simple way for citizens to stream pictures to the 112/911/999 PSAP's

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp