Parallel Live Streaming to Wowza server using SpyDroid like App.

Hello,

I am using SpyDroid technique http://code.google.com/p/spydroid-ipcamera/ to stream live video+audio from android device to wowza server & later play re streamed video from Pc/Android/IOS device. I followed the steps outlined here: http://code.google.com/p/spydroid-ipcamera/issues/detail?id=20.

I need to automate this process so that I don’t have to publish the sdp file manually on wowza server to do live streaming. Also need to handle live streaming from multiple devices at a time to wowza server. It seems to be, I will have to write down java application on top of SpyDroid app but can anyone suggest me how to do it?

Thanks in advance for any type of help.

Thanks,

Mostafijur Rahman

Hi

If you are publishing to you PC you can use VLC to accept the stream and then re-stream it to Wowza, this means that you wont need to change the .sdp file because the IP address of your computer wont change.

Jason

According to What’s New at top of the article sdp file is not used.

(2012/04/19) NEW: Spydroid now features a RTSP server. No more sdp file are required !

You should be able to re-stream like an IP camera:

Richard

On the machine that is running Wowza, open a browser and go to

http://[wowza-address]:1935

You should see Wowza version and build displayed in the browser. If not, either port 1935 is not open on the Wowza server, or that port is not properly mapped in your network to the server running Wowza. On a home router you have to do port-forwarding to accomplish that. Refer to portforward.com for instructions for your router

Richard

Hi

If you are publishing to you PC you can use VLC to accept the stream and then re-stream it to Wowza, this means that you wont need to change the .sdp file because the IP address of your computer wont change.

Jason

Thanks for your quick response. I followed the steps outlined in the link: https://www.wowza.com/docs/how-to-set-up-live-streaming-using-a-native-rtp-encoder-with-sdp-file. As per the document, I configured live app under wowza server → placed sdp file under content folder → and published it at http://192.168.1.10:8086/streammanager/index.html. Here I set media caster type to live & entered stream.sdp file.

Then started to stream live video from Android device using the app & played the re streamed video on Pc/Android/IOS device. Up to this whole system worked nicely for a single app. Now I want to configure multiple streaming under the same live app so that multiple users say 10 users can do live streaming in parallel & others can see their re streamed video if they wish.

Please let me know if you have any suggestions here. Thanks in advance.

Thanks,

Mostafijur Rahman

According to What’s New at top of the article sdp file is not used.

You should be able to re-stream like an IP camera:

Stream from an IP camera over RTSP to Engine

Richard

Thanks for your response. Actually for my app, android device will do live streaming. It will stream to wowza server under configured app. Later wowza server will re stream it & users will see live streaming from their pc/android/IOS devices. Mostly users will see from their android/IOS devices. I have outlined details steps in another reply. Please have a look at this & let me if you have any suggestions. Thanks in advance.

Mostafijur Rahman

Thanks for your response. Actually for my app, android device will do live streaming. It will stream to wowza server under configured app. Later wowza server will re stream it & users will see live streaming from their pc/android/IOS devices. Mostly users will see from their android/IOS devices. I have outlined details steps in another reply. Please have a look at this & let me if you have any suggestions. Thanks in advance.

Mostafijur Rahman

Now I am doing the same thing that I use the android Tablet with Spydroid to live streaming and Wowza publish this stream. I use this method that How to re-stream video from an IP camera (RTSP/RTP re-streaming).

I found some promblems as below:

1、The camera will disconnect and then reconnect every 15-30 seconds.

I add this code at Application.xml, but it works as before.

interleave

rtspValidationFrequency

0

Integer

2、I use vlc player (URL: rtsp://[wowza-ip-address]:1935/live/camera.stream) to play the Wowza published stream, i can not connect the wowza.

3、You said that you had outlined details steps in another reply. I want to know url about your details

Thank you.

On the machine that is running Wowza, open a browser and go to

http://[wowza-address]:1935

You should see Wowza version and build displayed in the browser. If not, either port 1935 is not open on the Wowza server, or that port is not properly mapped in your network to the server running Wowza. On a home router you have to do port-forwarding to accomplish that. Refer to portforward.com for instructions for your router

Richard

Thanks for your response.

I found the log show a error. The log is show as bellow.

CST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:PLAY response:RTSP/1.0 200 OK status:200 handled:false

CST comment server INFO 200 - senderReport[RTP-Info]: seq:0 time:-1 url:rtsp://10.22.6.60:8086/trackID=1

CST comment server INFO 200 - RTPMediaCaster.streamTimeout[23650401:spydroid/definst:spydroid.stream]: timeout:12000 diff:12011 reason:101

CST comment server INFO 200 - RTPMediaCaster.resetConnection[23650401:spydroid/definst:spydroid.stream]:

CST comment server INFO 200 - RTPMediaCaster.closeRTPSession[23650401:spydroid/definst:spydroid.stream]

CST comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:TEARDOWN

I guess that the disconnect reasion is RTPMediaCaster.streamTimeout.

Do you the method for resolve the problem? Thank you very much.

On the machine that is running Wowza, open a browser and go to

http://[wowza-address]:1935

You should see Wowza version and build displayed in the browser. If not, either port 1935 is not open on the Wowza server, or that port is not properly mapped in your network to the server running Wowza. On a home router you have to do port-forwarding to accomplish that. Refer to portforward.com for instructions for your router

Richard

When i start the Wowza, the browser will start a page. The page is a example. I can use VLC player with rtsp to play the video.