问题的解决 在Result中添加@Data注解,添加了Get/Set方法,估计是jackson将对象转化为Json的时候需要GS。。。发布
For Example, the HTTP server send audio stream (capture from some device at realtime) by chunk, I need to play the audio at client side at realtime too (I need to decode each chunk and send to ACM). But I don't know how to get each chunk data when the IdHTTP receive it. -- ...
Delphi2009.05.20 10:08 UTF-8?? ??? UTF-8? ??, . functiongetURLContent(URL:String):String; var IdHTTP1: TIdHTTP; Stream: TBytesStream; begin Result:=''; Stream := TBytesStream.Create; IdHTTP1:=TIdHTTP.Create(nil); try IdHTTP1.Get(URL, Stream, []); Result:=TEncoding.UTF8.Get...
For Example, the HTTP server send audio stream (capture from some device at realtime) by chunk, I need to play the audio at client side at realtime too (I need to decode each chunk and send to ACM). But I don't know how to get each chunk data when the IdHTTP receive it. -- ...