Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWVideo
#9
(08-01-2023, 08:06 PM)MJS@mjs.us Wrote: I think I would be using the html5 canvas or TIWCanvas for something like that.  The canvas should draw realtime without flicker.  The demo below uses the video tag but I'm also drawing to an html5 canvas also.  Near the end of the video you'll see the effect.  Even the TIWVideo component may already do want you want, you'll just have to serve it chunks of data it understands.

IOS Safari camera access (atozed.com)

Thanks for the tips. I've tried using a TIWCanvas but I can't get it to display anything. Can you help me get started? I've got a form with a button and a canvas on it and I've tried this:

Code:
procedure TIWForm1.Btn1AsyncClick(Sender: TObject; EventParams: TStringList);
begin
  IWCanvas1.LineWidth := 10;
  IWCanvas1.PenColor := clWebBLUE;
  IWCanvas1.MoveTo(0, 0);
  IWCanvas1.LineTo(200, 200);
  IWCanvas1.RefreshAsyncRender;
end;

If I can get this to work I will move on to trying to draw a jpg image on it.

Thanks again!
Reply


Messages In This Thread
TIWVideo - by troberts - 07-21-2023, 09:46 PM
RE: TIWVideo - by Alexandre Machado - 07-22-2023, 01:39 AM
RE: TIWVideo - by troberts - 07-22-2023, 07:05 PM
RE: TIWVideo - by Alexandre Machado - 07-23-2023, 09:07 PM
RE: TIWVideo - by troberts - 07-25-2023, 05:20 AM
RE: TIWVideo - by troberts - 07-30-2023, 08:34 AM
RE: TIWVideo - by troberts - 08-01-2023, 07:06 PM
RE: TIWVideo - by MJS@mjs.us - 08-01-2023, 08:06 PM
RE: TIWVideo - by troberts - 08-02-2023, 08:57 PM
RE: TIWVideo - by troberts - 08-03-2023, 05:54 AM
RE: TIWVideo - by troberts - 08-03-2023, 09:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)