Implement streaming on the Android side. After starting the SRS service, the first time it plays the stream first, then pushes the stream, it still shows a black screen. After that, everything is normal. #3165
Using WebRTC for streaming, using SRS service on Windows 10, and using SRS service's built-in WebRTC player for streaming. The streaming is initiated from an Android device.
Every time the SRS service is started, only the first time, the player starts streaming, then the Android device starts streaming. At this point, the player still shows a black screen with no video. Clicking on the player again allows the video to be displayed normally. If streaming is done once before, there is no issue with streaming after pulling the stream.
There is no such issue when using WebRTC for streaming, so I suspect that something is missing in my Android streaming setup.
Description
SRS Version:
SRS/5.0.19
SRS Log:
Replay (重现)
**1.
Play video using web
Stream using Android device
Web still shows black screen (should display video normally)
Click play on web again, video plays normally
**Expect (Expected Behavior)
TRANS_BY_GPT3