----- Original message ----- > On 07.10.10 18:05, Антон Загорский wrote: > > Hello. > > > > What is main difference between AmB2BSession and AmB2ABSession? > > As I understand AmB2BSession provides relaying SIP signaling between > > caller and callee, and AmB2ABSession provides access to media stream. > > So why AmB2ABSession isn't inherited from AmB2BSession? > > > I have no idea... Let's ask Stefan, when he comes back from vacation ;-) good question. ..
as you can see from the code, the caller and callee AmB2ABSessions are just only normal sessions, with some code added to make the connection of the decoded audio, and the function names are very similar to the ones in AmB2BSession. In retrospect, this was a stupid decision; it should rather have been another mode of the AmB2BSession, or both B2B and B2AB should inherit from the same abstract (B2B interface-) class. But nowadays, you can do everything what you can do with B2ABSession easily with DSM and mod_conference, so I would not recommend using B2ABsession any more for a new development. If you are concerned about extra performance impact of using conference mixer, you could easily add the audio connector to mod_conference, or add something similar as conferencestatus just to connect audio of calls. More interesting for the B2B would be an RTP relay mode I think. Stefan > > -Raphael.
_______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
