Skip to main content
Chicohuman
Known Participant
September 18, 2011
Question

RMI vs NetStreams for Text Chat

  • September 18, 2011
  • 1 reply
  • 682 views

Hi,

I am wondering if we should use RMI or NetStreams for our text chat.

A few things should be considered, as we have different scenarios that could happen :

- Imagine a 2-way text chat, with 2 people connected via RTMFP to the FMES server. Would text chat with RTMFP NetStreams be more appropriate than RMI?

- Imagine a 2-way text chat, 1 person connected via RTMP and the other via RTMFP, would the text chat be better over RMI or over RTMP NetStreams?

- We need to consider that video/audio are also available, and we use either RTMP or RTMFP NetStreams (depending on the protocol the users connected to the server with).

Thanks

    This topic has been closed for replies.

    1 reply

    Nikhil_Kalyan
    Participating Frequently
    September 19, 2011

    Hi,

    RTMFP with groups (not just direct connections) have extended flexibility to support a concept of 'posting' which is a very good way of implementing a text chat.

    RTMP generally use sharedObjects which are inherently robust to implement a text chat too.

    This way i am not taking NetStreams also as such into the scene for this implementation, but yes they are good way too.