Questions tagged [deepstream.io]

Deepstream is a Node server that allows clients to sync data, whether they're browsers or mobile applications. It has a caching layer, and supports event-based messaging and RPC.

Deepstream is a Node server that allows clients to sync data, whether they're browsers or mobile applications. It has a caching layer, and supports event-based messaging and RPC.

83 questions
1
vote
1 answer

Deepstream not working

First, sorry for my bad english. I trying the last two days deepstream to run. The server startet but i can't connect from browser. INFO | logger ready INFO | deepstream version: 1.1.0 INFO | messageConnector ready INFO | storage ready INFO | cache…
mekroth
  • 11
  • 1
1
vote
2 answers

How do I logout from deepstream.io?

I can close the connection with ds.close() but as soon as I run ds.login() I get logged in as the same user, regardless of the credentials provided. ds.login({user: 'admin', pass: 'admin'}) // AUTH_SUCCESSFUL | admin ds.close() //…
demux
  • 4,544
  • 2
  • 32
  • 56
1
vote
1 answer

Using deepstream List for tens of thousands unique values

I wonder if it's a good/bad idea to use deepstream record.getList for storing a lot of unique values, for example, emails or any other unique identifiers. The main purpose is to be able to answer a question quickly whether we already have, say, a…
1
vote
1 answer

deepstream does not update rethinkdb document immediately

I guess there is a delay between a record.set(...) call and a document is updated in DB. Note the document is finally updated in DB, but it doesn't happen immediately. I have acceptance tests that covers document updating flow and sometimes it…
1
vote
1 answer

Using deepstream.io for real-time voting

I made a prototype for a real-time voting system by using deepstream.io and rethinkdb as persistence store. So far, it works, and multiple browsers can stay in sync in getting the latest number of vote counts (see screenshot below), however, one…
TonyW
  • 18,375
  • 42
  • 110
  • 183
1
vote
1 answer

Does Deepstream keep track of the entire document in RethinkDB?

I know that Deepstream keeps track of everything in the _d-part of the document in the database and I need to use Deepstream to change anything in there which is fine. I'm wondering if I'm not allowed to change any values outside _d? My database…
jwanglof
  • 548
  • 1
  • 5
  • 20
1
vote
1 answer

dataTransform in Deepstream.io gives 'Uncaught SyntaxError: Unexpected end of input' in the console

I'm trying to manipulate the data that is sent back to the client via Deepstream with the new dataTransforms API, however, I always get Uncaught SyntaxError: Unexpected end of input in the console. It might be that it takes too long to make the…
jwanglof
  • 548
  • 1
  • 5
  • 20
1
vote
1 answer

Create a dynamically named record in DeepstreamIO

I'm trying to create a record that is called the same way it's called in our database. I'm trying to create this record from the client with the regular getRecord()-call. The error I get is that I can't do anything on the record, and when I look at…
jwanglof
  • 548
  • 1
  • 5
  • 20
1
vote
1 answer

Do I have to create a record on the client-side?

The way it works not is that when I call for: client.record.getRecord('a_new_record'); it will call the server with action 'CR' (see http://deepstream.io/docs/constants.html#Actions for reference) but I only want the client to be able to read and…
jwanglof
  • 548
  • 1
  • 5
  • 20
1
vote
1 answer

Retrieving a list of records in deepstream.io

I'm currently implementing a simple chat in order to learn how to use deepstream.io. Is there an easy way to get an interval from, lets say, a list of records? Imagine the scenario that a user wants to get old chat messages by scrolling back in the…
Tholle
  • 108,070
  • 19
  • 198
  • 189
0
votes
0 answers

Installing DeepStream SDK on Jetson Nano 4GB-B01 with limited space

I have a Jetson Nano 4GB (B01) SOC board and I am running out of space to install the DeepStream SDK. I want to use DeepStream for video streaming application on my Jetson Nano SOC board, but I need guidance on how to install it . What are the steps…
0
votes
0 answers

User didn't receive any notification? (Deepstream.io)

When sending notifications in DeepstreamIO, if a user is offline and later reconnects, he will not see the notification. In addition to that records is empty. Can you please suggest any solution? I try to send notifications to many users, I found…
0
votes
1 answer

Postgres permissions.yml for fileLoad(permissions.yml) CONFIG_ERROR

I am following the https://deepstream.io/tutorials/plugins/database/postgres/ I have create a testDB with owner and permission to user james In the conf/config.yml, I have the following configuration plugins: storage: name: postgres …
0
votes
2 answers

Deepstream unable to use tee and use splitmuxsink to save video

unable to use tee and use splitmuxsink to save video ,below is the code and i get linking error while running the below snippet. im using tee to have 2-sinks ( video save and RTSP streaming) nvvidconv_c = "convertor_%u" %index print("Creating…
Sri Harsha
  • 63
  • 1
  • 9
0
votes
1 answer

Cannot connect to DeepStream Node.js server if using any custom plugins

So, if I use my DeepStream server as the following const {Deepstream} = require('@deepstream/server') const server = new Deepstream({ server.start() it's working just fine I can connect to it from my frontend app like the following const…
Zoltán Balogh
  • 188
  • 2
  • 11