@norskvideo/norsk-api 1.0.345 → 1.0.347
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/manager_grpc_pb.d.ts +97 -62
- package/lib/manager_grpc_pb.js +103 -58
- package/lib/manager_pb.d.ts +749 -482
- package/lib/manager_pb.js +829 -514
- package/lib/manager_pb.js.map +1 -1
- package/lib/manager_pb.ts +1170 -733
- package/lib/media_grpc_pb.d.ts +66 -0
- package/lib/media_grpc_pb.js +124 -3
- package/lib/media_pb.d.ts +491 -632
- package/lib/media_pb.js +478 -709
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +696 -851
- package/lib/shared/common_pb.d.ts +872 -1
- package/lib/shared/common_pb.js +1338 -69
- package/lib/shared/common_pb.js.map +1 -1
- package/lib/shared/common_pb.ts +1698 -57
- package/lib/shared/error_grpc_pb.js +1 -0
- package/lib/shared/error_pb.d.ts +413 -0
- package/lib/shared/error_pb.js +442 -0
- package/lib/shared/error_pb.js.map +1 -0
- package/lib/shared/error_pb.ts +546 -0
- package/lib/worker_grpc_pb.d.ts +3 -2
- package/lib/worker_grpc_pb.js +12 -11
- package/lib/worker_pb.d.ts +194 -102
- package/lib/worker_pb.js +221 -111
- package/lib/worker_pb.js.map +1 -1
- package/lib/worker_pb.ts +315 -152
- package/package.json +1 -1
package/lib/media_grpc_pb.d.ts
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import * as grpc from "@grpc/grpc-js";
|
|
8
8
|
import * as media_pb from "./media_pb";
|
|
9
9
|
import * as shared_common_pb from "./shared/common_pb";
|
|
10
|
+
import * as shared_error_pb from "./shared/error_pb";
|
|
10
11
|
import * as google_protobuf_timestamp_pb from "@bufbuild/protobuf";
|
|
11
12
|
import * as google_protobuf_empty_pb from "@bufbuild/protobuf";
|
|
12
13
|
|
|
@@ -38,6 +39,8 @@ interface IMediaService extends grpc.ServiceDefinition<grpc.UntypedServiceImplem
|
|
|
38
39
|
createTransformAudioBuildMultichannel: IMediaService_ICreateTransformAudioBuildMultichannel;
|
|
39
40
|
createTransformAudioSplitMultichannel: IMediaService_ICreateTransformAudioSplitMultichannel;
|
|
40
41
|
createTransformAudioTranscribeAws: IMediaService_ICreateTransformAudioTranscribeAws;
|
|
42
|
+
createTransformAudioTranscribeAzure: IMediaService_ICreateTransformAudioTranscribeAzure;
|
|
43
|
+
createTransformAudioTranscribeWhisper: IMediaService_ICreateTransformAudioTranscribeWhisper;
|
|
41
44
|
createOutputCmafVideo: IMediaService_ICreateOutputCmafVideo;
|
|
42
45
|
createOutputHlsTsVideo: IMediaService_ICreateOutputHlsTsVideo;
|
|
43
46
|
createOutputCmafAudio: IMediaService_ICreateOutputCmafAudio;
|
|
@@ -45,6 +48,7 @@ interface IMediaService extends grpc.ServiceDefinition<grpc.UntypedServiceImplem
|
|
|
45
48
|
createOutputCmafWebVtt: IMediaService_ICreateOutputCmafWebVtt;
|
|
46
49
|
createOutputHlsTsCombinedPush: IMediaService_ICreateOutputHlsTsCombinedPush;
|
|
47
50
|
createOutputCmafMultiVariant: IMediaService_ICreateOutputCmafMultiVariant;
|
|
51
|
+
createOutputHlsTsMultiVariant: IMediaService_ICreateOutputHlsTsMultiVariant;
|
|
48
52
|
createOutputWhip: IMediaService_ICreateOutputWhip;
|
|
49
53
|
createOutputWhep: IMediaService_ICreateOutputWhep;
|
|
50
54
|
createOutputUdpTs: IMediaService_ICreateOutputUdpTs;
|
|
@@ -64,6 +68,7 @@ interface IMediaService extends grpc.ServiceDefinition<grpc.UntypedServiceImplem
|
|
|
64
68
|
createControlAudioMeasureLevels: IMediaService_ICreateControlAudioMeasureLevels;
|
|
65
69
|
createDebugStreamTimestampReport: IMediaService_ICreateDebugStreamTimestampReport;
|
|
66
70
|
createTransformAncillary: IMediaService_ICreateTransformAncillary;
|
|
71
|
+
closeMediaNode: IMediaService_ICloseMediaNode;
|
|
67
72
|
hardwareInfo: IMediaService_IHardwareInfo;
|
|
68
73
|
enumDeckLinkDisplayModes: IMediaService_IEnumDeckLinkDisplayModes;
|
|
69
74
|
unblockCall: IMediaService_IUnblockCall;
|
|
@@ -313,6 +318,24 @@ interface IMediaService_ICreateTransformAudioTranscribeAws extends grpc.MethodDe
|
|
|
313
318
|
responseSerialize: grpc.serialize<media_pb.AudioTranscribeAwsEvent>;
|
|
314
319
|
responseDeserialize: grpc.deserialize<media_pb.AudioTranscribeAwsEvent>;
|
|
315
320
|
}
|
|
321
|
+
interface IMediaService_ICreateTransformAudioTranscribeAzure extends grpc.MethodDefinition<media_pb.AudioTranscribeAzureMessage, media_pb.AudioTranscribeAzureEvent> {
|
|
322
|
+
path: "/norsk.api.media.Media/CreateTransformAudioTranscribeAzure";
|
|
323
|
+
requestStream: true;
|
|
324
|
+
responseStream: true;
|
|
325
|
+
requestSerialize: grpc.serialize<media_pb.AudioTranscribeAzureMessage>;
|
|
326
|
+
requestDeserialize: grpc.deserialize<media_pb.AudioTranscribeAzureMessage>;
|
|
327
|
+
responseSerialize: grpc.serialize<media_pb.AudioTranscribeAzureEvent>;
|
|
328
|
+
responseDeserialize: grpc.deserialize<media_pb.AudioTranscribeAzureEvent>;
|
|
329
|
+
}
|
|
330
|
+
interface IMediaService_ICreateTransformAudioTranscribeWhisper extends grpc.MethodDefinition<media_pb.AudioTranscribeWhisperMessage, media_pb.AudioTranscribeWhisperEvent> {
|
|
331
|
+
path: "/norsk.api.media.Media/CreateTransformAudioTranscribeWhisper";
|
|
332
|
+
requestStream: true;
|
|
333
|
+
responseStream: true;
|
|
334
|
+
requestSerialize: grpc.serialize<media_pb.AudioTranscribeWhisperMessage>;
|
|
335
|
+
requestDeserialize: grpc.deserialize<media_pb.AudioTranscribeWhisperMessage>;
|
|
336
|
+
responseSerialize: grpc.serialize<media_pb.AudioTranscribeWhisperEvent>;
|
|
337
|
+
responseDeserialize: grpc.deserialize<media_pb.AudioTranscribeWhisperEvent>;
|
|
338
|
+
}
|
|
316
339
|
interface IMediaService_ICreateOutputCmafVideo extends grpc.MethodDefinition<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent> {
|
|
317
340
|
path: "/norsk.api.media.Media/CreateOutputCmafVideo";
|
|
318
341
|
requestStream: true;
|
|
@@ -376,6 +399,15 @@ interface IMediaService_ICreateOutputCmafMultiVariant extends grpc.MethodDefinit
|
|
|
376
399
|
responseSerialize: grpc.serialize<media_pb.HlsOutputEvent>;
|
|
377
400
|
responseDeserialize: grpc.deserialize<media_pb.HlsOutputEvent>;
|
|
378
401
|
}
|
|
402
|
+
interface IMediaService_ICreateOutputHlsTsMultiVariant extends grpc.MethodDefinition<media_pb.HlsTsMultiVariantMessage, media_pb.HlsOutputEvent> {
|
|
403
|
+
path: "/norsk.api.media.Media/CreateOutputHlsTsMultiVariant";
|
|
404
|
+
requestStream: true;
|
|
405
|
+
responseStream: true;
|
|
406
|
+
requestSerialize: grpc.serialize<media_pb.HlsTsMultiVariantMessage>;
|
|
407
|
+
requestDeserialize: grpc.deserialize<media_pb.HlsTsMultiVariantMessage>;
|
|
408
|
+
responseSerialize: grpc.serialize<media_pb.HlsOutputEvent>;
|
|
409
|
+
responseDeserialize: grpc.deserialize<media_pb.HlsOutputEvent>;
|
|
410
|
+
}
|
|
379
411
|
interface IMediaService_ICreateOutputWhip extends grpc.MethodDefinition<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent> {
|
|
380
412
|
path: "/norsk.api.media.Media/CreateOutputWhip";
|
|
381
413
|
requestStream: true;
|
|
@@ -547,6 +579,15 @@ interface IMediaService_ICreateTransformAncillary extends grpc.MethodDefinition<
|
|
|
547
579
|
responseSerialize: grpc.serialize<media_pb.AncillaryEvent>;
|
|
548
580
|
responseDeserialize: grpc.deserialize<media_pb.AncillaryEvent>;
|
|
549
581
|
}
|
|
582
|
+
interface IMediaService_ICloseMediaNode extends grpc.MethodDefinition<media_pb.MediaNodeId, google_protobuf_empty_pb.Empty> {
|
|
583
|
+
path: "/norsk.api.media.Media/CloseMediaNode";
|
|
584
|
+
requestStream: false;
|
|
585
|
+
responseStream: false;
|
|
586
|
+
requestSerialize: grpc.serialize<media_pb.MediaNodeId>;
|
|
587
|
+
requestDeserialize: grpc.deserialize<media_pb.MediaNodeId>;
|
|
588
|
+
responseSerialize: grpc.serialize<google_protobuf_empty_pb.Empty>;
|
|
589
|
+
responseDeserialize: grpc.deserialize<google_protobuf_empty_pb.Empty>;
|
|
590
|
+
}
|
|
550
591
|
interface IMediaService_IHardwareInfo extends grpc.MethodDefinition<google_protobuf_empty_pb.Empty, media_pb.Hardware> {
|
|
551
592
|
path: "/norsk.api.media.Media/HardwareInfo";
|
|
552
593
|
requestStream: false;
|
|
@@ -614,6 +655,8 @@ export interface IMediaServer extends grpc.UntypedServiceImplementation {
|
|
|
614
655
|
createTransformAudioBuildMultichannel: grpc.handleBidiStreamingCall<media_pb.AudioBuildMultichannelMessage, media_pb.AudioBuildMultichannelEvent>;
|
|
615
656
|
createTransformAudioSplitMultichannel: grpc.handleBidiStreamingCall<media_pb.AudioSplitMultichannelMessage, media_pb.AudioSplitMultichannelEvent>;
|
|
616
657
|
createTransformAudioTranscribeAws: grpc.handleBidiStreamingCall<media_pb.AudioTranscribeAwsMessage, media_pb.AudioTranscribeAwsEvent>;
|
|
658
|
+
createTransformAudioTranscribeAzure: grpc.handleBidiStreamingCall<media_pb.AudioTranscribeAzureMessage, media_pb.AudioTranscribeAzureEvent>;
|
|
659
|
+
createTransformAudioTranscribeWhisper: grpc.handleBidiStreamingCall<media_pb.AudioTranscribeWhisperMessage, media_pb.AudioTranscribeWhisperEvent>;
|
|
617
660
|
createOutputCmafVideo: grpc.handleBidiStreamingCall<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
618
661
|
createOutputHlsTsVideo: grpc.handleBidiStreamingCall<media_pb.HlsTsVideoMessage, media_pb.HlsOutputEvent>;
|
|
619
662
|
createOutputCmafAudio: grpc.handleBidiStreamingCall<media_pb.CmafAudioMessage, media_pb.HlsOutputEvent>;
|
|
@@ -621,6 +664,7 @@ export interface IMediaServer extends grpc.UntypedServiceImplementation {
|
|
|
621
664
|
createOutputCmafWebVtt: grpc.handleBidiStreamingCall<media_pb.CmafWebVttMessage, media_pb.HlsOutputEvent>;
|
|
622
665
|
createOutputHlsTsCombinedPush: grpc.handleBidiStreamingCall<media_pb.HlsTsCombinedPushMessage, media_pb.HlsOutputEvent>;
|
|
623
666
|
createOutputCmafMultiVariant: grpc.handleBidiStreamingCall<media_pb.CmafMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
667
|
+
createOutputHlsTsMultiVariant: grpc.handleBidiStreamingCall<media_pb.HlsTsMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
624
668
|
createOutputWhip: grpc.handleBidiStreamingCall<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
625
669
|
createOutputWhep: grpc.handleBidiStreamingCall<media_pb.WhepOutputMessage, media_pb.WhepOutputEvent>;
|
|
626
670
|
createOutputUdpTs: grpc.handleBidiStreamingCall<media_pb.UdpTsOutputMessage, media_pb.UdpTsOutputEvent>;
|
|
@@ -640,6 +684,7 @@ export interface IMediaServer extends grpc.UntypedServiceImplementation {
|
|
|
640
684
|
createControlAudioMeasureLevels: grpc.handleBidiStreamingCall<media_pb.AudioMeasureLevelsMessage, media_pb.AudioMeasureLevelsEvent>;
|
|
641
685
|
createDebugStreamTimestampReport: grpc.handleBidiStreamingCall<media_pb.StreamTimestampReportMessage, media_pb.StreamTimestampReportEvent>;
|
|
642
686
|
createTransformAncillary: grpc.handleBidiStreamingCall<media_pb.AncillaryMessage, media_pb.AncillaryEvent>;
|
|
687
|
+
closeMediaNode: grpc.handleUnaryCall<media_pb.MediaNodeId, google_protobuf_empty_pb.Empty>;
|
|
643
688
|
hardwareInfo: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, media_pb.Hardware>;
|
|
644
689
|
enumDeckLinkDisplayModes: grpc.handleUnaryCall<media_pb.DeckLinkCardIndex, media_pb.DeckLinkDisplayModes>;
|
|
645
690
|
unblockCall: grpc.handleUnaryCall<media_pb.BlockingCallRef, google_protobuf_empty_pb.Empty>;
|
|
@@ -724,6 +769,12 @@ export interface IMediaClient {
|
|
|
724
769
|
createTransformAudioTranscribeAws(): grpc.ClientDuplexStream<media_pb.AudioTranscribeAwsMessage, media_pb.AudioTranscribeAwsEvent>;
|
|
725
770
|
createTransformAudioTranscribeAws(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeAwsMessage, media_pb.AudioTranscribeAwsEvent>;
|
|
726
771
|
createTransformAudioTranscribeAws(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeAwsMessage, media_pb.AudioTranscribeAwsEvent>;
|
|
772
|
+
createTransformAudioTranscribeAzure(): grpc.ClientDuplexStream<media_pb.AudioTranscribeAzureMessage, media_pb.AudioTranscribeAzureEvent>;
|
|
773
|
+
createTransformAudioTranscribeAzure(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeAzureMessage, media_pb.AudioTranscribeAzureEvent>;
|
|
774
|
+
createTransformAudioTranscribeAzure(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeAzureMessage, media_pb.AudioTranscribeAzureEvent>;
|
|
775
|
+
createTransformAudioTranscribeWhisper(): grpc.ClientDuplexStream<media_pb.AudioTranscribeWhisperMessage, media_pb.AudioTranscribeWhisperEvent>;
|
|
776
|
+
createTransformAudioTranscribeWhisper(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeWhisperMessage, media_pb.AudioTranscribeWhisperEvent>;
|
|
777
|
+
createTransformAudioTranscribeWhisper(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeWhisperMessage, media_pb.AudioTranscribeWhisperEvent>;
|
|
727
778
|
createOutputCmafVideo(): grpc.ClientDuplexStream<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
728
779
|
createOutputCmafVideo(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
729
780
|
createOutputCmafVideo(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
@@ -745,6 +796,9 @@ export interface IMediaClient {
|
|
|
745
796
|
createOutputCmafMultiVariant(): grpc.ClientDuplexStream<media_pb.CmafMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
746
797
|
createOutputCmafMultiVariant(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
747
798
|
createOutputCmafMultiVariant(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
799
|
+
createOutputHlsTsMultiVariant(): grpc.ClientDuplexStream<media_pb.HlsTsMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
800
|
+
createOutputHlsTsMultiVariant(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.HlsTsMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
801
|
+
createOutputHlsTsMultiVariant(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.HlsTsMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
748
802
|
createOutputWhip(): grpc.ClientDuplexStream<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
749
803
|
createOutputWhip(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
750
804
|
createOutputWhip(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
@@ -802,6 +856,9 @@ export interface IMediaClient {
|
|
|
802
856
|
createTransformAncillary(): grpc.ClientDuplexStream<media_pb.AncillaryMessage, media_pb.AncillaryEvent>;
|
|
803
857
|
createTransformAncillary(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AncillaryMessage, media_pb.AncillaryEvent>;
|
|
804
858
|
createTransformAncillary(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AncillaryMessage, media_pb.AncillaryEvent>;
|
|
859
|
+
closeMediaNode(request: media_pb.MediaNodeId, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
860
|
+
closeMediaNode(request: media_pb.MediaNodeId, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
861
|
+
closeMediaNode(request: media_pb.MediaNodeId, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
805
862
|
hardwareInfo(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: media_pb.Hardware) => void): grpc.ClientUnaryCall;
|
|
806
863
|
hardwareInfo(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: media_pb.Hardware) => void): grpc.ClientUnaryCall;
|
|
807
864
|
hardwareInfo(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: media_pb.Hardware) => void): grpc.ClientUnaryCall;
|
|
@@ -872,6 +929,10 @@ export class MediaClient extends grpc.Client implements IMediaClient {
|
|
|
872
929
|
public createTransformAudioSplitMultichannel(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioSplitMultichannelMessage, media_pb.AudioSplitMultichannelEvent>;
|
|
873
930
|
public createTransformAudioTranscribeAws(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeAwsMessage, media_pb.AudioTranscribeAwsEvent>;
|
|
874
931
|
public createTransformAudioTranscribeAws(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeAwsMessage, media_pb.AudioTranscribeAwsEvent>;
|
|
932
|
+
public createTransformAudioTranscribeAzure(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeAzureMessage, media_pb.AudioTranscribeAzureEvent>;
|
|
933
|
+
public createTransformAudioTranscribeAzure(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeAzureMessage, media_pb.AudioTranscribeAzureEvent>;
|
|
934
|
+
public createTransformAudioTranscribeWhisper(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeWhisperMessage, media_pb.AudioTranscribeWhisperEvent>;
|
|
935
|
+
public createTransformAudioTranscribeWhisper(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeWhisperMessage, media_pb.AudioTranscribeWhisperEvent>;
|
|
875
936
|
public createOutputCmafVideo(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
876
937
|
public createOutputCmafVideo(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
877
938
|
public createOutputHlsTsVideo(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.HlsTsVideoMessage, media_pb.HlsOutputEvent>;
|
|
@@ -886,6 +947,8 @@ export class MediaClient extends grpc.Client implements IMediaClient {
|
|
|
886
947
|
public createOutputHlsTsCombinedPush(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.HlsTsCombinedPushMessage, media_pb.HlsOutputEvent>;
|
|
887
948
|
public createOutputCmafMultiVariant(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
888
949
|
public createOutputCmafMultiVariant(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
950
|
+
public createOutputHlsTsMultiVariant(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.HlsTsMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
951
|
+
public createOutputHlsTsMultiVariant(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.HlsTsMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
889
952
|
public createOutputWhip(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
890
953
|
public createOutputWhip(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
891
954
|
public createOutputWhep(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WhepOutputMessage, media_pb.WhepOutputEvent>;
|
|
@@ -924,6 +987,9 @@ export class MediaClient extends grpc.Client implements IMediaClient {
|
|
|
924
987
|
public createDebugStreamTimestampReport(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.StreamTimestampReportMessage, media_pb.StreamTimestampReportEvent>;
|
|
925
988
|
public createTransformAncillary(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AncillaryMessage, media_pb.AncillaryEvent>;
|
|
926
989
|
public createTransformAncillary(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AncillaryMessage, media_pb.AncillaryEvent>;
|
|
990
|
+
public closeMediaNode(request: media_pb.MediaNodeId, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
991
|
+
public closeMediaNode(request: media_pb.MediaNodeId, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
992
|
+
public closeMediaNode(request: media_pb.MediaNodeId, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
927
993
|
public hardwareInfo(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: media_pb.Hardware) => void): grpc.ClientUnaryCall;
|
|
928
994
|
public hardwareInfo(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: media_pb.Hardware) => void): grpc.ClientUnaryCall;
|
|
929
995
|
public hardwareInfo(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: media_pb.Hardware) => void): grpc.ClientUnaryCall;
|
package/lib/media_grpc_pb.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var media_pb = require('./media_pb.js');
|
|
6
6
|
var shared_common_pb = require('./shared/common_pb.js');
|
|
7
|
+
var shared_error_pb = require('./shared/error_pb.js');
|
|
7
8
|
var google_protobuf_timestamp_pb = require('@bufbuild/protobuf');
|
|
8
9
|
var google_protobuf_empty_pb = require('@bufbuild/protobuf');
|
|
9
10
|
|
|
@@ -238,6 +239,50 @@ function deserialize_norsk_api_media_AudioTranscribeAwsMessage(buffer_arg) {
|
|
|
238
239
|
return media_pb.AudioTranscribeAwsMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
239
240
|
}
|
|
240
241
|
|
|
242
|
+
function serialize_norsk_api_media_AudioTranscribeAzureEvent(arg) {
|
|
243
|
+
if (!(arg instanceof media_pb.AudioTranscribeAzureEvent)) {
|
|
244
|
+
throw new Error('Expected argument of type norsk.api.media.AudioTranscribeAzureEvent');
|
|
245
|
+
}
|
|
246
|
+
return Buffer.from(arg.toBinary());
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
function deserialize_norsk_api_media_AudioTranscribeAzureEvent(buffer_arg) {
|
|
250
|
+
return media_pb.AudioTranscribeAzureEvent.fromBinary(new Uint8Array(buffer_arg));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
function serialize_norsk_api_media_AudioTranscribeAzureMessage(arg) {
|
|
254
|
+
if (!(arg instanceof media_pb.AudioTranscribeAzureMessage)) {
|
|
255
|
+
throw new Error('Expected argument of type norsk.api.media.AudioTranscribeAzureMessage');
|
|
256
|
+
}
|
|
257
|
+
return Buffer.from(arg.toBinary());
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
function deserialize_norsk_api_media_AudioTranscribeAzureMessage(buffer_arg) {
|
|
261
|
+
return media_pb.AudioTranscribeAzureMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
function serialize_norsk_api_media_AudioTranscribeWhisperEvent(arg) {
|
|
265
|
+
if (!(arg instanceof media_pb.AudioTranscribeWhisperEvent)) {
|
|
266
|
+
throw new Error('Expected argument of type norsk.api.media.AudioTranscribeWhisperEvent');
|
|
267
|
+
}
|
|
268
|
+
return Buffer.from(arg.toBinary());
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
function deserialize_norsk_api_media_AudioTranscribeWhisperEvent(buffer_arg) {
|
|
272
|
+
return media_pb.AudioTranscribeWhisperEvent.fromBinary(new Uint8Array(buffer_arg));
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
function serialize_norsk_api_media_AudioTranscribeWhisperMessage(arg) {
|
|
276
|
+
if (!(arg instanceof media_pb.AudioTranscribeWhisperMessage)) {
|
|
277
|
+
throw new Error('Expected argument of type norsk.api.media.AudioTranscribeWhisperMessage');
|
|
278
|
+
}
|
|
279
|
+
return Buffer.from(arg.toBinary());
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
function deserialize_norsk_api_media_AudioTranscribeWhisperMessage(buffer_arg) {
|
|
283
|
+
return media_pb.AudioTranscribeWhisperMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
284
|
+
}
|
|
285
|
+
|
|
241
286
|
function serialize_norsk_api_media_BlockingCallRef(arg) {
|
|
242
287
|
if (!(arg instanceof media_pb.BlockingCallRef)) {
|
|
243
288
|
throw new Error('Expected argument of type norsk.api.media.BlockingCallRef');
|
|
@@ -524,6 +569,17 @@ function deserialize_norsk_api_media_HlsTsCombinedPushMessage(buffer_arg) {
|
|
|
524
569
|
return media_pb.HlsTsCombinedPushMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
525
570
|
}
|
|
526
571
|
|
|
572
|
+
function serialize_norsk_api_media_HlsTsMultiVariantMessage(arg) {
|
|
573
|
+
if (!(arg instanceof media_pb.HlsTsMultiVariantMessage)) {
|
|
574
|
+
throw new Error('Expected argument of type norsk.api.media.HlsTsMultiVariantMessage');
|
|
575
|
+
}
|
|
576
|
+
return Buffer.from(arg.toBinary());
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
function deserialize_norsk_api_media_HlsTsMultiVariantMessage(buffer_arg) {
|
|
580
|
+
return media_pb.HlsTsMultiVariantMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
581
|
+
}
|
|
582
|
+
|
|
527
583
|
function serialize_norsk_api_media_HlsTsVideoMessage(arg) {
|
|
528
584
|
if (!(arg instanceof media_pb.HlsTsVideoMessage)) {
|
|
529
585
|
throw new Error('Expected argument of type norsk.api.media.HlsTsVideoMessage');
|
|
@@ -568,6 +624,17 @@ function deserialize_norsk_api_media_M3u8MediaInputMessage(buffer_arg) {
|
|
|
568
624
|
return media_pb.M3u8MediaInputMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
569
625
|
}
|
|
570
626
|
|
|
627
|
+
function serialize_norsk_api_media_MediaNodeId(arg) {
|
|
628
|
+
if (!(arg instanceof media_pb.MediaNodeId)) {
|
|
629
|
+
throw new Error('Expected argument of type norsk.api.media.MediaNodeId');
|
|
630
|
+
}
|
|
631
|
+
return Buffer.from(arg.toBinary());
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
function deserialize_norsk_api_media_MediaNodeId(buffer_arg) {
|
|
635
|
+
return media_pb.MediaNodeId.fromBinary(new Uint8Array(buffer_arg));
|
|
636
|
+
}
|
|
637
|
+
|
|
571
638
|
function serialize_norsk_api_media_NorskStatusEvent(arg) {
|
|
572
639
|
if (!(arg instanceof media_pb.NorskStatusEvent)) {
|
|
573
640
|
throw new Error('Expected argument of type norsk.api.media.NorskStatusEvent');
|
|
@@ -1526,6 +1593,34 @@ createTransformAudioTranscribeAws: {
|
|
|
1526
1593
|
responseSerialize: serialize_norsk_api_media_AudioTranscribeAwsEvent,
|
|
1527
1594
|
responseDeserialize: deserialize_norsk_api_media_AudioTranscribeAwsEvent,
|
|
1528
1595
|
},
|
|
1596
|
+
// *
|
|
1597
|
+
// Create a Media Node performing transcription into subtitles using the
|
|
1598
|
+
// Azure Speech service.
|
|
1599
|
+
createTransformAudioTranscribeAzure: {
|
|
1600
|
+
path: '/norsk.api.media.Media/CreateTransformAudioTranscribeAzure',
|
|
1601
|
+
requestStream: true,
|
|
1602
|
+
responseStream: true,
|
|
1603
|
+
requestType: media_pb.AudioTranscribeAzureMessage,
|
|
1604
|
+
responseType: media_pb.AudioTranscribeAzureEvent,
|
|
1605
|
+
requestSerialize: serialize_norsk_api_media_AudioTranscribeAzureMessage,
|
|
1606
|
+
requestDeserialize: deserialize_norsk_api_media_AudioTranscribeAzureMessage,
|
|
1607
|
+
responseSerialize: serialize_norsk_api_media_AudioTranscribeAzureEvent,
|
|
1608
|
+
responseDeserialize: deserialize_norsk_api_media_AudioTranscribeAzureEvent,
|
|
1609
|
+
},
|
|
1610
|
+
// *
|
|
1611
|
+
// Create a Media Node performing transcription into subtitles using the
|
|
1612
|
+
// Whisper speech recognition model.
|
|
1613
|
+
createTransformAudioTranscribeWhisper: {
|
|
1614
|
+
path: '/norsk.api.media.Media/CreateTransformAudioTranscribeWhisper',
|
|
1615
|
+
requestStream: true,
|
|
1616
|
+
responseStream: true,
|
|
1617
|
+
requestType: media_pb.AudioTranscribeWhisperMessage,
|
|
1618
|
+
responseType: media_pb.AudioTranscribeWhisperEvent,
|
|
1619
|
+
requestSerialize: serialize_norsk_api_media_AudioTranscribeWhisperMessage,
|
|
1620
|
+
requestDeserialize: deserialize_norsk_api_media_AudioTranscribeWhisperMessage,
|
|
1621
|
+
responseSerialize: serialize_norsk_api_media_AudioTranscribeWhisperEvent,
|
|
1622
|
+
responseDeserialize: deserialize_norsk_api_media_AudioTranscribeWhisperEvent,
|
|
1623
|
+
},
|
|
1529
1624
|
createOutputCmafVideo: {
|
|
1530
1625
|
path: '/norsk.api.media.Media/CreateOutputCmafVideo',
|
|
1531
1626
|
requestStream: true,
|
|
@@ -1603,6 +1698,17 @@ createTransformAudioTranscribeAws: {
|
|
|
1603
1698
|
responseSerialize: serialize_norsk_api_media_HlsOutputEvent,
|
|
1604
1699
|
responseDeserialize: deserialize_norsk_api_media_HlsOutputEvent,
|
|
1605
1700
|
},
|
|
1701
|
+
createOutputHlsTsMultiVariant: {
|
|
1702
|
+
path: '/norsk.api.media.Media/CreateOutputHlsTsMultiVariant',
|
|
1703
|
+
requestStream: true,
|
|
1704
|
+
responseStream: true,
|
|
1705
|
+
requestType: media_pb.HlsTsMultiVariantMessage,
|
|
1706
|
+
responseType: media_pb.HlsOutputEvent,
|
|
1707
|
+
requestSerialize: serialize_norsk_api_media_HlsTsMultiVariantMessage,
|
|
1708
|
+
requestDeserialize: deserialize_norsk_api_media_HlsTsMultiVariantMessage,
|
|
1709
|
+
responseSerialize: serialize_norsk_api_media_HlsOutputEvent,
|
|
1710
|
+
responseDeserialize: deserialize_norsk_api_media_HlsOutputEvent,
|
|
1711
|
+
},
|
|
1606
1712
|
// Connects and sends media to a remote server via WebRTC using the WHIP
|
|
1607
1713
|
// standard.
|
|
1608
1714
|
createOutputWhip: {
|
|
@@ -1809,9 +1915,11 @@ createTransformStreamSync: {
|
|
|
1809
1915
|
responseDeserialize: deserialize_norsk_api_media_StreamSyncEvent,
|
|
1810
1916
|
},
|
|
1811
1917
|
// *
|
|
1812
|
-
// Take multiple streams from a single program, and rebase their timestamps so
|
|
1813
|
-
// This can ensure that frames going into
|
|
1814
|
-
//
|
|
1918
|
+
// Take multiple streams from a single program, and rebase their timestamps so
|
|
1919
|
+
// that they are all aligned This can ensure that frames going into
|
|
1920
|
+
// streamswitch don't end up with gaps over a switch boundary Additionally,
|
|
1921
|
+
// merging multiple video streams in compose and multiple audio streams in
|
|
1922
|
+
// audio mix
|
|
1815
1923
|
createTransformStreamAlign: {
|
|
1816
1924
|
path: '/norsk.api.media.Media/CreateTransformStreamAlign',
|
|
1817
1925
|
requestStream: true,
|
|
@@ -1880,6 +1988,19 @@ createTransformAncillary: {
|
|
|
1880
1988
|
responseSerialize: serialize_norsk_api_media_AncillaryEvent,
|
|
1881
1989
|
responseDeserialize: deserialize_norsk_api_media_AncillaryEvent,
|
|
1882
1990
|
},
|
|
1991
|
+
// *
|
|
1992
|
+
// If it exists, instructs a node to shut down
|
|
1993
|
+
closeMediaNode: {
|
|
1994
|
+
path: '/norsk.api.media.Media/CloseMediaNode',
|
|
1995
|
+
requestStream: false,
|
|
1996
|
+
responseStream: false,
|
|
1997
|
+
requestType: media_pb.MediaNodeId,
|
|
1998
|
+
responseType: google_protobuf_empty_pb.Empty,
|
|
1999
|
+
requestSerialize: serialize_norsk_api_media_MediaNodeId,
|
|
2000
|
+
requestDeserialize: deserialize_norsk_api_media_MediaNodeId,
|
|
2001
|
+
responseSerialize: serialize_google_protobuf_Empty,
|
|
2002
|
+
responseDeserialize: deserialize_google_protobuf_Empty,
|
|
2003
|
+
},
|
|
1883
2004
|
// *
|
|
1884
2005
|
// Query information about the hardware Norsk is running on.
|
|
1885
2006
|
hardwareInfo: {
|