Agora-Flutter-SDK icon indicating copy to clipboard operation
Agora-Flutter-SDK copied to clipboard

[Question] Could we Live Streaming as Broadcaster from video/audio source files?

Open ThangD opened this issue 3 years ago • 2 comments

Hello, i have a feature live streaming from camera or other source from files. Could you please help how can i get this? Thanks so much.

ThangD avatar Dec 30 '21 10:12 ThangD

Sorry for the late reply, You can refer to https://github.com/AgoraIO/Agora-Flutter-SDK/blob/master/example/android/app/src/main/kotlin/io/agora/agora_rtc_engine_example/custom_capture_audio/CustomCaptureAudioPlugin.kt and implement it on the native layer.

LichKing-2234 avatar Mar 09 '22 11:03 LichKing-2234

I believe this is now possible with agora_rtc_engine 6.0.0-rc.2, is that right?

babihutan avatar Sep 17 '22 23:09 babihutan

Check this out: https://docs.agora.io/en/interactive-live-streaming/develop/play-media/

babihutan avatar Oct 01 '22 19:10 babihutan

@babihutan yes play source media files is now possible directly with sdk apis.

plutoless avatar Oct 02 '22 07:10 plutoless

Thanks @plutoless, I've been eagerly watching and waiting for this feature for more than a year, going to hook up the new v6 api later this week.

babihutan avatar Oct 02 '22 16:10 babihutan

These features are available on agora_rtc_engine: ^6.0.0. Push a camera stream, you can use MediaEngine. pushVideoFrame , check https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/blob/main/example/lib/examples/advanced/push_video_frame/push_video_frame.dart for reference.

Push a video stream, you can use the MediaPlayer to handle this, check https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/blob/main/example/lib/examples/advanced/media_player/media_player.dart for reference.

littleGnAl avatar Nov 15 '22 05:11 littleGnAl

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

github-actions[bot] avatar Dec 06 '22 05:12 github-actions[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

github-actions[bot] avatar Apr 28 '23 09:04 github-actions[bot]