Skip to content

Commit

Permalink
Fixed iOS streal url fix (#1647)
Browse files Browse the repository at this point in the history
  • Loading branch information
Decoder07 authored Nov 30, 2023
1 parent 9935263 commit 6282b7b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ class HMSHLSVariantExtension {

dict["metadata"] = hmshlsVariant.metadata

dict["hls_stream_url"] = hmshlsVariant.url?.absoluteString
if let url = hmshlsVariant.url{
dict["hls_stream_url"] = url.absoluteString
}
else{
dict["hls_stream_url"] = nil
}

if let startedAt = hmshlsVariant.startedAt {
dict["started_at"] = "\(startedAt)"
Expand Down

0 comments on commit 6282b7b

Please sign in to comment.