Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: "Antonin Décimo" <antonin.decimo@gmail.com>
To: "Juliusz Chroboczek" <jch@irif.fr>, <galene@lists.galene.org>
Subject: [Galene] Re: Filtering outgoing video
Date: Tue, 12 Jan 2021 20:27:34 +0100	[thread overview]
Message-ID: <C8HFE3MIBHBY.3CMC2CBAUUVDL@kobain> (raw)
In-Reply-To: <87eeirj5bp.wl-jch@irif.fr>

Cool !

> I'd be grateful if somebody competent at Javascript could check my code.

Firefox raises an exception:

    Uncaught (in promise)
    Exception { name: "NS_ERROR_NOT_INITIALIZED", message: "", result: 3253927937, filename: "https://localhost:8443/galene.js", lineNumber: 807, columnNumber: 0, data: null, stack: "Filter@https://localhost:8443/galene.js:807:38\naddLocalMedia@https://localhost:8443/galene.js:937:17\nasync*gotJoined@https://localhost:8443/galene.js:1638:23\nServerConnection.prototype.connect/</this.socket.onmessage@https://localhost:8443/protocol.js:293:33\nEventHandlerNonNull*ServerConnection.prototype.connect/<@https://localhost:8443/protocol.js:257:9\nServerConnection.prototype.connect@https://localhost:8443/protocol.js:224:18\nserverConnect@https://localhost:8443/galene.js:2521:32\n@https://localhost:8443/galene.js:2422:9\nEventHandlerNonNull*@https://localhost:8443/galene.js:2413:10\n" }


    this.canvas = document.createElement('canvas');

    /** .... */
    this.captureStream = this.canvas.captureStream(0);

The problem is that the context isn't created before captureStream.


Have you considered using WebGL and shaders for filters instead? We
may benefit from acceleration and we could add trippy shaders too!

-- Antonin

  parent reply	other threads:[~2021-01-12 19:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12  1:45 [Galene] " Juliusz Chroboczek
2021-01-12 16:02 ` [Galene] " Toke Høiland-Jørgensen
2021-01-12 17:29   ` Juliusz Chroboczek
2021-01-12 18:12     ` Toke Høiland-Jørgensen
2021-01-12 19:27 ` Antonin Décimo [this message]
2021-01-12 20:56   ` Juliusz Chroboczek
2021-01-13 11:14   ` Juliusz Chroboczek
2021-01-13 13:11     ` Juliusz Chroboczek
2021-01-14  9:38     ` Michael Ströder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C8HFE3MIBHBY.3CMC2CBAUUVDL@kobain \
    --to=antonin.decimo@gmail.com \
    --cc=galene@lists.galene.org \
    --cc=jch@irif.fr \
    --subject='[Galene] Re: Filtering outgoing video' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox