Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Runtime/Scripts/Core/Room.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ public Proto.RtcConfig ToProto()
public class RoomOptions
{
public bool AutoSubscribe = true;
public bool Dynacast = true;
public bool AdaptiveStream = true;
public bool Dynacast = false;
public bool AdaptiveStream = false;
public uint JoinRetries = 3;
public RTCConfiguration RtcConfig = null;
public E2EEOptions E2EE = null;
Expand Down
4 changes: 1 addition & 3 deletions Tests/PlayMode/Utils/TestRoomContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public struct ConnectionOptions
public bool CanSubscribe;
public bool CanUpdateOwnMetadata;
public string ServerUrl;
public bool Dynacast;

public static ConnectionOptions Default => new ConnectionOptions
{
Expand All @@ -51,7 +50,6 @@ public struct ConnectionOptions
CanPublish = true,
CanPublishData = true,
CanSubscribe = true,
Dynacast = true,
};
}

Expand All @@ -69,7 +67,7 @@ public IEnumerator ConnectRoom(int index)
ConnectionOptions options = _connectionOptions[index];
var room = Rooms[index];
var token = CreateToken(options);
var roomOptions = new RoomOptions { Dynacast = options.Dynacast };
var roomOptions = new RoomOptions();
var connect = room.Connect(options.ServerUrl ?? _serverUrl, token, roomOptions);
yield return connect;

Expand Down
1 change: 0 additions & 1 deletion Tests/PlayMode/VideoFrameMetadataTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public class VideoFrameMetadataTests
// calling sender.set_parameters(), which drops the sender's encoder->packetizer
// frame-metadata transformer. Disabling it on the publisher should let metadata
// arrive. See rust-sdks #1003.
publisher.Dynacast = false;
var subscriber = TestRoomContext.ConnectionOptions.Default;
subscriber.Identity = "metadata-subscriber";
return (publisher, subscriber);
Expand Down
Loading