@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
17 lines • 608 B
TypeScript
/**
* ```js
* import { disposeStream } from '@amityco/ts-sdk-react-native'
* const stream = await disposeStream(streamId)
* ```
*
* Dispose a {@link Amity.InternalStream}.
* Streaming status will be updated to "ended" and streaming url will be invalidated
*
* @param streamId The {@link Amity.InternalStream} ID to dispose
* @returns the associated {@link Amity.InternalStream} object
*
* @category Stream API
* @async
*/
export declare const disposeStream: (streamId: Amity.InternalStream['streamId']) => Promise<Amity.Cached<Amity.InternalStream>>;
//# sourceMappingURL=disposeStream.d.ts.map