fix(api): fps double.
This commit is contained in:
parent
ea5d40ff20
commit
dc0a259007
|
@ -91,9 +91,9 @@ void s1s2Processor::StartVideoStreaming() {
|
||||||
auto &&stream_data = data2api(data);
|
auto &&stream_data = data2api(data);
|
||||||
ProcessNativeStream(stream, stream_data);
|
ProcessNativeStream(stream, stream_data);
|
||||||
// Need mutex if set callback after start
|
// Need mutex if set callback after start
|
||||||
if (callback) {
|
// if (callback) {
|
||||||
callback(stream_data);
|
// callback(stream_data);
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
true);
|
true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user