Skip to content

videoStream.acceptConnections is not a function #14

Description

@mimi35garry

Hi,
sorry for my english, i'm frensh noob !
I try to use your code and i have thise error.
Could you help me, please ?
I try to change export module, and import, add type module to package but not result.

root@Photomaton:~/nodematon# node index.js
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
Camera started.
/root/nodematon/index.js:5
videoStream.acceptConnections(app, {
^

TypeError: videoStream.acceptConnections is not a function
at Object. (/root/nodematon/index.js:5:13)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions