MediaTrack.create()

DESCRIPTION

Create a media track to use in a connectionAddMediaTracks() call.

DECLARATION

    static MediaTrackPtr create(const std::string& trackId, const std::string& sdp)

PARAMETERS

trackId:
[in] Identifier to set for the track
sdp:
[in] SDP string defining the track

RETURNS

smart pointer to the created track