Update node-srt.cc

add SRTO_STREAMID in NodeSRT::GetSockOpt
This commit is contained in:
Morpheus235 2022-01-19 06:13:11 +01:00 • committed by GitHub
parent a6b655b5d0
commit ef81c016aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -343,7 +343,8 @@ Napi::Value NodeSRT::GetSockOpt(const Napi::CallbackInfo& info) {
break;
}
case SRTO_PACKETFILTER:
case SRTO_PASSPHRASE:
case SRTO_PASSPHRASE
case SRTO_STREAMID:
{
char optValue[512];
int optSize = sizeof(optValue);