Author Topic: EncodeProc  (Read 213 times)

pony

  • Posts: 34
EncodeProc
« on: 1 Dec '20 - 02:54 »
how to  change  buffer length of  the fallback function "EncodeProc"?

Ian @ un4seen

  • Administrator
  • Posts: 23311
Re: EncodeProc
« Reply #1 on: 1 Dec '20 - 15:20 »
Do you want to control how much data is received each time by your ENCODEPROC function? If so, I'm afraid that isn't possible - the ENCODEPROC receives whatever the encoder produces. If you need to process the data in blocks of a certain length, you could buffer the received data until it reaches that length, and then process a block and keep any remainder buffered for next time.

pony

  • Posts: 34
Re: EncodeProc
« Reply #2 on: 5 Dec '20 - 02:14 »
yes,you konw my thinking.thank you for your help.