I’ve been using RTMFP streaming for around a year in ActionScript 3, and I pretty much know the difference between a near ID and far ID. The near ID is your peer ID, and the far ID is the other guy’s peer ID.
The problem I’m having is that, to my knowledge, choosing whether to use one term or the other in a given sentence is a little like choosing whether to say “go” or “come”. In English, “go” and “come” have opposite meanings, but ironically, they can still be used almost interchangeably. It’s because whether you’re going or coming is so heavily dependent on perspective, as opposed to anything concrete.
Is the choice of words between “near ID” and “far ID” just as ambiguous, or is there some sort of method to the madness? Thanks!
The difference is completely based on perspective: whether you’re working from the perspective of a client or the server. I don’t think of this as ambiguous, but it can be confusing if you’re not clear on your perspective.
For reference, the Flash Media Server 4.5 documentation states:
Client.farID
A String identifying the RTMFP identity of the client. This property has the same value as the ActionScript 3.0 NetConnection.nearID property.
Client.nearID
A String indicating the RTMFP identity of the server to which the client is connected. This property has the same value as the ActionScript 3.0 NetConnection.farID property.
1