Sponsored Content
The Lounge What is on Your Mind? PubNub Live Chat Beta Testing Post 303034957 by Neo on Friday 10th of May 2019 04:37:51 AM
Old 05-10-2019
UserCP Screeching Frog 0.7608
  • Fixed initial presence issue with "self user" with the following Vue.js code:
  • Get PubNub: Generate Leave on TCP FIN or RST to FALSE (Set Back to TRUE)

Code:
computed: {
    myuuid() {
      if (vbchat) return vbchat;
      else if (pubnub.getUUID()) return pubnub.getUUID();
      else return "Me";
    },
   
   // .....
}

Template changes:

Code:
<div class="d-flex justify-content-around flex-wrap room">
    <div class="col-md-12 box">
        <div v-if="this.psoccupancy" class="neo-chat-title">Live Chat Participants: {{ this.psoccupancy}}</div>
        <div v-else class="neo-chat-title">Live Chat Participants</div>
        <div v-if="this.userlist" class="neo-chat-title">{{ this.userlist}}</div>
        <div v-else class="neo-chat-title">{{this.myuuid}}</div>
        <VueSteamChat :messages="this.msglist" @vue-steam-chat-on-message="onNewMessage" />
    </div>
</div>

 

4 More Discussions You Might Find Interesting

1. Solaris

Live Chat For Solaris?

Does anyone know of any online live chat discussion groups for Solaris? If so, please let me know... Thanks! Rob Sandifer (3 Replies)
Discussion started by: RobSand
3 Replies

2. What is on Your Mind?

A Quick Video Overview of PubNub Live Chat @UNIX.com (version 0.7614)

A number of people have asked me to make some videos, so I just got my first condenser microphone and so I can make some amateurish screen casts. I will try to do better in the future. A quick overview of PubNub Live Chat @unix.com The video is best is you set the Quality to HD 1080. The... (0 Replies)
Discussion started by: Neo
0 Replies

3. What is on Your Mind?

Live Chat (Alpha) in UserCP SF 0.7517

Interesting.... I am still working on the kinks for Live Chat here at unix.com using a publish-subscribe API from PubNub. Two days ago while working on it, a new user joined the live chat and asked about how to post a new thread in the forum. Then today, one of the members of the PubNub team... (23 Replies)
Discussion started by: Neo
23 Replies

4. What is on Your Mind?

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates" The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies
Participants and synchronization sources.(3)		     Library Functions Manual		      Participants and synchronization sources.(3)

NAME
Participants and synchronization sources. - Classes class SDESItemsHolder Holds the SDES items and related information from a participant in an RTP application. class Participant A class of objects representing remote participants (RTP applications) in a multimedia session. class SyncSource Synchronization source in an RTP session. class RTPApplication An RTP application, holding identifying RTCP SDES item values. Functions __EXPORT RTPApplication & defaultApplication () Get the RTPApplication object for the 'default' application (the only one used by common applications -those that only implement one 'RTP application'). Detailed Description Function Documentation __EXPORT RTPApplication& defaultApplication () Get the RTPApplication object for the 'default' application (the only one used by common applications -those that only implement one 'RTP application'). Note that this application object differs from all the others that may be defined in that it is automatically constructed by the ccRTP stack and its CNAME is automatically assigned (as user@host), whereas the other application objects' CNAME is provided to its constructor. Examples: ccrtptest.cpp, rtphello.cpp, rtplisten.cpp, and rtpsend.cpp. Author Generated automatically by Doxygen for ccRTP from the source code. ccRTP Sat Jun 23 2012 Participants and synchronization sources.(3)
All times are GMT -4. The time now is 10:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy