define sessionId
This commit is contained in:
parent
f4817dad4d
commit
3d7d7cf41e
1
react-native/src/index.js
vendored
1
react-native/src/index.js
vendored
|
@ -672,6 +672,7 @@ export class AbstractSession extends Session {
|
|||
* Cancels running the session.
|
||||
*/
|
||||
cancel() {
|
||||
const sessionId = this.getSessionId();
|
||||
if (sessionId === undefined) {
|
||||
return FFmpegKitReactNativeModule.cancel();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user