ZhuChaozheng / spydroid-ipcamera

Automatically exported from code.google.com/p/spydroid-ipcamera
GNU General Public License v3.0
0 stars 0 forks source link

New to sdp #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Dear Developer,
  Hello I am a student from Hong Kong working on video chat. I am working hard on upstreaming to wowza. I see your post from stackoverflow and found this good project. Since i am so new to streaming, i dont understand how can i work with vlc and your apps. Should i Place sdp to webserver and then i click stream in apps and then i play it with VLC???But i dont work??
  So can you give any hints for me?Thank you very much and this project is very great and lovely:)
From Curtis 

Original issue reported on code.google.com by tck....@gmail.com on 15 Sep 2011 at 5:05

GoogleCodeExporter commented 8 years ago
I am also having an issue with receiving the stream on VLC. I have been able to 
compile the application and get it running on my phone, but I am unable to pull 
up the stream in VLC using the example specified.

My ultimate goal is to get the video streaming up to wowza as well.

Any info would be appreciated, thanks!

Original comment by heinst...@gmail.com on 15 Sep 2011 at 5:25

GoogleCodeExporter commented 8 years ago
Hi folks,

Thank you for your feedback :)

Could you tell me what phone you're using, what android version you're running 
and what version of VLC you're using ?

Normally, this is what you have to do:
1) launch the app
2) type your pc ip in the field
3) press stream, (you should probably here a little noise alerting you that an 
app is using your camera)
4) open sdp file with vlc

It seems that not all phones support h264 video encoding, to find out, you 
should try to read if there is errors in logcat.

If there isn't any, then try to see if you're computer is actually receiving 
something from the phone, try using a sniffer to find out (wireshark for 
example) !

Original comment by FyHertz on 15 Sep 2011 at 7:55

GoogleCodeExporter commented 8 years ago
PC : 192.168.1.2 Win 7 with vlc the lastest 1.1.11
Android Galaxy SI (i9000)

I lauch my apps
type 192.168.1.2 and press stream
hear di do
and I open the sdp with vlc 
I have turned off the firewall

so now i try to trace the packet first rather there are any traffic

Original comment by tck....@gmail.com on 16 Sep 2011 at 3:08

Attachments:

GoogleCodeExporter commented 8 years ago
I dun know should i show use in this way
I seems that pc receive the port 5004 stream from the phone
but vlc doesnt play

Original comment by tck....@gmail.com on 16 Sep 2011 at 3:18

Attachments:

GoogleCodeExporter commented 8 years ago
Hi I stumbled upon your app and looks really interesting. I followed your 
procedures but somehow it didn't work. I tried VLC on both Mac and PC. Do I 
need to open any ports in firewall? I also saw the comments on the other issues 
about WOWZA but since I have no experience with either WOWZA or sdp, I am not 
sure what I am missing. Appreciate your help. And funny enough, I am from Hong 
Kong as well.

Best wishes

Original comment by robert.s...@gmail.com on 18 Sep 2011 at 3:36

GoogleCodeExporter commented 8 years ago
Hi mate,
  Somehow VLC ,ya i dont know why it cant read the stream.I think maybe the SDP file is not well format enough or not capable for VLC.
  Wowza is a streaming server.May be you can try once. Search google for the server. 
  If u want to check if there are any packet come from the phone, you can go download sniffer.
Curtis

Original comment by tck....@gmail.com on 18 Sep 2011 at 4:14

GoogleCodeExporter commented 8 years ago
Dear developer and all, I'm using Samsung Galaxy Mini Froyo 2.2. I've also 
tried your steps above but still failed. I typed the correct IP address and the 
program ran well on my phone. Yet VLC played nothing when it streams such SDP 
file. Sometimes VLC stops playing unexpectedly. Wireshark in PC side could 
catch the incoming RTP packets and has correctly decoded them.

I'm also currently working in video streaming, bit it's a bit different from 
yours. 

Original comment by yanmi....@gmail.com on 20 Sep 2011 at 3:32

GoogleCodeExporter commented 8 years ago
I am having the same issue. Using h264 compatible phone OR using Android 3.2 
(3.0+ devices all support h264)

VLC does not capture the stream. Ports are open, Wireshark is receiving 
packets. 

Original comment by commiela...@gmail.com on 21 Sep 2011 at 4:21

GoogleCodeExporter commented 8 years ago
I think we more easily write a client that receives the UDP, rather than 
creating an rtp stream. Be seen, that the behavior of each phone is different.

$ mkdir -p src/com/company/application/test/
cp UDPServer.java src/com/company/application/test/

Original comment by lopesiva...@gmail.com on 23 Sep 2011 at 9:31

Attachments:

GoogleCodeExporter commented 8 years ago
I had problems using beta 0.1 before and couldn't get this to work. I came back 
to the project today and checked out the project (version 1.01) from svn using 
Eclipse. Changed the default ip to my MAC ip - 192.168.1.28. Using the updated 
stream.sdp code on the first page with VLC, I got it working!!

I am using Samsung Galaxy S 2. with Android 2.3.

Great project thanks.

Original comment by robert.s...@gmail.com on 1 Oct 2011 at 11:53

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Just tried it out, followed instructions to 

1) launch the app
2) type my pc ip in the field
3) press stream, (heard camera 'ding') (PC's network adapter RX lights up)
4) open spydroid.sdp file with vlc (both one from camera and copy-paste from 
project home page)

VLC's menus show one audio and one video stream, but nothing plays...

APP version: Spydroid 1.2  (market)
VLC version: 1.1.10
Firewall: Disabled

Original comment by ahilli...@gmail.com on 21 Nov 2011 at 6:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Try the latest version (1.3) the sdp file wasn't always correctly generated in 
1.2 :/

Original comment by FyHertz on 8 Dec 2011 at 4:41

GoogleCodeExporter commented 8 years ago
I am still having this problem. I am using the latest code (v1.6) and still not 
getting it to work. VLC wont play any audio or video. I do see that packets are 
coming in via wireshark.

Device:
Motorola Droid 3
Samsung Stratosphere

Original comment by abhishek...@gmail.com on 3 Mar 2012 at 2:23

GoogleCodeExporter commented 8 years ago
Hi, 
you can give video demo spydroid version 0.1 or 1.0 .Because i start cleaning 
android and clean project camera ip .

thank you so much !!!

Original comment by hai.duon...@icdrec.edu.vn on 18 Jan 2013 at 7:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Dear Developer,
The use of this latest version has a problem: it can only be used once, after 
installation only reinstall or clear the cache data can be used again.

Original comment by xiaopand...@163.com on 18 Apr 2013 at 9:32