[Live-devel] Release 2012.08.28

2012-08-28 Thread Sid Price
Ross, I just tried to do the subclass of WAVAudioFileSource and discovered that the "fPreferredFrameSize" variable in that class is still private. In checking the release notes for 2012.08.28 I see that the variable was moved from private to protected in "ByteStreamFileSource." Is this what you

Re: [Live-devel] Subclassing WAVAudioFileSource

2012-08-27 Thread Sid Price
Thank you Ross, much appreciated, Sid. From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Monday, August 27, 2012 5:12 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Subclassing WAVAudioFileSource

[Live-devel] Subclassing WAVAudioFileSource

2012-08-27 Thread Sid Price
Since my original thread (RTP Packet Size) has been hijacked into a different subject I thought I would start a new one, I trust that is the correct list protocol. In order to address the trails I mentioned I need to subclass WAVAudioFileSource to set "fPreferredFrameSize" to achieve the requir

Re: [Live-devel] RTP packet size

2012-08-25 Thread Sid Price
Thank you, excellent insight. I apologize for not using the correct terminology, still learning here. The requirement is being set by the third party, it is a system used in broadcasting and is a proprietary, closed system, with their own RTP implementation, so I need for these trials to fo

[Live-devel] RTP packet size

2012-08-25 Thread Sid Price
I need to do some integration testing with a proprietary piece of hardware as part of the continuing proof of concept for the project I am working on. The hardware I need to stream audio (from an uncompressed WAV file for the test) to requires a sample rate of 48KHz and we have sources prepared for

Re: [Live-devel] Do the test applications ever sleep?

2012-08-21 Thread Sid Price
Hi Ross, Just an FYI for you, I encoded the WAV files for audio format of "PCM" (no codec) and the server now plays them out. Also, I tested the new feature "maxSchedulerGranularity" and it also appears to be working. Many thanks I much appreciate your patience, Sid. From: live-devel-boun.

Re: [Live-devel] Do the test applications ever sleep?

2012-08-20 Thread Sid Price
Ross, I completely understand. As I asked, do you know of a tool I could use to convert the test files I have been supplied with to plain PCM (format 1). This is part of a proof on concept so I do not have to play the WAV files as they are. They can be re-encoded. Thanks, Sid. From: li

Re: [Live-devel] Do the test applications ever sleep?

2012-08-20 Thread Sid Price
Ross, I have built to new code and run into an issue with my test WAV file no longer playing. Your new WAV parser is rejecting the WAV file because of the audio format entry which is 0x0012 which is said to be "Videologic Mediaspace ADPCM". I am not terribly familiar with codecs so do you know

Re: [Live-devel] Do the test applications ever sleep?

2012-08-20 Thread Sid Price
Thank you very much Ross, your ongoing support is much appreciated, Sid. From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Monday, August 20, 2012 1:44 AM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel

Re: [Live-devel] Do the test applications ever sleep?

2012-08-17 Thread Sid Price
Aha! Thanks Ross that is clear. My application does not require any external stimuli to cause actions within the server. It has no UI. If external stimuli were needed I would hope to be able to subclass "BasicUsageEnvironment" to achieve this without the need for periodic running of the task sc

Re: [Live-devel] Do the test applications ever sleep?

2012-08-17 Thread Sid Price
No you are wrong! That is not what I meant by events. As an embedded programmer for more than 40 years I use the term events to mean any stimulus, internal or external to the current process that signals a requirement for the attention of that process. Sid. -Original Message- From: live-d

Re: [Live-devel] Do the test applications ever sleep?

2012-08-17 Thread Sid Price
Ross, When I comment out the line you suggested the CPU utilization by the process does indeed go to 0%. Before you make changes I would like to know more about the use of your event triggers so that I can understand if I do need them or not. So, if you could spare a few minutes describing

Re: [Live-devel] Do the test applications ever sleep?

2012-08-17 Thread Sid Price
_ From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Sid Price Sent: Thursday, August 16, 2012 11:16 PM To: 'LIVE555 Streaming Media - development & use' Subject: Re: [Live-devel] Do the test applications ever sleep? Thanks Ross.

Re: [Live-devel] Do the test applications ever sleep?

2012-08-16 Thread Sid Price
Thanks Ross. I used the word "sleeping" to mean that the process gives up any remaining time from its current time-slice for the OS to allocate as required. Using your information I did some more digging and if I measure the execution time of "SingleStep" when the OnDemandRTSPServer applica

[Live-devel] Do the test applications ever sleep?

2012-08-16 Thread Sid Price
Ross, While investigating another issue I began to dig a little deeper into how the library operates and it appears to me that the process running the servers never sleeps, is this correct? If so, since this process will run on an embedded system and we try not to waste cycles I would like

Re: [Live-devel] Problems using testOnDemandRTSPServer

2012-08-10 Thread Sid Price
Ross, I have tried another WAV file and it performs in a similar manner. I have not built the application to run on another platform. Does the Wireshark capture look right? Sid. From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlay

[Live-devel] Problems using testOnDemandRTSPServer

