live-streaming

Live-stream video from one android phone to another over WiFi

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 02:21:13
I have searched the internet for days now on how to implement a video streaming feature from an android phone to another android phone over a WiFi connection but I can't seem to find anything useful. I looked on android developers for sample code, stackoverflow, google, android blogs but nothing. All I can find are some sort of phone-to-desktop or desktop-to-phone solutions for streaming, but nothing that I can borrow in my implementation. I need to control a robot using an arduino ADK, so I am using 2 phones, one which will be mounted on the robot and another which will receive the video

How to parse mjpeg http stream from ip camera?

混江龙づ霸主 提交于 2019-11-26 19:30:48
Given below is the code written for getting live stream from an IP Camera. from cv2 import * from cv2 import cv import urllib import numpy as np k=0 capture=cv.CaptureFromFile("http://IPADDRESS of the camera/axis-cgi/mjpg/video.cgi") namedWindow("Display",1) while True: frame=cv.QueryFrame(capture) if frame is None: print 'Cam not found' break else: cv.ShowImage("Display", frame) if k==0x1b: print 'Esc. Exiting' break On running the code the output that I am getting is: Cam not found Where am I going wrong? Also, why is frame None here? Is there some problem with the conversion? Zaw Lin import

How to parse mjpeg http stream from ip camera?

不羁岁月 提交于 2019-11-26 06:59:35
问题 Given below is the code written for getting live stream from an IP Camera. from cv2 import * from cv2 import cv import urllib import numpy as np k=0 capture=cv.CaptureFromFile(\"http://IPADDRESS of the camera/axis-cgi/mjpg/video.cgi\") namedWindow(\"Display\",1) while True: frame=cv.QueryFrame(capture) if frame is None: print \'Cam not found\' break else: cv.ShowImage(\"Display\", frame) if k==0x1b: print \'Esc. Exiting\' break On running the code the output that I am getting is: Cam not