Skip to content
Merged
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/Rpc.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using LiveKit.Internal;

namespace LiveKit
{
Expand Down Expand Up @@ -90,7 +90,7 @@ public RpcError(uint code, string message, string rpcData = null) : base(message

internal static RpcError FromProto(Proto.RpcError proto)
{
Debug.Log($"RPC error received: {proto.Code} {proto.Message} {proto.Data}");
Utils.Debug($"RPC error received: {proto.Code} {proto.Message} {proto.Data}");
return new RpcError(proto.Code, proto.Message, proto.Data);
}

Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/RtcAudioSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected RtcAudioSource(int channels = 2, RtcAudioSourceType audioSourceType =
DefaultMicrophoneSampleRate : DefaultSampleRate;
_expectedSampleRate = newAudioSource.SampleRate;

UnityEngine.Debug.Log($"NewAudioSource: {newAudioSource.NumChannels} {newAudioSource.SampleRate}");
Utils.Debug($"NewAudioSource: {newAudioSource.NumChannels} {newAudioSource.SampleRate}");

newAudioSource.Options = request.TempResource<AudioSourceOptions>();
newAudioSource.Options.EchoCancellation = true;
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/RtcVideoSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ protected virtual void Dispose(bool disposing)
UnityEngine.Object.Destroy(_previewTexture);
if (_captureBuffer.IsCreated)
{
Debug.Log("Disposing capture buffer");
Utils.Debug("Disposing capture buffer");
_captureBuffer.Dispose();
}
Handle?.Dispose();
Expand Down
3 changes: 2 additions & 1 deletion Runtime/Scripts/TokenSource/TokenSourceComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Linq;
using System.Threading.Tasks;
using UnityEngine;
using LiveKit.Internal;

namespace LiveKit
{
Expand Down Expand Up @@ -67,7 +68,7 @@ public TaskYieldInstruction<ConnectionDetails> FetchConnectionDetails(TokenSourc

case ITokenSourceFixed fixedSource:
if (options != null)
Debug.LogWarning("TokenSourceComponent uses a fixed config, so fetch options are ignored.");
Utils.Warning("TokenSourceComponent uses a fixed config, so fetch options are ignored.");
task = fixedSource.FetchConnectionDetails();
break;

Expand Down
Loading