apivideo / api.video-flutter-live-stream

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

Bug: AudioConverter inconsistent packets #15

Closed Zechst closed 1 year ago

Zechst commented 1 year 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 1 year 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 1 year ago

Hi,

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

Zechst commented 1 year ago

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

ThibaultBee commented 1 year ago

Not yet. Waiting to fix more issues before releasing.

Zechst commented 1 year ago

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

ThibaultBee commented 1 year ago

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

Zechst commented 1 year ago

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