If you are using the raspberry pi camera, this I believe is the best software for streaming:
It includes features of capturing the video. To see an example of how to set it up to view within a dashboard, see below:
[{"id":"8ea7b682.744538","type":"inject","z":"bba2c37b.ec3a5","name":"Send data","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":132,"y":2101.39990234375,"wires":[["15d7ca8e.8c2635"]]},{"id":"15d7ca8e.8c2635","type":"ui_template","z":"bba2c37b.ec3a5","group":"87c9357.ac550c8","name":"vid","order":4,"width":"0","height":"0","format":"<iframe width=\"500\" height=\"400\" src=\"
http://192.168.1.144/html\" frameborder=\"0\" allowfullscreen></iframe>","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":389.00006103515625,"y":2103.39990234375,"wires":[[]]},{"id":"87c9357.ac550c8","type":"ui_group","z":"","name":"Column 4","tab":"d75e6dc2.66c73","order":5,"disp":false,"width":"11","collapse":false},{"id":"d75e6dc2.66c73","type":"ui_tab","z":"","name":"Robot Dashboard","icon":"dashboard"}].