[sip-comm-dev] Complementary media infrastructure


#1

Hello,

As I'm working on the IAX Stack for Sip Communicator, I need some sound
support, for playing encoding sounds and getting encoded
local-originated sound. However, I didn't find something suitable for my
needs in SC ; that's why I would like to propose a complementary
infrastructure to get an easy access to the media resources, described
in the attached file (please let me know if someone find an already
existing way to the encoded media stream bytes).

Comments are welcome (and that's even the reason of this mail).

JM HEITZ

Sound_architecture_v0.pdf (47.5 KB)


#2

Hello Jean-Marie,

Please excuse me for the long delay. I finally got the time to read your proposition. It makes sens and the general idea is OK but I was wondering whether you could provide something that follows JMF's architecture a bit more closely so that it would be easier to implement in the media package.

Here are some other comments:

1. I guess a MediaFactory is not really necessary since this role is played by the MediaService.

2. I don't see the point of the MediaProvider having a new instance method.

3. I'd personally remove all the pause methods and handle this internally - e.g. no more data means pause.

You say it yourself - we need 2 things from the media service.

A) We should be able to make the media service decode and play an incoming encoded stream. This implies that it would also have to provide us with a list of supported codecs that you could use in your iax session negotiation.

B) We should be able to make the media service capture data from the capture devices that the user has decided to use and then hand us encoded streams ready to send over the network. This time we'd need to specify the encoding that we'd like to use.

Keep in mind that here (as opposed to SIP call sessions) the media service doesn't really care about how many users there are in a call since it is not the one that's doing the actual streaming. Once you retrieve the data inside your iax bundle, you could multiplex it to as many destinations as you like.

Try to keep things as simple as possible so that they would be easy to use and implement.

You can drop by anytime if you'd like to discuss this further.

Cheers
Emil

HEITZ Jean-Marie wrote:

ยทยทยท

Hello,

As I'm working on the IAX Stack for Sip Communicator, I need some sound
support, for playing encoding sounds and getting encoded
local-originated sound. However, I didn't find something suitable for my
needs in SC ; that's why I would like to propose a complementary
infrastructure to get an easy access to the media resources, described
in the attached file (please let me know if someone find an already
existing way to the encoded media stream bytes).

Comments are welcome (and that's even the reason of this mail).

JM HEITZ

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net