Video Sending Redesign

This commit is contained in:
Nicholas Tinsley
2024-03-01 13:15:08 -05:00
committed by Alex Hart
parent 276e253fdf
commit c53abe0941
65 changed files with 1830 additions and 1621 deletions

View File

@@ -20,5 +20,9 @@ class FileMediaInput(private val file: File) : MediaInput {
return extractor
}
override fun hasSameInput(other: MediaInput): Boolean {
return other is FileMediaInput && other.file == this.file
}
override fun close() {}
}

View File

@@ -21,5 +21,9 @@ class UriMediaInput(private val context: Context, private val uri: Uri) : MediaI
return extractor
}
override fun close() {}
override fun hasSameInput(other: MediaInput): Boolean {
return other is UriMediaInput && other.uri == this.uri
}
override fun close() = Unit
}