Bug 2167240 - F37 Casting To Smart TV's or Chromecast not working, using LibVLC..works with chromium on Youtube but not with films on LibVLC.
Summary: F37 Casting To Smart TV's or Chromecast not working, using LibVLC..works with...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pychromecast
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-06 01:44 UTC by Jason McShane
Modified: 2023-02-09 22:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-07 08:40:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
output in terminal for vlc --list "stream_out_chromecast Chromecast stream output" (80.96 KB, image/png)
2023-02-06 01:44 UTC, Jason McShane
no flags Details

Description Jason McShane 2023-02-06 01:44:09 UTC
Created attachment 1942475 [details]
output in terminal for vlc --list "stream_out_chromecast  Chromecast stream output"

Flathub version does not support chromecast but the Videolan instructions for fedora on their web site installs version that does support it.. check it with "VLC --list" for current version support.. see attachment png for terminal output. . Not working on 4 laptops in 4 diff locations. Using Fedora 37 on all machines. I have tried disabling the firewall on these machines still to no avail. But Google Chrome and Chromium is going through firewalld, so not likely the firewall causing the issue.

Version- The version of LibVLC on FLathub does not support Streaming / Chromecast , The version that is installed re VideoLans own inst on their web site for Fedora does support it.. check with "VLC --list" in terminal.. see png for terminal desired output.

How reproducible: very. 4 diff laptops running F37 same prob in 4 diff locations.


Steps to Reproduce:
1.install VLC re the VideoLan web sites instructions for Fedora here @ https://www.videolan.org/vlc/download-fedora.html 
... not from Flathub this version is not supporting streaming to chromecast,.
2.Try to cast a downloaded video using VLC Playback menu / Renderer / should scan for a list of smart tv's or chromcast devices but does not... 
3. check make sure with "vlc --list" in terminal that output pic in attachment that "streaming - chromecast" is in the list .. supported ! but not working :-)

4 I got this working on my g8 elitebook no idea how or why.. cannot reproduce bug fix.

Additional info: I have posted on "ask Fedora" link below and also posted bug report on videolan.org here: https://code.videolan.org/videolan/vlc/-/issues/27818

https://ask.fedoraproject.org/t/f37-vlc-trying-to-cast-to-smart-tv-working-with-chromium-an-cast-but-not-with-video-player-vlc/31531

Comment 1 Peter Robinson 2023-02-06 08:18:39 UTC
I don't believe VLC uses pychromecast to provide the cast functionality, I suspect they use a C library or wrote the code directly. Are you using the vlc provided by rpmfusion?

Can you provide a link to docs that show that it does or why the bug was reported here?

Comment 2 Jason McShane 2023-02-06 16:17:38 UTC
It's not working in google chrome either when tyring to cast a tab in the browser... so it looks like atm a Fedora issue tbh. Not sure why it works when connecting to the YT app on tv maybe it sending info diff way (wifi ?) have used both versions (VLC) the one in Flathubs not working either, but it's not supported in that one (check with vlc --list)... but yeah the one with the built in sup is on rpmfusion here are videolans inst @ https://www.videolan.org/vlc/download-fedora.html i think its the one your referring to, but I replicated an issue casting in Chrome as well when trying to cast tabs... 

Sorry I am not sure of the correct section (this is my first bug report to RedHat :-) ) I should of posted it in, is it poss to move this if needs be ? .. I seen pychromecast in the list.. an I also seen option python vlc in the instructions on videolans web site. The version being installed is I think in RPM fusion. But it does  not work with the Flathub 1 either.. also not working when trying to cast a tab in chrome. So casting is not working it Only works when connecting to the YT app on Smart TV.

So this issue can be replicated it seams in google chrome / chromium... It appears atm anyhow to be a problem in Casting in Fedora itself not just in VLC :-) 

PS what section should I of posted please.. in case I need to repost.. or can this be moved. 

Cheers & thanks for your time and patients :-)
Jay

Comment 3 Peter Robinson 2023-02-06 16:25:13 UTC
The vlc package doesn't ship with Fedora, according the the link you provided above you installed it from rpmfusion so you'll need to report a bug against vlc at the rpmfusion site: https://rpmfusion.org/ReportingBugs

I unfortunately can't move bugs to rpmfusion. The component you've reported this against is a python library called pychromecast so you'd need to recreate the problem with that tool.

Chromecast also needs multicast and I'm not sure if you need special firewall rules for that all to configure it on your network.

Comment 4 Jason McShane 2023-02-06 19:58:46 UTC
Its a problem inside Fedora as its happenning with cast in google chrome as well when attempting to cast browser tabs inside the browser ? 

So not a VLC issue imho.

Comment 5 Jason McShane 2023-02-06 20:00:38 UTC
Can you move this to relevent team inside RedHat please ?

Casting is not working in two diff places vlc & google crhome.. .its not working in Fedora full styop like..

Comment 6 Jason McShane 2023-02-06 20:14:58 UTC
Casting in Fedora is broken, it is not working anywhere from Google Chrome or VLC.. It is a Redhat issue.. as its not jus isolated to LibVLC. 

Can you move this bug report to the relevent team pls inside RedHat..

Or atleast tell me the name of the team who is responsible for casting in Fedora ? 

Thanks,
Jay

Comment 7 Peter Robinson 2023-02-06 20:19:03 UTC
Fedora is not all maintained by Red Hat, the vast majority of the packages in Fedora are no maintained by Red Hat. Also neither VLC or Chrome are shipped as part of Fedora, they are third party tools.

