pubnub

how to hide pubnub keys when using JS

て烟熏妆下的殇ゞ 提交于 2019-11-28 02:16:31
问题 I opened a ticket in pubnub and also read: https://help.pubnub.com/entries/22251291-Can-I-Hide-my-Application-Keys- But I still can't understand how can I stop the user from seeing my keys as it is still on client side even after obfuscation. What I want to do is something I read in this post: PubNub publish message between two Private Channels Create a public channel and a private the channel for each user Hide the keys from the user I'm not sure how to create a private channel with custom

PubNub publish message between two Private Channels

孤街醉人 提交于 2019-11-27 09:38:25
问题 I'm using Php and MySQL. I have just signup for pubnub push API and successfully made my first push notification using the PHP Push API provided by Pubnub. I'm new into this Realtime technology so I have come up with some questions which I find confusing to understand myself. I have googled many times and searched all over stackoverflow. I didn't get any relevant suggestions or questions elsewhere, so I'm writing down my question here seeking your advice and expertise help. Pubnub says it's

pubnub presence detection of all the channels together without subscribing to any of them

徘徊边缘 提交于 2019-11-27 06:31:12
问题 Using pubnub i know that its possible to find out the presence of another person subscribed on the same channel. My question is that, if I have a web app running, and I use pubnub in my app, is it possible for me on the server to maintain presence information of each user by using pubnub api's and without having to subscribe to any channel. 回答1: For full details, see the knowledge base article, Can PubNub call my server via Webhooks when presence events occur? 来源: https://stackoverflow.com

How to use WebRTC + Pubnub Api for video chat client in Native android app

血红的双手。 提交于 2019-11-27 06:12:36
问题 i am working on one android application with the functionality of p2p video chat just like Skype. while researching on google, i got some libraries but not getting anything for android native. i decided to go with WebRTC with the use of PubNub api. how can i create a video chat native android client with the use of there libraries? i found one code for native video chat client, https://github.com/pchab/AndroidRTC this demo application require url with IP:PORT so i have one confusion about

Passing variables from flask to javascript

烈酒焚心 提交于 2019-11-26 19:52:14
问题 I looked at similar forums but was not able to get any of the solutions to work. I am trying to pass variables from flask to my java script file. These values then will be used for PubNub from my javascript file. Here is part of my Python code: @app.route("/mysettings/") def user_settings(): return render_template('Settings.html', project_name = session['project_name'] , publish_key = session['publish_key'] , subscribe_key = session['subscribe_key'] ) Here is part of my javascript code (app