Skip to content

Commit f2cecbd

Browse files
committed
live555: fix API change
1 parent a5c54a9 commit f2cecbd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/rtsp/BasicRTSPOnlyServer.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Gerard Castillo <[email protected]>
55
*
66
* Copyright (c) 2005-2010 Fundació i2CAT, Internet I Innovació Digital a Catalunya
7+
* Copyright (c) 2014-2025 CESNET
78
*
89
* Redistribution and use in source and binary forms, with or without
910
* modification, is permitted provided that the following conditions
@@ -143,9 +144,9 @@ BasicRTSPOnlyServer::init_server()
143144
}
144145

145146
void *BasicRTSPOnlyServer::start_server(void *args){
146-
char* watch = (char*) args;
147-
BasicRTSPOnlyServer* instance = getInstance();
148-
147+
auto *watch = (EventLoopWatchVariable *) args;
148+
BasicRTSPOnlyServer *instance = getInstance();
149+
149150
if (instance == NULL || instance->env == NULL || instance->rtspServer == NULL){
150151
return NULL;
151152
}

src/rtsp/c_basicRTSPOnlyServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
struct rtsp_serv {
5252
struct rtsp_server_parameters params;
5353
pthread_t server_th;
54-
uint8_t watch;
54+
EventLoopWatchVariable watch;
5555
};
5656

5757
rtsp_serv_t *

0 commit comments

Comments
 (0)