Skip to content

Commit

Permalink
Merge branch 'master' into hz_rtt
Browse files Browse the repository at this point in the history
  • Loading branch information
harryz2000 committed Nov 28, 2023
2 parents 3084e7d + ffab93d commit 5230050
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medooze-rtmp-server",
"version": "0.18.1",
"version": "0.18.2",
"description": "RTMP Server by Medooze",
"main": "index.js",
"scripts": {
Expand Down
14 changes: 7 additions & 7 deletions src/rtmp-server_wrap.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2101,7 +2101,7 @@ SWIG_From_unsigned_SS_short (unsigned short value)
}


char const * const MediaFrameListenerBridge_codec_get(MediaFrameListenerBridge* self) { return GetNameForCodec(self->type, self->codec); }
char const * const MediaFrameListenerBridge_codec_get(MediaFrameListenerBridge* self) { return GetNameForCodec(self->type, self->codec); }


using MediaFrameListenerBridgeShared = std::shared_ptr<MediaFrameListenerBridge>;
Expand Down Expand Up @@ -7285,24 +7285,24 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_SetTargetBitrateHint(con

static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_codec_get(v8::Local<v8::Name> property, const SwigV8PropertyCallbackInfo &info) {
SWIGV8_HANDLESCOPE();

SWIGV8_VALUE jsresult;
MediaFrameListenerBridge *arg1 = (MediaFrameListenerBridge *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;

res1 = SWIG_ConvertPtr(info.Holder(), &argp1,SWIGTYPE_p_MediaFrameListenerBridge, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaFrameListenerBridge_codec_get" "', argument " "1"" of type '" "MediaFrameListenerBridge *""'");
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaFrameListenerBridge_codec_get" "', argument " "1"" of type '" "MediaFrameListenerBridge *""'");
}
arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1);
result = (char *)MediaFrameListenerBridge_codec_get(arg1);
jsresult = SWIG_FromCharPtr((const char *)result);


SWIGV8_RETURN_INFO(jsresult, info);

goto fail;
fail:
SWIGV8_RETURN_INFO(SWIGV8_UNDEFINED(), info);
Expand Down

0 comments on commit 5230050

Please sign in to comment.