Re: [Live-devel] Problem using MPEG2TransportStreamFramer

2011-01-17 Thread Ross Finlayson
Anyway, our simple question is about the behaviour of your code. If we understood well, this code tries to estimate the duration of a packet, so you know the duration for the 7 packets you are sending, but we don´t know what do you do with that number. The "fDurationInMicroseconds" parameter

Re: [Live-devel] Problem using MPEG2TransportStreamFramer

2011-01-17 Thread Santiago Merchán
Hello again, Thank you very much for your fast reply. I will try to explain better what we have done. We had to rewrite the class MPEG2TransportStreamFramer because Android doesn´t support C++ applications. We could have tried a JNI wrapper to the c++ class but as it was only a class, we decid

Re: [Live-devel] Problem using MPEG2TransportStreamFramer

2011-01-16 Thread Ross Finlayson
I am trying to write a RTSP server for Android to stream TS files to a SagemCom STB. The RTSP server is working very well, but I have some problems playing some files in the STB. I´m reading 7 TS packets (1316 bytes) from the file, sending them to the STB, sleeping some time and then back to

[Live-devel] Problem using MPEG2TransportStreamFramer

2011-01-16 Thread Santiago Merchán
Good morning, my name is Santiago and I am an Android developer. I am trying to write a RTSP server for Android to stream TS files to a SagemCom STB. The RTSP server is working very well, but I have some problems playing some files in the STB. I´m reading 7 TS packets (1316 bytes) from the file