Skip to content

Commit 35d5b9f

Browse files
committed
docs added for webrtc configs
1 parent 18dbaf4 commit 35d5b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ key props | type | defualts | descriptions
123123
initiator | boolean | false | set to `true` if this is the initiating peer
124124
channelConfig | RTCDataChannelInit/undefined | {} | custom webrtc data channel configuration
125125
channelName | string/undefined | Random String | custom webrtc data channel name
126-
config | RTCConfiguration/undefined | { } | custom webrtc configuration
126+
config | RTCConfiguration/undefined | { iceServers: [ { urls: [ 'stun:stun.l.google.com:19302', 'stun:global.stun.twilio.com:3478'] } ], sdpSemantics: 'unified-plan'} | custom webrtc configuration
127127
offerOptions | RTCOfferOptions/undefined | {} | custom offer options
128128
answerOptions | RTCAnswerOptions/undefined | {} | custom answer options
129129
sdpTransform | Function | (instance, sdp) => {} | function to transform the generated SDP signaling data

0 commit comments

Comments
 (0)