-
Notifications
You must be signed in to change notification settings - Fork 52
Description
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(() {}); } ......