From c83a3c563954746a0927c371ff7865e4c64bb97d Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Sat, 2 Sep 2023 13:06:42 +0800 Subject: [PATCH] =?UTF-8?q?mk=5Fmedia=5Fsource=5Fbroadcast=5Fmsg=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=B7=BB=E5=8A=A0=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/source/mk_events_objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/source/mk_events_objects.cpp b/api/source/mk_events_objects.cpp index f6b535bf..3833017f 100644 --- a/api/source/mk_events_objects.cpp +++ b/api/source/mk_events_objects.cpp @@ -221,7 +221,7 @@ API_EXPORT int API_CALL mk_media_source_broadcast_msg(const mk_media_source ctx, Any any; Buffer::Ptr buffer = std::make_shared(std::string(msg, len)); any.set(std::move(buffer)); - src->broadcastMessage(any); + return src->broadcastMessage(any); } API_EXPORT int API_CALL mk_media_source_close(const mk_media_source ctx,int force){