Hi,
I’m using ams-sdk for golang (GitHub - canonical/ams-sdk), how can I set this flag "
–enable-streaming"(https://anbox-cloud.io/docs/howto/application/stream) when I launch a new container?
thanks,
Demis.
Hi,
I’m using ams-sdk for golang (GitHub - canonical/ams-sdk), how can I set this flag "
–enable-streaming"(https://anbox-cloud.io/docs/howto/application/stream) when I launch a new container?
thanks,
Demis.
Hi!
You can set the EnableStreaming
boolean to true
on the InstancesPost
struct that you can then pass to the client. Please don’t forget to also set Platform
to webrtc
.
Please see instance.go L360-361.
thanks,
the field “EnableStreaming” is available only in the latest version of ams-sdk, but I’m using an old version of ams-sdk because in the last version of sdk there is a big problem:
Can you tell me when do you fix it?
thanks,
Demis.
Hi,
We are sorry that this is impacting you.
We are planning on fixing the issue that you mention with the 1.23 release of Anbox Cloud. Please see the release roadmap for more information.
In the meantime, you can continue using the AMS SDK v1.20.2.
For your use case, you can first create an AMS application, and use that to create a new streaming section by using the Stream Gateway API.
The discussion at Request for Documentation and Guidance on POST /1.0/sessions Endpoint in Anbox Streaming Gateway might be of interest to you.