How can I specify streaming player port other than 50051

Can I manually specify Audio2Face streaming player port other than 50051? May be by specifying some parameter in the batch file like this topic?

Yes, you can edit the port in this file:
"C:\Users\{USER}\AppData\Local\ov\pkg\prod-audio2face-2023.2.0\exts\omni.audio2face.player\omni\audio2face\player\scripts\streaming_server\server.py"

Screenshot_4

1 Like

Is it possible to setup this port by external way?
Or how I can use own streaming_server for app instance - I need to run multiple instances of the application.

You could specify the port in extension.toml file, then read it the streaming server file.

in extension.toml:

[settings]
persistent.exts."omni.audio2face.player".my_port = 50500

In server.py:

my_port = settings.get("persistent/exts/omni.audio2face.player/my_port")

But for multiple streaming servers, you will need to make your own server instance using the provided code as example.

Thanks.
Do you have any tips on how to do this?