RaceControl icon indicating copy to clipboard operation
RaceControl copied to clipboard

Facing issue to start stream

Open Shantanu260696 opened this issue 3 years ago • 6 comments

Describe the bug When i click on watch, i see the error message: an error occurred while retrieving URL stream

To Reproduce Steps to reproduce the behavior:

Go to any event Go to stream Press Watch See error

Expected behavior I expected the video to get played

Screenshots Git cap

Desktop (please complete the following information):

Processor: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.60 GHz System type: 64-bit operating system, x64-based processor Edition: Windows 10 Home Single Language Version: 20H2 Experience: Windows Feature Experience Pack 120.2212.4170.0

F1TV account

Subscription type: Paid

Country India

Using VPN or proxy? None

Additional context: 2022-03-10 13:55:19.4692 INFO Login successful. 2022-03-10 13:55:19.4692 INFO Credentials saved to store. 2022-03-10 13:55:19.4854 INFO Querying seasons... 2022-03-10 13:55:19.4854 INFO Querying vod genres... 2022-03-10 13:55:19.4977 INFO Refreshing live sessions... 2022-03-10 13:55:19.5695 INFO Querying live sessions... 2022-03-10 13:55:19.5747 INFO Checking for updates... 2022-03-10 13:55:19.5747 INFO Getting latest release from GitHub... 2022-03-10 13:55:20.8751 INFO Querying events for season '2022 season'... 2022-03-10 13:55:21.2030 INFO Querying sessions for event with UID '1132'... 2022-03-10 13:55:21.2030 INFO Querying episodes for event with UID '1132'... 2022-03-10 13:56:06.7989 INFO Querying episodes for vod genre 'All Access'... 2022-03-10 13:56:11.2344 INFO Getting tokenised URL for content-type 'Asset' and content-URL 'CONTENT/PLAY?contentId=1000005352'... 2022-03-10 13:56:11.8691 ERROR A critical error occurred. System.Exception: An error occurred while retrieving the stream URL. at RaceControl.ViewModels.MainWindowViewModel.ValidateStreamUrl(String streamUrl) in D:\Projects\RaceControl\RaceControl\RaceControl\ViewModels\MainWindowViewModel.cs:line 1243 at RaceControl.ViewModels.MainWindowViewModel.WatchInVlcAsync(IPlayableContent playableContent) in D:\Projects\RaceControl\RaceControl\RaceControl\ViewModels\MainWindowViewModel.cs:line 929 at System.Threading.Tasks.TaskExtensions.Await(Task task, Action completedCallback, Action`1 errorCallback, Boolean configureAwai

Shantanu260696 avatar Mar 10 '22 09:03 Shantanu260696

Facing similar problem

My log below:

2022-03-10 12:44:36.5520 INFO Refreshing live sessions...
2022-03-10 12:44:36.5520 INFO Querying live sessions...
2022-03-10 12:45:47.6965 INFO Refreshing live sessions...
2022-03-10 12:45:47.6965 INFO Querying live sessions...
2022-03-10 12:45:50.1182 INFO Settings saved.
2022-03-10 14:14:47.4431 INFO Settings loaded.
2022-03-10 14:14:47.5043 INFO Found VLC installation at 'C:\Program Files\VideoLAN\VLC\vlc.exe'.
2022-03-10 14:14:47.5043 INFO Found MPV installation at 'C:\Program Files\WindowsApps\16380RobvanderPol.F1RaceControl_2.3.4.0_x64__2z9spsj1fgqzr\RaceControl\mpv\mpv.exe'.
2022-03-10 14:14:47.5043 WARN Could not find MPC-HC installation.
2022-03-10 14:14:47.5347 INFO Querying seasons...
2022-03-10 14:14:47.5455 INFO Querying vod genres...
2022-03-10 14:14:47.9240 INFO Refreshing live sessions...
2022-03-10 14:14:47.9240 INFO Querying live sessions...
2022-03-10 14:14:47.9471 INFO Checking for updates...
2022-03-10 14:14:47.9504 INFO Getting latest release from Github...
2022-03-10 14:14:49.2381 INFO No new release found.
2022-03-10 14:14:53.0468 INFO Querying events for season '2022 season'...
2022-03-10 14:15:49.4371 INFO Refreshing live sessions...
2022-03-10 14:15:49.4371 INFO Querying live sessions...
2022-03-10 14:15:55.8726 INFO Querying sessions for event with UID '1123'...
2022-03-10 14:15:55.8912 INFO Querying episodes for event with UID '1123'...
2022-03-10 14:15:58.9646 INFO Querying sessions for event with UID '1132'...
2022-03-10 14:15:58.9646 INFO Querying episodes for event with UID '1132'...
2022-03-10 14:16:02.0555 INFO Querying channels for session with UID '1000005273'...
2022-03-10 14:16:06.7425 INFO Getting tokenised URL for content-type 'Channel' and content-URL 'CONTENT/PLAY?contentId=1000005273'...
2022-03-10 14:16:10.7387 ERROR A critical error occurred.
System.Exception: An error occurred while retrieving the stream URL.
   at RaceControl.ViewModels.VideoDialogViewModel.StartStreamAsync()
   at System.Threading.Tasks.TaskExtensions.Await(Task task, Action completedCallback, Action`1 errorCallback, Boolean configureAwait)

mudux avatar Mar 10 '22 11:03 mudux

Do you have F1 tv access or pro? In India, you can only have F1 Tv Access and some content is not visible. I have also found it that I live in Italy. The application does not tell you that those contents are not available in your subscription

Edivad99 avatar Mar 10 '22 21:03 Edivad99

I have pro..

The issue is resolved by logging out and logging back in.

Must be a bug.

mudux avatar Mar 11 '22 10:03 mudux

Okay, we should still implement some kind of icon that indicates what content is only available for F1 TV PRO

Edivad99 avatar Mar 11 '22 10:03 Edivad99

It's difficult since it depends on the region of the user. F1TV Access has different content in different parts of the world.

robvdpol avatar Mar 11 '22 11:03 robvdpol

I think I saw in the JSON, some fields that said what subscription you need to have to see the video. We could use the JWT and see if the user has permissions to view. Or perhaps use the response header to give a clearer message to the user.

Edivad99 avatar Mar 11 '22 11:03 Edivad99