jaminuser / spydroid-ipcamera

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

WOWZA stream method update #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
First of all, you should understand not all the phone is supported.
My Galasy S1 can do it with my HK stock rom,but asus transformer can not do its 
job well. It's just give me a green screen.

//1
Start your apps and get your sdp file in your sd-card.

//2
Put .sdp file to the [wowza server]/content

//3
Put attachment "Application.xml" in [wowza server]/conf/rtplive
If you dont have the folder just create it.

//4
Restart the Wowza...

//5
OK? Then turn the apps on and publish it.
Remember don't type the IP wrong.

//6
To ensure is there any packet comming from the phone.
You can use wireshark to catch up the packet from port 5006,5004.
5006 > Video ( h264)
5004 > Sound (amf) <<not sure

//7
Should be the last step
Use flash player to play it
You can get one from .... [wowza]\examples\LiveVideoStreaming\client\live.html
The link should be rtmp://[wowza-address]:1935/live/myStream.sdp

//Last but not least
If you cant do it, make sure everything is correct,otherwise i can just say 
sorry. I am so sorry :'(

Original issue reported on code.google.com by tck....@gmail.com on 28 Nov 2011 at 4:15

Attachments:

GoogleCodeExporter commented 9 years ago
You have wrong at step 7 for link must be 
rtmp://[wowza-address/rtplive/spydroid.sdp

Original comment by kaze....@gmail.com on 31 Jan 2012 at 3:26

GoogleCodeExporter commented 9 years ago
But it's finally worked on my Galaxy S2 

Thank You

Original comment by kaze....@gmail.com on 31 Jan 2012 at 3:34

GoogleCodeExporter commented 9 years ago
wat is the version of your spydroid to stream and wat is your license of wowza 
???

Original comment by mhiraha...@gmail.com on 7 Mar 2012 at 12:14

GoogleCodeExporter commented 9 years ago
Thank you for the tips, this worked perfectly. To anyone who is using the Wowza 
Media Server an Amazon EC2 instance keep in mind that the instance is behind a 
firewall, so you need to modify some entries in the Application.xml file under 
<RTP> as follows:

<RTSPBindIpAddress>local_ip_address_of_Wowza</RTSPBindIpAddress>                

<RTSPConnectionIpAddress>global_ip_address_of_Wowza</RTSPConnectionIpAddress>
<RTSPOriginIpAddress>global_ip_address_of_Wowza</RTSPOriginIpAddress>

Original comment by roguz...@gmail.com on 5 May 2012 at 2:55

GoogleCodeExporter commented 9 years ago
Thanks for your tips. As per your instructions, I used SpyDroid to stream live 
video from my Galaxy S1 to wowza server and later used Vlc player to re stream 
the video. The problem is I am not getting any sound from the re streamed 
video. 

At the same time, if I stream live video using SpyDroid & check the .sdp file 
with Vlc player, I am getting both Video & Audio. Can anyone please tell me 
what's wrong with the process.

Original comment by mail.mos...@gmail.com on 7 May 2012 at 11:13

GoogleCodeExporter commented 9 years ago
Wowza media server didn't support the AMR audio.

Original comment by ktasl.kt...@gmail.com on 25 May 2012 at 2:33

GoogleCodeExporter commented 9 years ago
I was trying to stream live video using wowza media server & SpyDroid. The 
whole process worked fine in my local network where both wowza server & my 
Android Galaxy S2 has private IP address.

Now I am trying to have it working on Rackspace server but it doesn't work 
there either by passing directly sdp file to Vlc player or passing the url: 
rtsp://50.56.64.121:1935/live/savicam.sdp. It displayed the following error 
message though I added local IP & global IP into RTP section. 

"Your input can't be opened:
VLC is unable to open the MRL 'rtsp://50.56.64.121:1935/live/savicam.sdp'. 
Check the log for details."

Also checked logs from wowza server. Part of the log message are:

#Version: 1.0
#Start-Date: 2012-06-25 00:00:03 GMT
#Software: Wowza Media Server 3.1.1 build1479
#Date: 2012-06-25
#Fields: 
date    time    tz  x-event x-category  x-severity  x-status    x-ctx   x-comment   x-vhost x-ap
p   x-appinst   x-duration  s-ip    s-port  s-uri   c-ip    c-proto c-referrer  c-user-agent    c-
client-id   cs-bytes    sc-bytes    x-stream-id x-spos  cs-stream-bytes sc-stream-bytes x
-sname  x-sname-query   x-file-name x-file-ext  x-file-size x-file-length   x-suri  x-s
uri-stem    x-suri-query    cs-uri-stem cs-uri-query
2012-06-25  00:00:03    GMT comment server  INFO    200 -   RTPMediaCaster.streamTimeout[1
8206828:live/_definst_:savicam.sdp]: timeout:12000 diff:12500 
reason:101  -   -   -   57128.659   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
2012-06-25  00:00:03    GMT comment server  INFO    200 -   RTPMediaCaster.resetConnection
[18206828:live/_definst_:savicam.sdp]: 
    -   -   -   57128.661   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
2012-06-25  00:00:03    GMT comment server  INFO    200 -   RTPMediaCaster.closeRTPSession
[18206828:live/_definst_:savicam.sdp]   -   -   -   57128.661   -   -   -   -   -   -   -   -   -   -   -   -   -   
-   -   -   -   -   -   -   -   -   -   -   -
2012-06-25  00:00:03    GMT comment server  INFO    200 -   RTPUDPTransport.unbind[live/_d
efinst_]: 0.0.0.0/0.0.0.0:5004 sent:0 
recv:0  -   -   -   57128.663   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
2012-06-25  00:00:03    GMT comment server  INFO    200 -   RTPUDPTransport.unbind[live/_d
efinst_]: 0.0.0.0/0.0.0.0:5005 sent:0 
recv:0  -   -   -   57128.663   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
2012-06-25  00:00:03    GMT comment server  INFO    200 -   RTPUDPTransport.unbind[live/_d
efinst_]: 0.0.0.0/0.0.0.0:5006 sent:0 
recv:0  -   -   -   57128.664   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
2012-06-25  00:00:03    GMT comment server  INFO    200 -   RTPUDPTransport.unbind[live/_d
efinst_]: 0.0.0.0/0.0.0.0:5007 sent:0 
recv:0  -   -   -   57128.665   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
2012-06-25  00:00:03    GMT unpublish   stream  INFO    200 savicam.sdp -   _defaultVHost_  l
ive _definst_   12.905  -   80  null    127.0.0.1   rtsp    -   known   1902930392  0   0   4395    0   0   0   
savicam.sdp -   -   -   -   -   null    null    -   null    -
2012-06-25  00:00:03    GMT destroy stream  INFO    200 savicam.sdp -   _defaultVHost_  liv
e   _definst_   12.906  -   80  null    127.0.0.1   rtsp    -   known   1902930392  0   0   4395    0   0   0   sa
vicam.sdp   -   -   -   -   -   null    null    -   null    -

Can anyone help me what's going on here. I am really getting problem with that.

Original comment by mail.mos...@gmail.com on 25 Jun 2012 at 1:37

Attachments: