diff --git a/Shared/ParticipantView.swift b/Shared/ParticipantView.swift index ea8d866..dcba148 100644 --- a/Shared/ParticipantView.swift +++ b/Shared/ParticipantView.swift @@ -100,7 +100,7 @@ struct ParticipantView: View { .background(Color.black.opacity(0.5)) .cornerRadius(8) } - .padding() + .padding(5) } } } else if let publication = participant.mainVideoPublication as? RemoteTrackPublication, diff --git a/iOS/BroadcastExt/SampleHandler.swift b/iOS/BroadcastExt/SampleHandler.swift index 20a09c9..34c7cd4 100644 --- a/iOS/BroadcastExt/SampleHandler.swift +++ b/iOS/BroadcastExt/SampleHandler.swift @@ -24,7 +24,7 @@ class SampleHandler: RPBroadcastSampleHandler { let connectOptions = ConnectOptions( // do not subscribe since this is for publish only autoSubscribe: false, - publish: "screen_share" + publishOnlyMode: "screen_share" ) let roomOptions = RoomOptions(