Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eArc Connected Sound Bar Volume #46

Open
Luke240 opened this issue Nov 6, 2022 · 2 comments
Open

eArc Connected Sound Bar Volume #46

Luke240 opened this issue Nov 6, 2022 · 2 comments

Comments

@Luke240
Copy link

Luke240 commented Nov 6, 2022

It seem as though when an eArc sound bar is connected to the tv I'm unable to control its volume, aside from mute.
When the sound bar is not connected though I'm able to control as expected.

@crissmil
Copy link

same here.
@Luke240 did u find anything about this issue?

@asturel
Copy link

asturel commented Feb 18, 2023

Just run into the same issue, used ls-monitor to debug which luna call happen when I increase/decrease the volume via MR:

17454.780 TX call 97 com.webos.platformstarfish (l2iPJwg6) com.webos.service.audio (JGZ7eyNQ) (null) /master/volumeUp «{}»

so we can use
ssap://audio/volumeUp
ssap://audio/volumeDown
ssap://audio/getVolume also get called when volume adjusted.

{
        "virtualService": "audio",
        "version": 1,
        "methods": [
                {
                        "path": "/getVolume",
                        "provider": "com.webos.service.audio/master/getVolume"
                },
                {
                        "path": "/setVolume",
                        "provider": "com.webos.service.audio/master/setVolume"
                },
                {
                        "path": "/volumeUp",
                        "provider": "com.webos.service.audio/master/volumeUp"
                },
                {
                        "path": "/volumeDown",
                        "provider": "com.webos.service.audio/master/volumeDown"
                },
                {
                        "path": "/getMute",
                        "provider": "com.webos.service.apiadapter/audio/getMute"
                },
                {
                        "path": "/setMute",
                        "provider": "com.webos.service.apiadapter/audio/setMute"
                },
                {
                        "path": "/getStatus",
                        "provider": "com.webos.service.apiadapter/audio/getStatus"
                },
                {
                        "path": "/changeSoundOutput",
                        "provider": "com.webos.service.apiadapter/audio/changeSoundOutput"
                },
                {
                        "path": "/getSoundOutput",
                        "provider": "com.webos.service.apiadapter/audio/getSoundOutput"
                }
        ]
}
{
        "service": "com.webos.service.audio",
        "methods": [
                {
                        "path": "/tv/setOffsetDelay",
                        "description": "Set av sync delay",
                        "requiredPermissions": [
                                "CONTROL_AUDIO"
                        ]
                },
                {
                        "path": "/master/getVolume",
                        "description": "Get the volume.",
                        "requiredPermissions": [
                                "CONTROL_AUDIO"
                        ]
                },
                {
                        "path": "/master/setVolume",
                        "description": "Set the volume.",
                        "requiredPermissions": [
                                "CONTROL_AUDIO"
                        ]
                },
                {
                        "path": "/master/volumeUp",
                        "description": "Increase the volume.",
                        "requiredPermissions": [
                                "CONTROL_AUDIO"
                        ]
                },
                {
                        "path": "/master/volumeDown",
                        "description": "Decrease the volume.",
                        "requiredPermissions": [
                                "CONTROL_AUDIO"
                        ]
                }
        ]
}
{
        "service": "com.webos.service.btaudiosnk",
        "methods": [
                {
                        "path": "/open",
                        "description": "Enable BT Sound Share feature",
                        "requiredPermissions": [
                                "CONTROL_BLUETOOTH"
                        ]
                },
                {
                        "path": "/close",
                        "description": "Disable BT Sound Share feature",
                        "requiredPermissions": [
                                "CONTROL_BLUETOOTH"
                        ]
                },
                {
                        "path": "/getState",
                        "description": "Get status of BT devices",
                        "requiredPermissions": [
                                "CONTROL_BLUETOOTH"
                        ]
                },
                {
                        "path": "/disconnect",
                        "description": "To disconnect the bluetooth device connected to TV",
                        "requiredPermissions": [
                                "CONTROL_BLUETOOTH"
                        ]
                }
        ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants