Skip to content

Commit

Permalink
rtsp: 适配到 live 2021.12.07
Browse files Browse the repository at this point in the history
Signed-off-by: Varphone Wong <varphone@qq.com>
  • Loading branch information
varphone committed Dec 15, 2021
1 parent cf7ecac commit d37bb1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/rtsp/live/rtsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,11 @@ XPR_API int XPR_RTSP_Init(void)
// Set live555 ReceivingInterfaceAddr & SendingInterfaceAddr from ENV
env = getenv("XPR_RTSP_RX_IF_ADDR");
if (env && *env) {
ReceivingInterfaceAddr = our_inet_addr(env);
ReceivingInterfaceAddr = inet_addr(env);
}
env = getenv("XPR_RTSP_TX_IF_ADDR");
if (env && *env) {
SendingInterfaceAddr = our_inet_addr(env);
SendingInterfaceAddr = inet_addr(env);
}
//
rtsp = new xpr::rtsp::PortManager();
Expand Down

0 comments on commit d37bb1c

Please sign in to comment.