Skip to content

Remove RTC config options#257

Draft
MaxHeimbrock wants to merge 2 commits intomainfrom
max/remove-rtc-options
Draft

Remove RTC config options#257
MaxHeimbrock wants to merge 2 commits intomainfrom
max/remove-rtc-options

Conversation

@MaxHeimbrock
Copy link
Copy Markdown
Contributor

Background

This is very low level WebRTC stuff we don't really expect anyone to work with. Also it was not fully functional to be set by users.

Changes

  • Removed a bunch of stuff

MaxHeimbrock and others added 2 commits April 17, 2026 16:58
…ToProto

Both ToProto methods crashed on default-constructed instances because their
array fields (RTCConfiguration.IceServers, IceServer.Urls) have no initializer
and the proto serialization path iterated them without a null guard.

Adds null guards before the foreach/AddRange, and regression tests covering
both cases plus a happy-path round-trip. EditModeTests.asmdef now references
Google.Protobuf.dll so the happy-path test can assert on the serialized
RepeatedField contents.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant