Skip to content

KMP SDK does not allow using HTTP APIs when using COHN #759

@TinfoilSubmarine

Description

@TinfoilSubmarine

Component
KMP SDK

Describe the bug
Using commands like startPreviewStream, startWebcam, etc. fail with error:

com.gopro.open_gopro.operations.OperationUnsupportedForCommunicator: Start Preview Stream not supported on HTTP

To Reproduce
Steps to reproduce the behavior:

  1. Take GoPro through COHN setup steps (connect to access point, provision COHN).
  2. Try to use goPro.commands.startPreviewStream()

Expected behavior
KMP SDK should allow using commands that communicate over HTTP when a COHN connection is available.

Logs
Error provided above.

Screenshots
n/a

Hardware

  • Camera: Hero13
  • Smartphone: Pixel 5

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingkotlin sdkKotlin SDKwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions