Skip to content

[video_player_avplay] Error: Streaming connection failed #900

@medboui

Description

@medboui

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(() {}); } ......

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions