Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMF Player for GSM_RTP audio data

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the problem:
I have an application that is receiving audio data :
for example 25 chuncks of 33 bytes(1 GSM chunck size) in format GSM_RTP.
I save this data into a larger buffer.
I know i must create a class derived from PullBufferStream with a method read(Buffer buffer)and a class derived from PullBufferDataSource which uses as streams objects from the class above.
An object of PullBufferDataSource class type is used to create a processor.
In the method read(Buffer buffer) how many chuncks of GSM type must contain a buffer?
Can anyone tell me the correct steps for creating the above classes so that I can use them to create a player which can play the GSM_RTP audio data?

Thanks for answers.....which a hope to receive
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic