Haha
Haha

Reputation: 146

Can anyone give me an example of sdpTransform option in simplepeer

Hi I've been searching for an example of how to use sdpTransform feature in simple peer and haven't found anything yet. Also is there any way to check what codecs were used in mediaStream object. Is there anyway to create custom sdp offer in SimplePeer.

Upvotes: 1

Views: 847

Answers (1)

Dirk V
Dirk V

Reputation: 1469

the parameter must contain a function that returns the transformed sdp. Found this github issue as example. github

Upvotes: 1

Related Questions