@vonage/video
Advanced tools
Comparing version 0.9.0 to 0.10.0
@@ -6,3 +6,2 @@ import { LayoutType } from '../enums/LayoutType'; | ||
export interface BroadcastConfig { | ||
sessionId: string; | ||
multiBroadcastTag?: string; | ||
@@ -9,0 +8,0 @@ maxDuration?: number; |
export interface BroadcastSearchFilter { | ||
offset?: number; | ||
count?: number; | ||
broadcastId?: string; | ||
sessionId?: string; | ||
} |
@@ -49,3 +49,3 @@ import { MultiStreamLayoutResponse } from './interfaces/Response/MultiStreamLayoutResponse'; | ||
startArchive(sessionId: string, options?: ArchiveOptions): Promise<SingleArchiveResponse>; | ||
startBroadcast(config: BroadcastConfig): Promise<BroadcastDetailsResponse>; | ||
startBroadcast(sessionId: string, config: BroadcastConfig): Promise<BroadcastDetailsResponse>; | ||
stopArchive(archiveId: string): Promise<SingleArchiveResponse>; | ||
@@ -52,0 +52,0 @@ stopBroadcast(broadcastId: string): Promise<BroadcastDetailsResponse>; |
@@ -182,5 +182,6 @@ "use strict"; | ||
} | ||
startBroadcast(config) { | ||
startBroadcast(sessionId, config) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const resp = yield this.sendPostRequest(`${this.config.videoHost}/v2/project/${this.auth.applicationId}/broadcast/`); | ||
const data = Object.assign({}, { sessionId }, config); | ||
const resp = yield this.sendPostRequest(`${this.config.videoHost}/v2/project/${this.auth.applicationId}/broadcast/`, data); | ||
return resp.data; | ||
@@ -187,0 +188,0 @@ }); |
{ | ||
"name": "@vonage/video", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "Package to interact with the Vonage Video API (Not OpenTok Compatible)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30169