I have Samsung UE40J5200AW and it has that screen mirroring feature. Whenever I try to use to cast from Windows 11 to this TV, the stream stops after few mins of playing.

I have no idea if Samsung doesnt allow to play full screen videos from casting devices or not. I have tried to connect both PC and TV via Ethernet and see if it will help, but its happening all the time.

Whats interesting it also happens when I cast via my lineage os phone and I checked it on different TV and had the same issue.

Whats your ways to cast videos from PC/laptop to TV?

  • shalafi@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    I’d suggest figuring out the Windows casting issue. My TV is hardwired to the network, so maybe that helps.

    Here’s a script for a mode switcher. Works great using psexe to wrap it in an executable.

    Do {
        CLS
        $Mode = Read-Host "`r`n(W)ork, (P)lay, (M)ovie?"
        } until ( 'w', 'p', 'm' -contains $Mode) 
    
    if ($Mode -eq "w"){
    # Work Mode
    displayswitch.exe /extend
    # Display taskbar and restart Explorer
    $p='HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=2;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer
        }
    
    if ($Mode -eq "p"){
    # Play Mode
    displayswitch.exe /external
    # Display taskbar and restart Explorer
    $p='HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=2;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer
        }
    
    if ($Mode -eq "m"){
    # Movie Mode
    displayswitch.exe /internal
    #Hide taskbar and restart Explorer
    $p='HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=3;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer
        }