Skip to content

dhvanilp/Live-video-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live-video-streaming

A simple streaming setup that allows to view live video stream from camera

Prerequisites

  • A fresh install of a Wowza Media Server. Folks at Wowza have written pretty detailled tutorials about insatlling it.
  • An HTTP server like Apache 2, it will serve a page containing the flash player that will play the stream.
  • Those two servers should obviously be accessible from the web, and could be running on the same computer.

Running the app

  • Open /Android-App directly with Android-studio.
  • Give the URI of the wowza server and username and password (these settings will be stored and can be changes from app-settings).

Opening the app on a req

Headers:
Content-Type : application/json
Authorization : key=<Firebase_Server_Key>

Body:
{
	"to":<FCM_Registration_Token>,
	"data":{
		"name":"this is the neme field",
		"param":"this is another field"
	}
}
  • Firebase_Server_Key can be found in your Firebase project in Project Settings -> Cloud Mesaaging tab -> Server Key/ Legacy server key (Any key will do)
  • FCM_Registration token is generated by FirebaseInstanceId.getInstance().getToken() and can be found in Logcat of Android-studio. If you cannot find this token, click the log_button in the app, and token will be printed in logcat.

Running the web-player

  • Have apache server running
  • Place the /web folder in /var/www/html
  • open http://<ip_address>/web/index.htm

Releases

No releases published

Packages

No packages published

Languages