apivideo / api.video-flutter-live-stream

Flutter RTMP live stream client. Made with ♥ by api.video
MIT License
65 stars 39 forks source link

[Issue]: Encountering an Exception when streaming Time in Flutter. Error Message: 'PlatformException(failed_to_start_stream, java.lang.IllegalArgumentException: Only one audio stream is supported by FLV, null, null)'. #51

Closed Ajmalnk1836 closed 5 months ago

Ajmalnk1836 commented 6 months ago

Version

v1.1.1

Which operating systems have you used?

Environment that reproduces the issue

Google Pixel 5, POCO X2

Is it reproducible in the example application?

Yes

RTMP Server

api.video

Reproduction steps

Configure video for 720p, Start the stream

Expected result

want to play stream very well without throwing exception, Currently encountering an Exception when streaming Time in Flutter. is like Error Message: 'PlatformException(failed_to_start_stream, java.lang.IllegalArgumentException: Only one audio stream is supported by FLV, null, null)',

I wan to resolve this issue, Hope some one can resolve this issue

Actual result

The Player throwing exception following one,Error Message: 'PlatformException(failed_to_start_stream, java.lang.IllegalArgumentException: Only one audio stream is supported by FLV, null, null)',

Additional context

flutter version : 3.19.4

Relevant logs output

Exception log:
PlatformException(failed_to_start_stream, java.lang.IllegalArgumentException: Only one audio stream is supported by FLV, null, null)',
ThibaultBee commented 5 months ago

We don't enough information to find the root cause of the issue. If I run the example in 720p and click on the start stream button, I won't face this issue. Could you described the actions (for the example) or the API calls precisely?

ThibaultBee commented 5 months ago

Hi,

For reference, how did you proceed to fix it?

Best regards, Thibault