|
@@ -1307,8 +1307,13 @@ namespace WingDeviceService.Service
|
|
|
return new JoinDeviceLiveRoomResult
|
|
|
{
|
|
|
RoomNo = liveRoom.RtcRoomId,
|
|
|
- //RtmpUrl = deviceMemberInfo.LiveData.RtmpPullUrl,
|
|
|
ReportStateIntervalSeconds = _reportStateIntervalSeconds,
|
|
|
+ VideoDeviceInfos = deviceMemberInfo.VideoDeviceInfos?.Select(x => new VideoDeviceInfoDTO
|
|
|
+ {
|
|
|
+ VideoDeviceId = x.VideoDeviceId,
|
|
|
+ VideoDeviceSourceType = x.VideoDeviceSourceType,
|
|
|
+ LiveData = x.LiveData
|
|
|
+ })?.ToList() ?? new List<VideoDeviceInfoDTO>(),
|
|
|
};
|
|
|
}
|
|
|
}
|
|
@@ -1353,8 +1358,13 @@ namespace WingDeviceService.Service
|
|
|
return new JoinDeviceLiveRoomResult
|
|
|
{
|
|
|
RoomNo = initiateResult.RtcRoomId,
|
|
|
- //RtmpUrl = deviceMemberInfo.LiveData.RtmpPullUrl,
|
|
|
ReportStateIntervalSeconds = _reportStateIntervalSeconds,
|
|
|
+ VideoDeviceInfos = deviceMemberInfo.VideoDeviceInfos?.Select(x => new VideoDeviceInfoDTO
|
|
|
+ {
|
|
|
+ VideoDeviceId = x.VideoDeviceId,
|
|
|
+ VideoDeviceSourceType = x.VideoDeviceSourceType,
|
|
|
+ LiveData = x.LiveData
|
|
|
+ })?.ToList() ?? new List<VideoDeviceInfoDTO>(),
|
|
|
};
|
|
|
}
|
|
|
|