plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[video_player_avplay] Error: Streaming connection failed

Open medboui opened this issue 7 months ago • 6 comments

Hi Flutter-Tizen team!

I’m using the 'video_player_avplay: 0.5.26' plugin to play video streams in my tv Samsung Tizen app. the player seems to work fine when i try a VOD content (movies, mp4...) but it doesn't work properly with the live streams (mainly IPTV channels.. the player read the stream juste fine but it only plays it for about 1 minute -2 and then stop automatically, i logged the error and it is as follows:
 [I] flutter: Error: Streaming connection failed [I] flutter: PlatformException([PlusPlayer] error, Error: Streaming connection failed, null, null)

so my question is, does the video_player_avplay treats the tv live streams deferentely ? if not what did i do wrong? i use the api-version="8.0" and my code is as follows:

...... _controller = VideoPlayerController.network( widget.streamUrl); _controller.setLooping(false); try { await _controller.initialize(); await _controller.setStreamingProperty(StreamingPropertyType.isLive, "true"); await _controller.play(); setState(() {}); } ......

medboui avatar Sep 01 '25 23:09 medboui

@gin7773 Could you please check this issue?

JSUYA avatar Sep 02 '25 06:09 JSUYA

Hello @medboui Can you share the URL?

gin7773 avatar Sep 02 '25 06:09 gin7773

hello @gin7773 , thank you for your replay and sorry for my late response, the playlist is kinda confidential can you share email adresse so that i can send it to you in e-mail. thanks.

medboui avatar Sep 07 '25 21:09 medboui

Hello, @medboui You can send to [email protected] If possible, please send me your sample code. Thanks.

gin7773 avatar Sep 08 '25 00:09 gin7773

Hello, @medboui I've created a private repository and only added permissions for you.(https://github.com/gin7773/test_poppycorn). Please check GitHub to see if you've received a confirmation message. If you are able to, please submit the tpk to this repository. I will delete it immediately after downloading it.

gin7773 avatar Sep 29 '25 05:09 gin7773

Hello @medboui , I sent you an email yesterday. If you didn't receive it, please contact me~

gin7773 avatar Oct 21 '25 08:10 gin7773