mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
修复函数mk_rtc_send_datachannel声明、定义没对应的错误 (#3508)
This commit is contained in:
parent
046aaa3498
commit
64fdd78330
@ -528,7 +528,7 @@ API_EXPORT void API_CALL mk_auth_invoker_clone_release(const mk_auth_invoker ctx
|
|||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////WebRtcTransport/////////////////////////////////////////////
|
///////////////////////////////////////////WebRtcTransport/////////////////////////////////////////////
|
||||||
API_EXPORT void API_CALL mk_rtc_sendDatachannel(const mk_rtc_transport ctx, uint16_t streamId, uint32_t ppid, const char *msg, size_t len) {
|
API_EXPORT void API_CALL mk_rtc_send_datachannel(const mk_rtc_transport ctx, uint16_t streamId, uint32_t ppid, const char *msg, size_t len) {
|
||||||
#ifdef ENABLE_WEBRTC
|
#ifdef ENABLE_WEBRTC
|
||||||
assert(ctx && msg);
|
assert(ctx && msg);
|
||||||
WebRtcTransport *transport = (WebRtcTransport *)ctx;
|
WebRtcTransport *transport = (WebRtcTransport *)ctx;
|
||||||
|
Loading…
Reference in New Issue
Block a user