2008/1/21, Bernhard Suttner <[EMAIL PROTECTED]>:
> I think the best solution is as follows:
>
> - remove SOATAG_HOLD: Ok, I know that this is not so simple, therefore
> we should think about marking it only as deprecated but this will
> require more work for the implemenation.

> - create a new SOATAG_MODE: with this tag you can change the mode of the
> session to every type you want. This will also be used for setting the
> media hold... parameter examples:
> audio=inactive
> audio=sendrecv
> audio=sendonly
> audio=recvonly
>
> same with video or * for all media's.

Well, this sounds reasonable.

> Does somebody else have other opinions?

Well, we can use user SDP with hairier cases.

The problem with SOATAG_MODE is the duplicated media, but I guess that
in 99 % of those cases where we have more than one m= line per media
(e.g., separate m= line for DTMF tones) all the m= lines for a
specific media follow the same mode setting.

> I dont know if the sofia-sip politic side is able to remove the
> SOATAG_HOLD but I think this option is not able to implement the
> required stuff for changing the media mode to every required state. If
> we would only change SOATAG_HOLD to deprecated and add the new
> SOATAG_MODE we will have to implement the new functionality but have
> take care of not breaking the old SOATAG_HOLD.

We certainly have to keep the API/ABI compatibility (till 1.13,
whenever that will be.), so breaking SOATAG_HOLD() is not an option.

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to