-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[android] Support KEY_MAX_INPUT_SIZE configurable from the webapp #1663
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1663 +/- ##
==========================================
- Coverage 58.52% 58.49% -0.03%
==========================================
Files 1902 1900 -2
Lines 94536 94225 -311
==========================================
- Hits 55326 55118 -208
+ Misses 39210 39107 -103 ☔ View full report in Codecov by Sentry. |
db55c25
to
26a723f
Compare
starboard/android/apk/app/src/main/java/dev/cobalt/media/MediaCodecBridge.java
Outdated
Show resolved
Hide resolved
9aed0f1
to
9fcbe93
Compare
1969a78
to
a774843
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, the change looks good to me. But as I don't know the context of the bug, I'll let Xiaoming to do the final approval.
starboard/android/apk/app/src/main/java/dev/cobalt/media/MediaCodecBridge.java
Outdated
Show resolved
Hide resolved
769980f
to
4f51f63
Compare
0399825
to
103a31c
Compare
92bd390
to
0e6d2e7
Compare
026fd11
to
a7392f3
Compare
27a4160
to
cfcb610
Compare
1. Add HTMLVideoElement.setMaxVideoInputSize(max_video_input_size) to allow the web app to explicitly set the maximum size in bytes of a buffer of data for video described by android MediaFormat. 2. If the setting value is 0, it uses the default value. 3. This uses the SbThreadLocal to store max_video_input_size, which allows each player to acquire its input size from webapp. 4. This implementation includes setting max_video_input_size per player, i.e., each player can configure its max_video_input_size. b/176923480
) 1. Add HTMLVideoElement.setMaxVideoInputSize(max_video_input_size) to allow the web app to explicitly set the maximum size in bytes of a buffer of data for video described by android MediaFormat. 2. If the setting value is 0, it uses the default value. 3. This uses the SbThreadLocal to store max_video_input_size, which allows each player to acquire its input size from webapp. 4. This implementation includes setting max_video_input_size per player, i.e., each player can configure its max_video_input_size. b/176923480 (cherry picked from commit c39f97a)
…utube#1663) 1. Add HTMLVideoElement.setMaxVideoInputSize(max_video_input_size) to allow the web app to explicitly set the maximum size in bytes of a buffer of data for video described by android MediaFormat. 2. If the setting value is 0, it uses the default value. 3. This uses the SbThreadLocal to store max_video_input_size, which allows each player to acquire its input size from webapp. 4. This implementation includes setting max_video_input_size per player, i.e., each player can configure its max_video_input_size. b/176923480 (cherry picked from commit c39f97a)
) 1. Add HTMLVideoElement.setMaxVideoInputSize(max_video_input_size) to allow the web app to explicitly set the maximum size in bytes of a buffer of data for video described by android MediaFormat. 2. If the setting value is 0, it uses the default value. 3. This uses the SbThreadLocal to store max_video_input_size, which allows each player to acquire its input size from webapp. 4. This implementation includes setting max_video_input_size per player, i.e., each player can configure its max_video_input_size. b/176923480 (cherry picked from commit c39f97a)
…le from the webapp (#2314) Refer to the original PR: #1663 1. Add HTMLVideoElement.setMaxVideoInputSize(max_video_input_size) to allow the web app to explicitly set the maximum size in bytes of a buffer of data for video described by android MediaFormat. 2. If the setting value is 0, it uses the default value. 3. This uses the SbThreadLocal to store max_video_input_size, which allows each player to acquire its input size from webapp. 4. This implementation includes setting max_video_input_size per player, i.e., each player can configure its max_video_input_size. b/176923480 Co-authored-by: Bo-Rong Chen <[email protected]>
…utube#1663) 1. Add HTMLVideoElement.setMaxVideoInputSize(max_video_input_size) to allow the web app to explicitly set the maximum size in bytes of a buffer of data for video described by android MediaFormat. 2. If the setting value is 0, it uses the default value. 3. This uses the SbThreadLocal to store max_video_input_size, which allows each player to acquire its input size from webapp. 4. This implementation includes setting max_video_input_size per player, i.e., each player can configure its max_video_input_size. b/176923480
b/176923480