You will need to give me more detail how to reproduce it other than "it doesn't work", knowing what I know from maintaining pychromecast I don't believe it's actually a problem with Fedora.

Comment 8 Peter Robinson 2023-02-06 20:21:04 UTC
> Can you move this bug report to the relevent team pls inside RedHat..

There isn't a team at Red Hat (it's two words).
 
> Or atleast tell me the name of the team who is responsible for casting in
> Fedora ? 

There's not a team in Fedora responsible for casting. There are individual package maintainers. Neither VLC or Google Chrome are part of Fedora, they are shipped by other projects, I gave you a link to the rpmfusion project that maintains VLC above.

Comment 9 Jason McShane 2023-02-06 20:28:36 UTC
By the way I switched the firewall off an tested it with the firewall off an it still did not work.. so not a firewall issue either :-)

Comment 10 Jason McShane 2023-02-06 20:33:31 UTC
I listed the steps to reproduce ... in my original post ? 


Steps to Reproduce are... 

1.install VLC re the VideoLan web sites instructions for Fedora below:

    $> su -
    #> dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
    #> dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
    #> dnf install vlc
    #> dnf install python-vlc (optional)

... not from Flathub this version is not supporting streaming to chromecast,


2.Try to cast a downloaded video using VLC Playback menu / Renderer / should scan for a list of smart tv's or chromcast devices but does not... 
3. check make sure with "vlc --list" in terminal that output pic in attachment that "streaming - chromecast" is in the list .. supported ! but not working :-)

4 Install Chromium and cast a tab ... 

Note I also tried stopping Firewalld an it still would not work for me.. so not a firewall issue either.

Comment 11 Jason McShane 2023-02-06 20:34:47 UTC
Thanks btw ...

Comment 12 Jason McShane 2023-02-06 20:39:52 UTC
Btw I already posted it to VLC team before I came here... as I realised its not there fault as its happening in Chorme also.. So I don't believe its their issue.. but here is the link https://code.videolan.org/videolan/vlc/-/issues/27818#note_366597

Comment 13 Peter Robinson 2023-02-06 20:40:15 UTC
As a follow up to this I installed vlc from rpmfusion (vlc-3.0.18-2.fc37) on fully updated Fedora Workstation 37 and I could cast to my Sony TV (Android TV) which is on a different VLAN without issues. I then ran up Chromium, the open source version of Chrome that ships with Fedora (chromium-109.0.5414.119-1.fc37) (sudi dnf install -y chromium) and went to youtube and could also cast from there (never knew that was a thing).

I don't see a problem with Fedora in general for Casting.

Comment 14 Peter Robinson 2023-02-06 20:46:06 UTC
(In reply to Jason McShane from comment #12)
> Btw I already posted it to VLC team before I came here... as I realised its
> not there fault as its happening in Chorme also.. So I don't believe its
> their issue.. but here is the link
> https://code.videolan.org/videolan/vlc/-/issues/27818#note_366597

Your post there doesn't have a single response from anyone other than yourself.

I believe it's a problem with your network.

Comment 15 Jason McShane 2023-02-06 21:27:42 UTC
Its happenning in four different houses, in four different locations... all different networks. All on Wifi, So not the network. End users like, at home trying to watch movies.. 

Its working in one location on Win10 jus not working on Fedora 37 Workstation in any of the 4 diff locations.. also works from android phones on same networks so not the networks.. 


If you have any ideas on what to try I would give iut a go.. I have tried simply installing Fedora 37 and casting but no joy. I tried it also with the Firewall off no joy.. 

Ye I don't seam to be getting much help or ideas to try from anyone anywhere, I agree.. I have posted everywhere.. .

What to do ?

Jay

Comment 16 Jason McShane 2023-02-06 21:31:14 UTC
I am just installing Fedora 37 and updating.. 

I appreciate your testing it there.. and its good to hear its working. 

I am not sure what I am doing wrong. Fresh install and then I connect to rpmfusion an install VLC.. and Chromium from the Softeware (package man) ... 

I will try a fresh install again... cheers.

Must be something I am doing wrong. I can't for the life of me figure it out.. 

Four diff laptops some old and one bran new one.

Thank You for your help.. I will try it again on a fresh build an see it that works.

Comment 17 Jason McShane 2023-02-06 21:54:31 UTC
Now that I think of it, I actually installed Fedora 36 on them all an then upgraded to 37.. maybe thats the diff right there (pls god).. I will try a fresh install of 37 with latest build as you did an do fresh install... maybe there was an issue in 36 an the updates are not fixing it.. something to go on.. so its working from the latest build in fresh install..something to try happy days, I will try that so :-)

Thanks again for your help its really much appreciated, 

Jay

Comment 18 Peter Robinson 2023-02-07 08:40:27 UTC
I doubt it's due to you upgrading, the machine I used for testing was upgraded, upgrades are never the problem.

Please stop reopening this bug, it's not a problem with the package you've reported against (pychromecast) which is a python implementation of the chromecast API. I will not be replying any further.

Comment 19 Jason McShane 2023-02-09 22:32:53 UTC
It still does not work. I have wiped machine and re-installed F37 from scratch installed all updates as you did and installed VLC & Chromium an it still does not cast to the 2 LG's I tested... 

CLose if you like .. but it is a bug. 

Maybe the report is in the wrong place.. but something is wrong in the OS. It happenning in 2 packages and in mulitple location.

Cheers,
Jay


Note You need to log in before you can comment on or make changes to this bug.