Skip to content
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

Feat/add rtsp support #3677

Merged
merged 17 commits into from
Apr 16, 2024
Merged

Conversation

freeboub
Copy link
Collaborator

@freeboub freeboub commented Apr 15, 2024

Summary

  • add rtsp support

Motivation

will replace: #2824
implement rtsp feature support

⚠️ enabling rtsp support by default will add 149K to every apk as it will embed: media3-exoplayer-rtsp-1.1.1.aar by default. I can make it configurable as this is not a mandatory feature for existing apps

Changes

  • Add exoplayer-rtsp dependancy

Test plan

  • sample url added in sample app

olivier bouillet and others added 16 commits August 21, 2022 15:56
…native-video into feat/add_rtsp_support

# Conflicts:
#	Video.js
#	android/build.gradle
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.java
#	examples/basic/android/gradle.properties
#	examples/basic/yarn.lock
…native-video into feat/add_rtsp_support

# Conflicts:
#	API.md
#	Video.js
#	android/build.gradle
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
#	examples/basic/android/build.gradle
#	examples/basic/package.json
#	examples/basic/src/VideoPlayer.android.tsx
#	examples/basic/yarn.lock
Copy link
Collaborator

@KrzysztofMoch KrzysztofMoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🙌

I can make it configurable as this is not a mandatory feature for existing apps

I think we can do functionality to disable each of those dependencies to allow fully optimize size of app, WDYT ?

@freeboub
Copy link
Collaborator Author

LGTM 🙌

I can make it configurable as this is not a mandatory feature for existing apps

I think we can do functionality to disable each of those dependencies to allow fully optimize size of app, WDYT ?

Yes, I agree, but maybe instead of being forced to enable each feature, we can allow to disable some feature.
I think it can be done in a second step, I can open a ticket for follow up
For information:

  • media3-exoplayer-1.1.1.aar(mandatory size): 1,2M
    following feature can be enable or disabled
  • media3-exoplayer-dash-1.1.1.aar: 132K
  • media3-exoplayer-hls-1.1.1.aar: 158K
  • media3-exoplayer-ima-1.1.1.aar: 109K (ads insertion, disabled by default)
  • media3-exoplayer-rtsp-1.1.1.aar: 149K
  • media3-exoplayer-smoothstreaming-1.1.1.aar: 47K

@KrzysztofMoch
Copy link
Collaborator

Yes! This is what I had in mind - I can take care of it
And lets merge this as it is - we will make this in separate PR

@freeboub freeboub merged commit 2285eba into TheWidlarzGroup:master Apr 16, 2024
5 checks passed
This was referenced Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants