@skyway-sdk/core
Version:
The official Next Generation JavaScript SDK for SkyWay
9 lines • 508 B
TypeScript
import type model from '@skyway-sdk/model';
import type { SkyWayChannelImpl } from '../channel';
import type { LocalStream } from '../media/stream/local';
import { PublicationImpl } from '.';
/**@internal */
export declare function createPublication<T extends LocalStream>(channel: SkyWayChannelImpl, { publisherId, stream, origin, metadata, codecCapabilities, encodings, contentType, id, isEnabled, type, }: model.Publication & {
stream?: T;
}): PublicationImpl<T>;
//# sourceMappingURL=factory.d.ts.map