@@ -528,8 +528,17 @@ export interface SimulcastTarget {
528
528
status : 'idle' | 'starting' | 'broadcasting' | 'errored' ;
529
529
530
530
/**
531
- * RTMP hostname including the application name for the third party live streaming
532
- * service.
531
+ * The RTMP(s) or SRT endpoint for a simulcast destination.
532
+ *
533
+ * - For RTMP(s) destinations, this should include the application name for the
534
+ * third party live streaming service, for example:
535
+ * `rtmp://live.example.com/app`.
536
+ * - For SRT destinations, this should be a fully formed SRT connection string, for
537
+ * example:
538
+ * `srt://srt-live.example.com:1234?streamid={stream_key}&passphrase={srt_passphrase}`.
539
+ *
540
+ * Note: SRT simulcast targets can only be used when an source is connected over
541
+ * SRT.
533
542
*/
534
543
url : string ;
535
544
@@ -554,8 +563,9 @@ export interface SimulcastTarget {
554
563
passthrough ?: string ;
555
564
556
565
/**
557
- * Stream Key represents an stream identifier for the third party live streaming
558
- * service to simulcast the parent live stream too.
566
+ * Stream Key represents a stream identifier on the third party live streaming
567
+ * service to send the parent live stream to. Only used for RTMP(s) simulcast
568
+ * destinations.
559
569
*/
560
570
stream_key ?: string ;
561
571
}
@@ -723,8 +733,17 @@ export namespace LiveStreamCreateParams {
723
733
724
734
export interface SimulcastTarget {
725
735
/**
726
- * RTMP hostname including application name for the third party live streaming
727
- * service. Example: `rtmp://live.example.com/app`.
736
+ * The RTMP(s) or SRT endpoint for a simulcast destination.
737
+ *
738
+ * - For RTMP(s) destinations, this should include the application name for the
739
+ * third party live streaming service, for example:
740
+ * `rtmp://live.example.com/app`.
741
+ * - For SRT destinations, this should be a fully formed SRT connection string, for
742
+ * example:
743
+ * `srt://srt-live.example.com:1234?streamid={stream_key}&passphrase={srt_passphrase}`.
744
+ *
745
+ * Note: SRT simulcast targets can only be used when an source is connected over
746
+ * SRT.
728
747
*/
729
748
url : string ;
730
749
@@ -735,7 +754,8 @@ export namespace LiveStreamCreateParams {
735
754
736
755
/**
737
756
* Stream Key represents a stream identifier on the third party live streaming
738
- * service to send the parent live stream to.
757
+ * service to send the parent live stream to. Only used for RTMP(s) simulcast
758
+ * destinations.
739
759
*/
740
760
stream_key ?: string ;
741
761
}
@@ -825,8 +845,17 @@ export interface LiveStreamCreatePlaybackIDParams {
825
845
826
846
export interface LiveStreamCreateSimulcastTargetParams {
827
847
/**
828
- * RTMP hostname including application name for the third party live streaming
829
- * service. Example: `rtmp://live.example.com/app`.
848
+ * The RTMP(s) or SRT endpoint for a simulcast destination.
849
+ *
850
+ * - For RTMP(s) destinations, this should include the application name for the
851
+ * third party live streaming service, for example:
852
+ * `rtmp://live.example.com/app`.
853
+ * - For SRT destinations, this should be a fully formed SRT connection string, for
854
+ * example:
855
+ * `srt://srt-live.example.com:1234?streamid={stream_key}&passphrase={srt_passphrase}`.
856
+ *
857
+ * Note: SRT simulcast targets can only be used when an source is connected over
858
+ * SRT.
830
859
*/
831
860
url : string ;
832
861
@@ -837,7 +866,8 @@ export interface LiveStreamCreateSimulcastTargetParams {
837
866
838
867
/**
839
868
* Stream Key represents a stream identifier on the third party live streaming
840
- * service to send the parent live stream to.
869
+ * service to send the parent live stream to. Only used for RTMP(s) simulcast
870
+ * destinations.
841
871
*/
842
872
stream_key ?: string ;
843
873
}
0 commit comments