Skip to content

Start preview wont work after Stop preview #80

@ardeshir-33033

Description

@ardeshir-33033

Version

v1.2.0

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

Android 13
Android 12
iOS 17

Is it reproducible in the example application?

Yes

RTMP Server

rtmp://192.168.1.12/s/

Reproduction steps

I am not sure it is a bug or intended.
I intend to help the user close the camera and reopen it.
I guess the stopPreview() and startPreveiw() methods were responsible for this, but after stopping preview and starting it again, the video is no longer sent to the server.
is this a bug? if not is there a way to achieve what I want?

Expected result

The player sends data to the server after the stopping and starting preview.

Actual result

The player no longer sends data after re starting preview.

Additional context

No response

Relevant logs output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions