Export to GitHub

spydroid-ipcamera - issue #49

Streaming to Darwin Streaming Server not working


Posted on Jun 18, 2012 by Happy Cat

I can't get the app to stream to dss, Has anyone got this to work?

Comment #1

Posted on Jun 18, 2012 by Happy Cat

Just figured out how silly my question was... I am going to implement a rtspclient to stream with authentication (digest) I will post back here when i get it done...

Comment #2

Posted on Jun 25, 2012 by Swift Rabbit

I am able to stream h264 by sending the RTP packets to a port, creating a custom SDP file, then reopening that file with VLC. VLC then creates a new SDP file in Quicktime's movie folder. h263 does not seem to work, but that might be Darwin's fault.

Comment #3

Posted on Jun 26, 2012 by Helpful Camel

I don't know anything about that darwin thing but if you need sdp files, spydroid can generate them for you. Spydroid features an HTTP server that can start/stop video/audio streams and send and sdp file describing them.

Try to type that in your browser: http://ip:8080/spydroid.sdp where "ip" is the ip of your phone. Stremaing should then start with the configuration from the option menu and show you a proper sdp file

Comment #4

Posted on Jun 26, 2012 by Happy Cat

WOHOOOO GOT it to work!!!! Live Streaming to dss with authentication. No need to move sdp file or create any sdp files!!! Its all done automagically!!! just enter user and pass in settings and enter address in textbox then click stream!!! I have a big delay if anyone can help me it would be great!!!

Attachments

Comment #5

Posted on Jun 27, 2012 by Happy Cat

without audio i get 10 sec delay.... with audio doesn't work more than 5 sec.

Comment #6

Posted on Jun 28, 2012 by Swift Rabbit

Well, when I send h.263 RTP packets to my server and have them transcoded into h.264 for Darwin via VLC/VLCj (but will soon test live555's code which VLC uses), the delay is really extreme (which is expected since I am using a terrible computer). I have three phones (LG Optimus One, HTC Thunderbolt, and a Nexus Galaxy), and none of them do well with the h.264 packetization.

However, they work very well with the h.263 packetization. Every single one works with h.263 but not h.264, although the Thunderbolt and Galaxy state in their documentation that they can handle h.264. It is extremely choppy, but I shall be working on this. I have yet to completely understand the RFCs related to RTP streaming for h.264/h.263. I am quite impressed you have been able to accomplish this!

Audio definitely breaks the program, but I shall be seeing if I can somehow improve on this.

Great work so far, Simon!

Comment #7

Posted on Jun 28, 2012 by Happy Cat

Testing on my nexus one 2.3.3, I tested h.263 and it is really choppy... h.264 works fine without audio....(A little delay.. im not sure if its because of my internet speed...) h.264 with audio is a disaster... Testing with the code i posted above...

What internet speed do you have? What delay do you get with h.264 and no audio? Are you streaming to a DSS on the net or local? Are you streaming with the code posted above or manually adding the sdp? BTW RFCs are really annoying,Spent alot of time with them... Good luck :) Thanks, Amitay

Comment #8

Posted on Jun 28, 2012 by Helpful Camel

Nice brycey :) Tell me if you find out why audio breaks everything !

Comment #9

Posted on Jul 1, 2012 by Grumpy Panda

Comment deleted

Comment #10

Posted on Jul 1, 2012 by Grumpy Panda

when i want to stream video to DSS, I get the response from dss: 412 Precondition Failed during sending the setup request.

Comment #11

Posted on Oct 1, 2014 by Helpful Cat

Comment deleted

Comment #12

Posted on Oct 1, 2014 by Helpful Cat

Comment deleted

Comment #13

Posted on Oct 1, 2014 by Helpful Cat

Hi amitaymo am using your above code. Getting a error "wdma_output_width(540) is small than scl_out_width(960)!" . Can you suggest any clue for this?

Below is the log output

Attachments

Status: New

Labels:
Type-Defect Priority-Medium