MediaTrack.setSdp()

DESCRIPTION

Set a new SDP for this track.

If the client adds a media track, the track is reveived in a track event. In that case, the track SDP may contain multiple codecs supported by the client. After getting the SDP with getSdp() and removing codecs not supported by the device, this function is used to the resulting SDP.

DECLARATION

    void setSdp(const std::string& sdp)

PARAMETERS

sdp:
[in] The SDP string to set