Re: [Live-devel] RTP over TCP with iPhone

2011-07-01 Thread Velkin Dmitrij
Dmitrij Gesendet: Donnerstag, 30. Juni 2011 09:40 An: LIVE555 Streaming Media - development & use Betreff: Re: [Live-devel] RTP over TCP with iPhone I can't change the code incremental. I have to use a new/ohther sink. And it works fine if I invoke this code without &q

Re: [Live-devel] RTP over TCP with iPhone

2011-06-30 Thread Velkin Dmitrij
layson Gesendet: Donnerstag, 30. Juni 2011 09:18 An: LIVE555 Streaming Media - development & use Betreff: Re: [Live-devel] RTP over TCP with iPhone >if I implement it in this way i never get into "afterGettingFrame". >What am I doing wrong? I don't know; you're going to ha

Re: [Live-devel] RTP over TCP with iPhone

2011-06-30 Thread Ross Finlayson
if I implement it in this way i never get into "afterGettingFrame". What am I doing wrong? I don't know; you're going to have to figure this out for yourself. Remember, you're starting from code that you know works - the "openRTSP" code. By making incremental changes to this code, and testin

Re: [Live-devel] RTP over TCP with iPhone

2011-06-30 Thread Dmitrij Velkin
Yes I use FileSink as model: class MyMediaSink:public MediaSink { public: MyMediaSink(UsageEnvironment &env):MediaSink(env){buffer = new uint8_t[fileSinkBufferSize];} virtual ~MyMediaSink(){} protected: Boolean continuePlaying() { if (NULL == fSource)

Re: [Live-devel] RTP over TCP with iPhone

2011-06-29 Thread Ross Finlayson
Boolean continuePlaying(){/*CODE will come soon*/ return true;} I'm not sure what your question is, but once your "MyMediaSink" class should work once you implement the "continuePlaying()" function (etc.). I suggest that you use the "FileSink" code as a model. -- Ross Finlayson Live

Re: [Live-devel] RTP over TCP with iPhone

2011-06-29 Thread Velkin Dmitrij
ch, 29. Juni 2011 16:24 An: LIVE555 Streaming Media - development & use Betreff: Re: [Live-devel] RTP over TCP with iPhone Hi Ross, I followed your advice and start to implement with openRTSP. I need data in buffer and not in file and so i wrote little class to subclass MediaSink:

Re: [Live-devel] RTP over TCP with iPhone

2011-06-29 Thread Dmitrij Velkin
Hi Ross, I followed your advice and start to implement with openRTSP. I need data in buffer and not in file and so i wrote little class to subclass MediaSink: class MyMediaSink:public MediaSink { public: MyMediaSink(UsageEnvironment &env):MediaSink(env){buffer = new uint8_t();}

Re: [Live-devel] RTP over TCP with iPhone

2011-06-16 Thread Ross Finlayson
> You already know that "openRTSP -t" - built from the supplied, unmodified source code - works OK on your system. I have to correct my statement. Sorry! I get only first image with: ./openRTSP -t -F __Video rtsp://193.158.57.66:8555/mjpeg You probably got a very large video file, wh

Re: [Live-devel] RTP over TCP with iPhone

2011-06-16 Thread Dmitrij Velkin
Am 16.06.2011 um 11:10 schrieb Ross Finlayson: > Please don't send the same message to the mailing list more than once. > Sorry for this! > You already know that "openRTSP -t" - built from the supplied, unmodified > source code - works OK on your system. I have to correct my statement. Sor

Re: [Live-devel] RTP over TCP with iPhone

2011-06-16 Thread Ross Finlayson
Please don't send the same message to the mailing list more than once. You already know that "openRTSP -t" - built from the supplied, unmodified source code - works OK on your system. So I suggest that you start from this code, making only small, incremental changes at a time, until it evolve

Re: [Live-devel] RTP over TCP with iPhone

2011-06-16 Thread Dmitrij Velkin
Hello Ross, I am still searching for my error. I had debugged in your source code in the hope that i can find my error. I came to the place where you read data from TCP. In RTPInterface.cpp in 'tcpReadHandler1' I figure out, that the value of 'fNextTCPReadStreamSocketNum' is a big negative

Re: [Live-devel] RTP over TCP with iPhone

2011-06-16 Thread Dmitrij Velkin
Hello Ross, I am still searching for my error. I had debugged in your source code in the hope that i can find my error. I came to the place where you read data from TCP. In RTPInterface.cpp in 'tcpReadHandler1' I figure out, that the value of 'fNextTCPReadStreamSocketNum' is a big negative

Re: [Live-devel] RTP over TCP with iPhone

2011-06-15 Thread Ross Finlayson
I guess that it isn't a server's problem. I tested the connection with an unmodified openRTSP client and got an image(see output below). My question is, are there other places i have to change in source code for using TCP except sendSetupCommand? No. -- Ross Finlayson Live Networks, Inc. http

Re: [Live-devel] RTP over TCP with iPhone

2011-06-15 Thread Dmitrij Velkin
Hello Ross, thank you for replying! I guess that it isn't a server's problem. I tested the connection with an unmodified openRTSP client and got an image(see output below). My question is, are there other places i have to change in source code for using TCP except sendSetupCommand? Thanks!

Re: [Live-devel] RTP over TCP with iPhone

2011-06-14 Thread Ross Finlayson
i am developing an iPhone/iPad App that receives RTSP-streams. It works fine, while the server and client are in the same network. But If I try to get a stream from outside(from Internet) i run in problems with UDP-ports. On the server side i can open ports, but on a client side it is sometimes