apivideo / api.video-flutter-live-stream

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

Bug: AudioConverter inconsistent packets #15

Closed Zechst closed 2 years ago

Zechst commented 2 years ago

After following the example, the debugConsole is returning this line [AudioConverter] CompositeAudioConverter.cpp:1239 Input data proc returned inconsistent 1 packets for 2048 bytes; at 2 bytes per packet, that is actually 1024 packets

Steps to reproduce the behavior:

  1. controller was created in this format
      textureId = controller.create(
        initialAudioConfig: AudioConfig(),
        initialVideoConfig: VideoConfig.withDefaultBitrate(),
      );

Not sure if this should be printing

Screenshot 2022-09-23 at 12 03 48 PM

Should I be receiving a packet error? Please assist, thank you

ThibaultBee commented 2 years ago

Hi,

It seems there has been some fixes on our iOS native live streaming library. See https://github.com/shogo4405/HaishinKit.swift/issues/1016. Thanks for noticing! We will update soon.

Can you get the audio on the decoder side?

ThibaultBee commented 2 years ago

Hi,

I updated HK in the main branch. Could you check if the message still appears?

Zechst commented 2 years ago

Hi, is this in the new release update for flutter package?

ThibaultBee commented 2 years ago

Not yet. Waiting to fix more issues before releasing.

Zechst commented 2 years ago

Ok thank you. I will wait for the release to test and see if it still logs the error

ThibaultBee commented 2 years ago

1.0.6 has been released. Could you verified that this issue has been fixed?

Zechst commented 2 years ago

Hi, thanks so much. The error is no longer seen :)