Comments (10)
2023-11-25 02:13:19.373 7436-7480 CCodec io.github.thibaultbee.srtplayer D setup formats output: AMessage(what = 0x00000000) = {
int32_t android._color-format = 2135033992
int32_t android._video-scaling = 1
int32_t rotation-degrees = 0
int32_t color-standard = 1
int32_t color-range = 2
int32_t color-transfer = 3
int32_t sar-height = 1
int32_t sar-width = 1
Rect crop(0, 0, 1279, 719)
int32_t width = 1280
int32_t height = 720
int32_t max-height = 720
int32_t max-width = 1280
string mime = "video/raw"
int32_t android._dataspace = 260
int32_t color-format = 2130708361
}
And the screen show black screen
from srtplayer.
It working fine when I testing with ffplay
from srtplayer.
I already test with older commit and increase the latenc, but the player show only black screen.
from srtplayer.
is it correct to set like this?
val url = "srt://live.cloudflare.com:778";
val passphrase = ""
var mediaId = "";
val mediaItem = MediaItem.Builder()
.setMediaId(mediaId)
.setUri(url)
/**
* From SRT socket option: "The password must be minimum 10 and maximum
* 79 characters long."
*/
.setCustomCacheKey(passphrase)
.build()
from srtplayer.
Hello there,
Your URL looks like a contribution URL (from camera to server) and not a delivery (from server to player). It would be weird that Cloudflare uses SRT for delivery. If it is a contribution URL, it don't understand what you are trying to achieve. Contact cloudflare support.
I suppose setMediaId
is your streamid
.
See
Line 35 in 73aa675
Finally, you should keep your id and passphrase secret.
from srtplayer.
"srt": {
"url": "srt://live.cloudflare.com:778",
"streamId": "...",
"passphrase": "..."
},
"srtPlayback": {
"url": "srt://live.cloudflare.com:778",
"streamId": "...",
"passphrase": "..."
},
This is the response from cloudflare, and I want to playback with srtplayback, is it possible? I use ffmpeg to test and it working.
from srtplayer.
As I said, see
Line 35 in 73aa675
val url = "srt://live.cloudflare.com:778?streamid=mystream";
val passphrase = "mypassphrase"
val mediaItem = MediaItem.Builder()
.setUri(url)
/**
* From SRT socket option: "The password must be minimum 10 and maximum
* 79 characters long."
*/
.setCustomCacheKey(passphrase)
.build()
I think this should be okay.
from srtplayer.
Nice. You did connect.
The stream has been decoded.
I am sorry, I don't want to spend much time on the maintenance. Here are a few things that could help you:
- Could you try to test with an older commit?
- Could you try to increase latency?
from srtplayer.
Yes Same problem, FFplay is playing but This media player is not
from srtplayer.
Hi,
Did you fix the issue? If yes, how?
from srtplayer.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from srtplayer.