Skip to content

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

Open
@roongzee

Description

@roongzee

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"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions