-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose egress, rename broadcasting to HLS (#462)
* Expose egress, rename broadcasting to HLS * fix tutorial * test + model fixes --------- Co-authored-by: kanat <> Co-authored-by: Deven Joshi <[email protected]>
- Loading branch information
Showing
14 changed files
with
135 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
import 'package:equatable/equatable.dart'; | ||
|
||
class CallEgress with EquatableMixin { | ||
const CallEgress({ | ||
this.hlsPlaylistUrl, | ||
this.rtmps = const [], | ||
}); | ||
|
||
final String? hlsPlaylistUrl; | ||
final List<CallEgressRtmp> rtmps; | ||
|
||
@override | ||
bool? get stringify => true; | ||
|
||
@override | ||
List<Object?> get props => [hlsPlaylistUrl]; | ||
|
||
/// Returns a copy of this [CallEgress] with the given fields | ||
/// replaced with the new values. | ||
CallEgress copyWith({ | ||
String? hlsPlaylistUrl, | ||
List<CallEgressRtmp>? rtmps, | ||
}) { | ||
return CallEgress( | ||
hlsPlaylistUrl: hlsPlaylistUrl ?? this.hlsPlaylistUrl, | ||
rtmps: rtmps ?? this.rtmps, | ||
); | ||
} | ||
} | ||
|
||
class CallEgressRtmp { | ||
const CallEgressRtmp({ | ||
required this.name, | ||
required this.streamKey, | ||
required this.url, | ||
}); | ||
|
||
final String name; | ||
|
||
final String streamKey; | ||
|
||
final String url; | ||
|
||
/// Returns a copy of this [CallEgressRtmp] with the given fields | ||
/// replaced with the new values. | ||
CallEgressRtmp copyWith({ | ||
String? name, | ||
String? streamKey, | ||
String? url, | ||
}) { | ||
return CallEgressRtmp( | ||
name: name ?? this.name, | ||
streamKey: streamKey ?? this.streamKey, | ||
url: url ?? this.url, | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.