@norskvideo/norsk-api 1.0.346 → 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/media_grpc_pb.d.ts +65 -0
- package/lib/media_grpc_pb.js +123 -3
- package/lib/media_pb.d.ts +357 -19
- package/lib/media_pb.js +342 -16
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +554 -23
- package/package.json +1 -1
package/lib/media_grpc_pb.d.ts
CHANGED
|
@@ -39,6 +39,8 @@ interface IMediaService extends grpc.ServiceDefinition<grpc.UntypedServiceImplem
|
|
|
39
39
|
createTransformAudioBuildMultichannel: IMediaService_ICreateTransformAudioBuildMultichannel;
|
|
40
40
|
createTransformAudioSplitMultichannel: IMediaService_ICreateTransformAudioSplitMultichannel;
|
|
41
41
|
createTransformAudioTranscribeAws: IMediaService_ICreateTransformAudioTranscribeAws;
|
|
42
|
+
createTransformAudioTranscribeAzure: IMediaService_ICreateTransformAudioTranscribeAzure;
|
|
43
|
+
createTransformAudioTranscribeWhisper: IMediaService_ICreateTransformAudioTranscribeWhisper;
|
|
42
44
|
createOutputCmafVideo: IMediaService_ICreateOutputCmafVideo;
|
|
43
45
|
createOutputHlsTsVideo: IMediaService_ICreateOutputHlsTsVideo;
|
|
44
46
|
createOutputCmafAudio: IMediaService_ICreateOutputCmafAudio;
|
|
@@ -46,6 +48,7 @@ interface IMediaService extends grpc.ServiceDefinition<grpc.UntypedServiceImplem
|
|
|
46
48
|
createOutputCmafWebVtt: IMediaService_ICreateOutputCmafWebVtt;
|
|
47
49
|
createOutputHlsTsCombinedPush: IMediaService_ICreateOutputHlsTsCombinedPush;
|
|
48
50
|
createOutputCmafMultiVariant: IMediaService_ICreateOutputCmafMultiVariant;
|
|
51
|
+
createOutputHlsTsMultiVariant: IMediaService_ICreateOutputHlsTsMultiVariant;
|
|
49
52
|
createOutputWhip: IMediaService_ICreateOutputWhip;
|
|
50
53
|
createOutputWhep: IMediaService_ICreateOutputWhep;
|
|
51
54
|
createOutputUdpTs: IMediaService_ICreateOutputUdpTs;
|
|
@@ -65,6 +68,7 @@ interface IMediaService extends grpc.ServiceDefinition<grpc.UntypedServiceImplem
|
|
|
65
68
|
createControlAudioMeasureLevels: IMediaService_ICreateControlAudioMeasureLevels;
|
|
66
69
|
createDebugStreamTimestampReport: IMediaService_ICreateDebugStreamTimestampReport;
|
|
67
70
|
createTransformAncillary: IMediaService_ICreateTransformAncillary;
|
|
71
|
+
closeMediaNode: IMediaService_ICloseMediaNode;
|
|
68
72
|
hardwareInfo: IMediaService_IHardwareInfo;
|
|
69
73
|
enumDeckLinkDisplayModes: IMediaService_IEnumDeckLinkDisplayModes;
|
|
70
74
|
unblockCall: IMediaService_IUnblockCall;
|
|
@@ -314,6 +318,24 @@ interface IMediaService_ICreateTransformAudioTranscribeAws extends grpc.MethodDe
|
|
|
314
318
|
responseSerialize: grpc.serialize<media_pb.AudioTranscribeAwsEvent>;
|
|
315
319
|
responseDeserialize: grpc.deserialize<media_pb.AudioTranscribeAwsEvent>;
|
|
316
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
|
+
}
|
|
317
339
|
interface IMediaService_ICreateOutputCmafVideo extends grpc.MethodDefinition<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent> {
|
|
318
340
|
path: "/norsk.api.media.Media/CreateOutputCmafVideo";
|
|
319
341
|
requestStream: true;
|
|
@@ -377,6 +399,15 @@ interface IMediaService_ICreateOutputCmafMultiVariant extends grpc.MethodDefinit
|
|
|
377
399
|
responseSerialize: grpc.serialize<media_pb.HlsOutputEvent>;
|
|
378
400
|
responseDeserialize: grpc.deserialize<media_pb.HlsOutputEvent>;
|
|
379
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
|
+
}
|
|
380
411
|
interface IMediaService_ICreateOutputWhip extends grpc.MethodDefinition<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent> {
|
|
381
412
|
path: "/norsk.api.media.Media/CreateOutputWhip";
|
|
382
413
|
requestStream: true;
|
|
@@ -548,6 +579,15 @@ interface IMediaService_ICreateTransformAncillary extends grpc.MethodDefinition<
|
|
|
548
579
|
responseSerialize: grpc.serialize<media_pb.AncillaryEvent>;
|
|
549
580
|
responseDeserialize: grpc.deserialize<media_pb.AncillaryEvent>;
|
|
550
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
|
+
}
|
|
551
591
|
interface IMediaService_IHardwareInfo extends grpc.MethodDefinition<google_protobuf_empty_pb.Empty, media_pb.Hardware> {
|
|
552
592
|
path: "/norsk.api.media.Media/HardwareInfo";
|
|
553
593
|
requestStream: false;
|
|
@@ -615,6 +655,8 @@ export interface IMediaServer extends grpc.UntypedServiceImplementation {
|
|
|
615
655
|
createTransformAudioBuildMultichannel: grpc.handleBidiStreamingCall<media_pb.AudioBuildMultichannelMessage, media_pb.AudioBuildMultichannelEvent>;
|
|
616
656
|
createTransformAudioSplitMultichannel: grpc.handleBidiStreamingCall<media_pb.AudioSplitMultichannelMessage, media_pb.AudioSplitMultichannelEvent>;
|
|
617
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>;
|
|
618
660
|
createOutputCmafVideo: grpc.handleBidiStreamingCall<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
619
661
|
createOutputHlsTsVideo: grpc.handleBidiStreamingCall<media_pb.HlsTsVideoMessage, media_pb.HlsOutputEvent>;
|
|
620
662
|
createOutputCmafAudio: grpc.handleBidiStreamingCall<media_pb.CmafAudioMessage, media_pb.HlsOutputEvent>;
|
|
@@ -622,6 +664,7 @@ export interface IMediaServer extends grpc.UntypedServiceImplementation {
|
|
|
622
664
|
createOutputCmafWebVtt: grpc.handleBidiStreamingCall<media_pb.CmafWebVttMessage, media_pb.HlsOutputEvent>;
|
|
623
665
|
createOutputHlsTsCombinedPush: grpc.handleBidiStreamingCall<media_pb.HlsTsCombinedPushMessage, media_pb.HlsOutputEvent>;
|
|
624
666
|
createOutputCmafMultiVariant: grpc.handleBidiStreamingCall<media_pb.CmafMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
667
|
+
createOutputHlsTsMultiVariant: grpc.handleBidiStreamingCall<media_pb.HlsTsMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
625
668
|
createOutputWhip: grpc.handleBidiStreamingCall<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
626
669
|
createOutputWhep: grpc.handleBidiStreamingCall<media_pb.WhepOutputMessage, media_pb.WhepOutputEvent>;
|
|
627
670
|
createOutputUdpTs: grpc.handleBidiStreamingCall<media_pb.UdpTsOutputMessage, media_pb.UdpTsOutputEvent>;
|
|
@@ -641,6 +684,7 @@ export interface IMediaServer extends grpc.UntypedServiceImplementation {
|
|
|
641
684
|
createControlAudioMeasureLevels: grpc.handleBidiStreamingCall<media_pb.AudioMeasureLevelsMessage, media_pb.AudioMeasureLevelsEvent>;
|
|
642
685
|
createDebugStreamTimestampReport: grpc.handleBidiStreamingCall<media_pb.StreamTimestampReportMessage, media_pb.StreamTimestampReportEvent>;
|
|
643
686
|
createTransformAncillary: grpc.handleBidiStreamingCall<media_pb.AncillaryMessage, media_pb.AncillaryEvent>;
|
|
687
|
+
closeMediaNode: grpc.handleUnaryCall<media_pb.MediaNodeId, google_protobuf_empty_pb.Empty>;
|
|
644
688
|
hardwareInfo: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, media_pb.Hardware>;
|
|
645
689
|
enumDeckLinkDisplayModes: grpc.handleUnaryCall<media_pb.DeckLinkCardIndex, media_pb.DeckLinkDisplayModes>;
|
|
646
690
|
unblockCall: grpc.handleUnaryCall<media_pb.BlockingCallRef, google_protobuf_empty_pb.Empty>;
|
|
@@ -725,6 +769,12 @@ export interface IMediaClient {
|
|
|
725
769
|
createTransformAudioTranscribeAws(): grpc.ClientDuplexStream<media_pb.AudioTranscribeAwsMessage, media_pb.AudioTranscribeAwsEvent>;
|
|
726
770
|
createTransformAudioTranscribeAws(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeAwsMessage, media_pb.AudioTranscribeAwsEvent>;
|
|
727
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>;
|
|
728
778
|
createOutputCmafVideo(): grpc.ClientDuplexStream<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
729
779
|
createOutputCmafVideo(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
730
780
|
createOutputCmafVideo(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
@@ -746,6 +796,9 @@ export interface IMediaClient {
|
|
|
746
796
|
createOutputCmafMultiVariant(): grpc.ClientDuplexStream<media_pb.CmafMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
747
797
|
createOutputCmafMultiVariant(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
748
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>;
|
|
749
802
|
createOutputWhip(): grpc.ClientDuplexStream<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
750
803
|
createOutputWhip(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
751
804
|
createOutputWhip(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
@@ -803,6 +856,9 @@ export interface IMediaClient {
|
|
|
803
856
|
createTransformAncillary(): grpc.ClientDuplexStream<media_pb.AncillaryMessage, media_pb.AncillaryEvent>;
|
|
804
857
|
createTransformAncillary(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AncillaryMessage, media_pb.AncillaryEvent>;
|
|
805
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;
|
|
806
862
|
hardwareInfo(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: media_pb.Hardware) => void): grpc.ClientUnaryCall;
|
|
807
863
|
hardwareInfo(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: media_pb.Hardware) => void): grpc.ClientUnaryCall;
|
|
808
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;
|
|
@@ -873,6 +929,10 @@ export class MediaClient extends grpc.Client implements IMediaClient {
|
|
|
873
929
|
public createTransformAudioSplitMultichannel(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioSplitMultichannelMessage, media_pb.AudioSplitMultichannelEvent>;
|
|
874
930
|
public createTransformAudioTranscribeAws(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AudioTranscribeAwsMessage, media_pb.AudioTranscribeAwsEvent>;
|
|
875
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>;
|
|
876
936
|
public createOutputCmafVideo(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
877
937
|
public createOutputCmafVideo(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafVideoMessage, media_pb.HlsOutputEvent>;
|
|
878
938
|
public createOutputHlsTsVideo(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.HlsTsVideoMessage, media_pb.HlsOutputEvent>;
|
|
@@ -887,6 +947,8 @@ export class MediaClient extends grpc.Client implements IMediaClient {
|
|
|
887
947
|
public createOutputHlsTsCombinedPush(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.HlsTsCombinedPushMessage, media_pb.HlsOutputEvent>;
|
|
888
948
|
public createOutputCmafMultiVariant(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.CmafMultiVariantMessage, media_pb.HlsOutputEvent>;
|
|
889
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>;
|
|
890
952
|
public createOutputWhip(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
891
953
|
public createOutputWhip(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WhipOutputMessage, media_pb.WhipOutputEvent>;
|
|
892
954
|
public createOutputWhep(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WhepOutputMessage, media_pb.WhepOutputEvent>;
|
|
@@ -925,6 +987,9 @@ export class MediaClient extends grpc.Client implements IMediaClient {
|
|
|
925
987
|
public createDebugStreamTimestampReport(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.StreamTimestampReportMessage, media_pb.StreamTimestampReportEvent>;
|
|
926
988
|
public createTransformAncillary(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.AncillaryMessage, media_pb.AncillaryEvent>;
|
|
927
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;
|
|
928
993
|
public hardwareInfo(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: media_pb.Hardware) => void): grpc.ClientUnaryCall;
|
|
929
994
|
public hardwareInfo(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: media_pb.Hardware) => void): grpc.ClientUnaryCall;
|
|
930
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
|
@@ -239,6 +239,50 @@ function deserialize_norsk_api_media_AudioTranscribeAwsMessage(buffer_arg) {
|
|
|
239
239
|
return media_pb.AudioTranscribeAwsMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
240
240
|
}
|
|
241
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
|
+
|
|
242
286
|
function serialize_norsk_api_media_BlockingCallRef(arg) {
|
|
243
287
|
if (!(arg instanceof media_pb.BlockingCallRef)) {
|
|
244
288
|
throw new Error('Expected argument of type norsk.api.media.BlockingCallRef');
|
|
@@ -525,6 +569,17 @@ function deserialize_norsk_api_media_HlsTsCombinedPushMessage(buffer_arg) {
|
|
|
525
569
|
return media_pb.HlsTsCombinedPushMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
526
570
|
}
|
|
527
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
|
+
|
|
528
583
|
function serialize_norsk_api_media_HlsTsVideoMessage(arg) {
|
|
529
584
|
if (!(arg instanceof media_pb.HlsTsVideoMessage)) {
|
|
530
585
|
throw new Error('Expected argument of type norsk.api.media.HlsTsVideoMessage');
|
|
@@ -569,6 +624,17 @@ function deserialize_norsk_api_media_M3u8MediaInputMessage(buffer_arg) {
|
|
|
569
624
|
return media_pb.M3u8MediaInputMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
570
625
|
}
|
|
571
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
|
+
|
|
572
638
|
function serialize_norsk_api_media_NorskStatusEvent(arg) {
|
|
573
639
|
if (!(arg instanceof media_pb.NorskStatusEvent)) {
|
|
574
640
|
throw new Error('Expected argument of type norsk.api.media.NorskStatusEvent');
|
|
@@ -1527,6 +1593,34 @@ createTransformAudioTranscribeAws: {
|
|
|
1527
1593
|
responseSerialize: serialize_norsk_api_media_AudioTranscribeAwsEvent,
|
|
1528
1594
|
responseDeserialize: deserialize_norsk_api_media_AudioTranscribeAwsEvent,
|
|
1529
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
|
+
},
|
|
1530
1624
|
createOutputCmafVideo: {
|
|
1531
1625
|
path: '/norsk.api.media.Media/CreateOutputCmafVideo',
|
|
1532
1626
|
requestStream: true,
|
|
@@ -1604,6 +1698,17 @@ createTransformAudioTranscribeAws: {
|
|
|
1604
1698
|
responseSerialize: serialize_norsk_api_media_HlsOutputEvent,
|
|
1605
1699
|
responseDeserialize: deserialize_norsk_api_media_HlsOutputEvent,
|
|
1606
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
|
+
},
|
|
1607
1712
|
// Connects and sends media to a remote server via WebRTC using the WHIP
|
|
1608
1713
|
// standard.
|
|
1609
1714
|
createOutputWhip: {
|
|
@@ -1810,9 +1915,11 @@ createTransformStreamSync: {
|
|
|
1810
1915
|
responseDeserialize: deserialize_norsk_api_media_StreamSyncEvent,
|
|
1811
1916
|
},
|
|
1812
1917
|
// *
|
|
1813
|
-
// Take multiple streams from a single program, and rebase their timestamps so
|
|
1814
|
-
// This can ensure that frames going into
|
|
1815
|
-
//
|
|
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
|
|
1816
1923
|
createTransformStreamAlign: {
|
|
1817
1924
|
path: '/norsk.api.media.Media/CreateTransformStreamAlign',
|
|
1818
1925
|
requestStream: true,
|
|
@@ -1881,6 +1988,19 @@ createTransformAncillary: {
|
|
|
1881
1988
|
responseSerialize: serialize_norsk_api_media_AncillaryEvent,
|
|
1882
1989
|
responseDeserialize: deserialize_norsk_api_media_AncillaryEvent,
|
|
1883
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
|
+
},
|
|
1884
2004
|
// *
|
|
1885
2005
|
// Query information about the hardware Norsk is running on.
|
|
1886
2006
|
hardwareInfo: {
|