2012-08-10 Thread Sid Price
Ross, I have been trying to get the testOnDemandRTSPServer application running on my Windows Compact 7 device. All appears to have compiled OK and I am able to connect to the server using VLC to play a WAV file on the embedded device. The issue I am having is that the playback is just not stabl

Re: [Live-devel] Streaming a WAV file

2012-07-25 Thread Sid Price
Hi Ross, Sorry it took so long to get back to this. I reworked the front end of the WAVAudioFileSource Constructor to cope with the possible variety of subchunks in the "WAVE" chunck. It is passed below. Unfortunately the sample WAV file I have is copyright material and I am not comfortable sha

Re: [Live-devel] Porting of live555 Streaming on Windows CE

2012-07-25 Thread Sid Price
Nice work Ross, I downloaded the library and with my "abort" function added it built just fine. I am doing some testing with the OnDemandRTSPServer. Thanks, Sid. From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Tuesday, July

Re: [Live-devel] Porting of live555 Streaming on Windows CE

2012-07-24 Thread Sid Price
Thank you Ross, I will download and take it for a spin, Sid. From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Tuesday, July 24, 2012 2:20 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Porting of

Re: [Live-devel] Porting of live555 Streaming on Windows CE

2012-07-24 Thread Sid Price
Thanks Ross, I think we are getting close to the issue here because in stdlib.h I see the following code: #if !__STDC__ /* Non-ANSI names for compatibility */ #define fcloseall _fcloseall #define fileno_fileno #define flushall _flushall #endif /* !__STDC__ */ Notice this maps

Re: [Live-devel] Porting of live555 Streaming on Windows CE

2012-07-24 Thread Sid Price
I can confirm the same issues when compiling for Windows Compact 7. The problem with _fileno is that it returns "void *" and "makeSocketNonBlocking" and "turnOffBackgroundReadHandling"takes a "socket" parameter that is defined as "int". The MS compiler for Windows Compact 7 considers this atte

Re: [Live-devel] Some project organization advice

2012-07-17 Thread Sid Price
Ross, I am not going to debate whether I should be using Windows Compact 7 or not, that is a totally different issue. We should set that discussion aside. Now your suggestion of writing a new fprintf or other required functions makes very much sense and it is the path I will investigate. Also,

[Live-devel] Some project organization advice

2012-07-17 Thread Sid Price
Hi Ross, I am going to be moving forward with a couple of implementations using Live555 on embedded platforms using Windows Compact 7. My initial work required a lot of changes to deal with the fact that all the systems are headless and the printfs etc are not supported. As you know there are l

Re: [Live-devel] ourIPAddress method

2012-06-25 Thread Sid Price
Thanks Ross, you are of course correct about the interface not being the one I want :o) The interface that gets selected is the one used by ActiveSync for debug and I don't think I can change anything about it. I guess I am just going to have to discover the interface adaptors fitted and choose

[Live-devel] ourIPAddress method

2012-06-25 Thread Sid Price
I finally have my new hardware platform available and am back working on streaming from our embedded device. Unfortunately the platform I have has two network adaptors active while debugging and I need to be able to select the correct one for the server. It appears the server IP is set up in ourIPA

[Live-devel] Streaming a WAV file

2012-05-31 Thread Sid Price
Ross, I am running the OnDemandRTSPServer test application with WAV files and it seems that the WAV file processing expects the first SubChunk of the file to always be the "fmt " SubChunk. This is not the case for the files I am using, they have other SubChunks, e.g. "LIST". What is the be

Re: [Live-devel] Windows CE 6

2012-05-25 Thread Sid Price
Ross, Just a short note to say that the testOnDemandRTSPServer application is working on my platform. There seem to be some buffering issues because I get some "drop-outs" in the playback, however the MP3 I am playing is located in some slow flash memory. My plan now is to mount an SD card and

Re: [Live-devel] Windows CE 6

2012-05-24 Thread Sid Price
Thanks Ross, I will take a look at that demo application, Sid. From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Thursday, May 24, 2012 10:04 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Windows

Re: [Live-devel] Windows CE 6

2012-05-24 Thread Sid Price
Ross, I appreciate your comments and already had that knowledge. The problem is that the location of the default directory is apparently not under my control, therefore one cannot "point" the server to known location to serve files from. Since it appears that others have run the server with CE

[Live-devel] Windows CE 6

2012-05-24 Thread Sid Price
I have built the Media Server for Windows CE 6 R3 and I am now trying to test it out. One issue is that CE does not have a concept of "current working directory" so I was wondering if anyone else has addressed this issue already? I certainly don't see any changes in the code base to use some variab

[Live-devel] Building Media Server for WINdows CE 6

2012-05-23 Thread Sid Price
Hello, I am building the Media Server for Windows CE 6 (ARM) and I am getting the following linker errors when I build the application: 1>-- Build started: Project: Live555_CE, Configuration: Debug VistaMax-9G20 (ARMV4I) -- 1>Linking... 1>corelibc.lib(mainwcrt.obj) : error LNK2019: u

[Live-devel] Archive access

2012-05-10 Thread Sid Price
Hello, I am just starting to evaluate live555 and would like to know if there is a way to access the list archives so I can check if my questions have already been answered before I ask here. Thanks in advance, Sid. ___ live-devel maili