From what I have seen so far in Wireshark captures, the stream only goes to the device that requested to start it. However, this is not a show stopper because we can initiate the stream from Windows, Mac, etc. on our own (with some easy coding) without needing the Big2Small android client program.
Exactly, we will NOT be using the Big2Small client. When i did my testing, It was the same machine that it sent the stream too. You tell it what port to send the stream too, and Big2Small server will send the Mpeg stream via UDP on what ever port you specified. The OPENRTSP or the (simple rtsp program I wrote) basically is a com channel that has to stay open. Setup command tells server Amiko what to send. Describe command tells amiko to send a description of what it is sending. Play command sends stream. As I'm sure you know N6BY, the big2small client NEVER issues a DESRIBE command. So, does that mean that the stream file can be created without this information "OR" did big2small client take a short cut, knowing what type of stream amiko is always sending and only handle that situation in the first place.
The problem with the OPENRTSP working with Big2small server, is that openrtsp will never issue a TEARDOWN command. Command which tells the stream to stop, along with the other commands like PAUSE. We may not be able to enhance the system beyond what the Amiko SERVER has enabled.
I have NOT seen any proof and i don't think it is happening. MxPlayer just plays the TS file stream. I don't believe it does any communication with the big2small client and i don't think the big2small client issues any other commands other then setup and play. The problem being, that in the current Android implementation, you cannot truly pause your playback or properly stop a stream. -- I have noticed this in the real world operation of the android playing. I can only stop and play different channels so many times . ( around 1/2 dozen) and then the Amiko requires a reboot. I also noticed the same thing with my testing. Being my own little RTSP program has not been programmed to issue a TEARDOWN message, after about calling about 1/2 dozen stream sessions, Big2Small server starts returning a 902 error.
ASSUMING the server will handle TEARDOWN messages and possibly PAUSE messages correctly, its the jop of the rtsp client to remain connected. So, there are two connections at all times to the big2small amiko server. The TCP communication channel (ie rtsp channel) and the RTP (stream channel) where the big2small sends via UDP packets. It is then the job of the RTSP client to issue PAUSE, PLAY AND eventually a TEARDOWN message which properly stops the stream.
It appears that I may need to modify OPENRTSP to send a proper SETUP before it attempts to do the DESCRIBE. It's 3:20 AM now in Calif. and I might not get this done before I fall asleep here.
I agree you are on the right track. The SETUP command must be sent first. Then the DESCRIBE command which hopefully tells the OPENRTSP how to create the stream parameters. Then , through command line options, have OPENRTSP create the stream file. Then if VLC or some other player will play the stream, we are off to a good foundation.
I have tried to compile OPENRTSP for windows binaries and have not had luck so far. I am running visual studio 6.0 which should support it.