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

[Bug]: It's not working with rtmp server #69

Open
1 of 2 tasks
roongzee opened this issue Sep 15, 2024 · 2 comments
Open
1 of 2 tasks

[Bug]: It's not working with rtmp server #69

roongzee opened this issue Sep 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@roongzee
Copy link

Version

v1.2.0

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

s23+

Is it reproducible in the example application?

Yes

RTMP Server

rtmp://172.22.65.35:1935/live/

Reproduction steps

run with example/main.dart
start broadcasting with my nginx.rtmp server

Expected result

working well

Actual result

The camera stops at the first screen

Additional context

It broadcasts well with api.video url.
When I broadcast the nginx.rtmp server in OBS, it broadcasts well and I can watch it in VLC.

Relevant logs output

W/qdgralloc(  477): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0
I/estream.example(  477): EglImage dataspace changed, need recreate
W/qdgralloc(  477): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0
I/estream.example(  477): EglImage dataspace changed, need recreate
W/qdgralloc(  477): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0
I/estream.example(  477): EglImage dataspace changed, need recreate
W/qdgralloc(  477): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0
I/estream.example(  477): EglImage dataspace changed, need recreate
W/qdgralloc(  477): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0
I/estream.example(  477): EglImage dataspace changed, need recreate
W/qdgralloc(  477): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0
I/estream.example(  477): EglImage dataspace changed, need recreate
W/qdgralloc(  477): getInterlacedFlag: getMetaData returned 3, defaulting to interlaced_flag = 0
I/ViewRootImpl@67175be[MainActivity](  477): ViewPostIme pointer 0
I/ViewRootImpl@67175be[MainActivity](  477): ViewPostIme pointer 1
D/InputTransport(  477): Input channel destroyed: 'ClientS', fd=177
D/InputTransport(  477): Input channel destroyed: 'ClientS', fd=166
D/InputTransport(  477): Input channel destroyed: 'ClientS', fd=168
W/estream.example(  477): ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~J_9V_I9JFL6SwDtGrvWa0A==/com.samsung.android.samsungpass-2PI6TA79iEXJnqxQdPLAtA==/base.apk' with 1 weak references
W/estream.example(  477): ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~hPviBO0iBcgvNzCeDgg3uw==/com.samsung.android.app.interpreter-6Tit-49Vg9R6Uul8q6Zpsg==/base.apk' with 1 weak references
W/System  (  477): A resource failed to call Surface.release. 
W/System  (  477): A resource failed to call Surface.release. 
W/System  (  477): A resource failed to call Surface.release. 
I/ViewRootImpl@67175be[MainActivity](  477): Resizing android.view.ViewRootImpl@20b6860: frame = [0,0][1080,2340] reportDraw = true forceLayout = false syncSeqId = -1
I/estream.example(  477): Thread[6,tid=493,WaitingInMainSignalCatcherLoop,Thread*=0xb400007253449000,peer=0x12c01728,"Signal Catcher"]: reacting to signal 3
I/estream.example(  477): 
I/estream.example(  477): Wrote stack traces to tombstoned
Lost connection to device.
Failed to send request: {"jsonrpc":"2.0","id":"149","method":"getMemoryUsage","params":{"isolateId":"isolates/50231327672807"}}
@roongzee roongzee added the bug Something isn't working label Sep 15, 2024
@ThibaultBee
Copy link
Member

I see you closed: #65. How did you fix it? Isn't this one related?

I don't have any NGINX RTMP server accessible, so I can't reproduce. Do you have any relevant logs on your server side?

@roongzee
Copy link
Author

Hello.
#65 was a problem with the version.
I'm not sure exactly what version it is, but I was using an older version. I tried the latest version again and it worked fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants