Skip to content

http links doesn't work #11

@Reuniko

Description

@Reuniko

I use my own web server via http (not https) protocol to watch movies,
while USharpVideo accepts links like http://.../video/Deca-Dence/%5bHorribleSubs%5d%20Deca-Dence%20-%2001%20%5b720p%5d.mkv
USharpVideoSubtitles throws an error for links like http://.../video/Deca-Dence/%5bHorribleSubs%5d%20Deca-Dence%20-%2001%20%5b720p%5d.ass

InvalidOperationException: Insecure connection not allowed UnityEngine.Networking.UnityWebRequest.SendWebRequest () (at <87b3274d0f3f44a8b2eda26428f9024a>:0) VRC.SDK3.StringLoading.VRCStringDownload.StartAtCorrectTime (System.Threading.CancellationToken cancellationToken) (at <f810a23416cf490ab7988797eeaacde8>:0) Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask1[TStateMachine].GetResult (System.Int16 token) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/CompilerServices/StateMachineRunner.cs:218)
Cysharp.Threading.Tasks.UniTaskExtensions+<>c.b__16_0 (System.Object state) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskExtensions.cs:572)
UnityEngine.Debug:LogException(Exception)
Cysharp.Threading.Tasks.UniTaskScheduler:PublishUnobservedTaskException(Exception) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskScheduler.cs:90)
Cysharp.Threading.Tasks.<>c:b__16_0(Object) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskExtensions.cs:576)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetException(Exception) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskCompletionSource.cs:167) Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask1:SetException(Exception) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/CompilerServices/StateMachineRunner.cs:210)
VRC.SDK3.StringLoading.d__33:MoveNext()
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask1:Run() (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/CompilerServices/StateMachineRunner.cs:189) Cysharp.Threading.Tasks.AwaiterActions:Continuation(Object) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTask.cs:21) Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetResult(Object) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.WaitWhilePromise:MoveNext() (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTask.WaitUntil.cs:234)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore() (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update() (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run() (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/Internal/PlayerLoopRunner.cs:104)
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions