I am not able stream video in Raspberry Pi 4 Model B Rev 1.5 #2157
Unanswered
vasoyanikhil
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Are you using the camera module as your camera? If so you should be using Refer to https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producersdk-cpp-rpi-run.html |
Beta Was this translation helpful? Give feedback.
1 reply
-
Could you share the output of You might be able to get something working by replacing the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am not able to stream video in hw Raspberry Pi 4 Model B Rev 1.5. I am using sample code kvsWebrtcClientMasterGstSample.c and I modified only pipeline code. please find below.
PVOID sendGstreamerAudioVideo(PVOID args) function inside
HW configuration:
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Revision : d03115
Serial : 10000000594e890e
Model : Raspberry Pi 4 Model B Rev 1.5
sw configuration:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
terminal command:
GST_DEBUG=3 ./kvsWebrtcClientMasterGstSample audio-video opus h264
logs:
peer with address 3.110.130.122:65259
2025-07-16 04:54:46.962 INFO stepIceAgentStateMachine(): Ice agent state changed from ICE_AGENT_STATE_CONNECTED to ICE_AGENT_STATE_NOMINATING.
2025-07-16 04:54:46.962 VERBOSE stepStateMachine(): [ICE] State Machine - Current state: 0x0000000000000008, Next state: 0x0000000000000010, Current local state retry count [0], Max local state retry count [0], State transition wait time [0] ms
2025-07-16 04:54:46.962 PROFILE iceAgentReadyStateSetup(): Selected pair 6+C2gQx2Y_H5r2L/v0q, local candidate type: relay. remote candidate type: relay. Round trip time 105 ms. Local candidate priority: 16777215, ice candidate pair priority: 72057589810086911
2025-07-16 04:54:46.962 DEBUG iceAgentReadyStateSetup(): Freeing Turn allocations that are not selected. Total turn allocation count 2
2025-07-16 04:54:46.962 PROFILE executeReadyIceAgentState(): [ICE Agent ready for media exchange from check connection start] Time taken: 602 ms
2025-07-16 04:54:46.962 INFO stepIceAgentStateMachine(): Ice agent state changed from ICE_AGENT_STATE_NOMINATING to ICE_AGENT_STATE_READY.
2025-07-16 04:54:46.962 VERBOSE stepStateMachine(): [ICE] State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000010, Current local state retry count [1], Max local state retry count [0], State transition wait time [0] ms
2025-07-16 04:54:46.963 DEBUG handleStunPacket(): Pair binding response! 6+C2gQx2Y H5r2L/v0q
2025-07-16 04:54:46.963 VERBOSE iceAgentSendKeepAliveTimerCallback(): send keep alive
2025-07-16 04:54:47.016 DEBUG handleStunPacket(): Pair binding response! 6+C2gQx2Y H5r2L/v0q
2025-07-16 04:54:47.022 DEBUG iceUtilsSendStunPacket(): Sending BINDING_RESPONSE_SUCCESS to ip:3.110.130.122, port:56256
2025-07-16 04:54:47.022 DEBUG handleStunPacket(): Pair binding request! 6+C2gQx2Y H5r2L/v0q
2025-07-16 04:54:47.206 DEBUG iceUtilsSendStunPacket(): Sending BINDING_RESPONSE_SUCCESS to ip:3.110.130.122, port:56256
2025-07-16 04:54:47.279 PROFILE dtlsSessionChangeState(): [DTLS initialization completion] Time taken: 316 ms
2025-07-16 04:54:47.279 PROFILE changePeerConnectionState(): [ICE Hole Punching Time] Time taken: 919 ms
2025-07-16 04:54:47.279 INFO onConnectionStateChange(): New connection state 3
2025-07-16 04:54:47.279 VERBOSE signalingClientGetCurrentState(): Signaling Client Get Current State
2025-07-16 04:54:47.279 VERBOSE signalingClientGetCurrentState(): Current state: 0x0000000000000100
2025-07-16 04:54:47.336 DEBUG iceUtilsSendStunPacket(): Sending BINDING_RESPONSE_SUCCESS to ip:3.110.130.122, port:56256
0:00:16.674335623 4716 0x7f9806c2a0 FIXME default gstutils.c:4031:gst_pad_create_stream_id_internal:autovideosrc0-actual-src-pipewir:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:16.674335271 4716 0x7f9806c120 FIXME default gstutils.c:4031:gst_pad_create_stream_id_internal:autoaudiosrc0-actual-src-puls:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:16.974022739 4716 0x7f9806c0c0 WARN audio-resampler audio-resampler.c:274:convert_taps_gint16_c: can't find exact taps
2025-07-16 04:54:47.762 VERBOSE stepStateMachine(): [TURN-0x7fac467010] State Machine - Current state: 0x0000000000000040, Next state: 0x0000000000000040, Current local state retry count [1], Max local state retry count [0], State transition wait time [0] ms
2025-07-16 04:54:47.762 VERBOSE stepStateMachine(): [TURN-0x7fac435010] State Machine - Current state: 0x0000000000000040, Next state: 0x0000000000000040, Current local state retry count [1], Max local state retry count [0], State transition wait time [0] ms
2025-07-16 04:54:47.762 VERBOSE stepStateMachine(): [TURN-0x7fac435010] State Machine - Current state: 0x0000000000000040, Next state: 0x0000000000000080, Current local state retry count [0], Max local state retry count [0], State transition wait time [0] ms
2025-07-16 04:54:47.762 DEBUG stepTurnConnectionStateMachine(): [0x7fac435010] Turn connection state changed from TURN_STATE_READY to TURN_STATE_CLEAN_UP.
2025-07-16 04:54:47.762 VERBOSE stepStateMachine(): [TURN-0x7fac435010] State Machine - Current state: 0x0000000000000080, Next state: 0x0000000000000080, Current local state retry count [1], Max local state retry count [0], State transition wait time [0] ms
2025-07-16 04:54:47.785 DEBUG turnConnectionHandleStun(): [0x7fac467010] Create permission succeeded for peer 3.110.130.122:60414
2025-07-16 04:54:47.785 PROFILE turnConnectionHandleStun(): [0x7fac467010 - 3.110.130.122:60414 - TURN create permission] Time taken: 23 ms
2025-07-16 04:54:47.785 DEBUG turnConnectionHandleStun(): [0x7fac467010] Create permission succeeded for peer 3.110.130.122:20734
2025-07-16 04:54:47.785 PROFILE turnConnectionHandleStun(): [0x7fac467010 - 3.110.130.122:20734 - TURN create permission] Time taken: 23 ms
2025-07-16 04:54:47.785 DEBUG turnConnectionHandleStun(): [0x7fac467010] Create permission succeeded for peer 3.110.130.122:25048
2025-07-16 04:54:47.785 PROFILE turnConnectionHandleStun(): [0x7fac467010 - 3.110.130.122:25048 - TURN create permission] Time taken: 23 ms
2025-07-16 04:54:47.785 DEBUG turnConnectionHandleStun(): [0x7fac467010] Create permission succeeded for peer 3.110.130.122:37574
2025-07-16 04:54:47.785 PROFILE turnConnectionHandleStun(): [0x7fac467010 - 3.110.130.122:37574 - TURN create permission] Time taken: 23 ms
2025-07-16 04:54:47.785 DEBUG turnConnectionHandleStun(): [0x7fac435010] Create permission succeeded for peer 3.110.130.122:60414
2025-07-16 04:54:47.785 PROFILE turnConnectionHandleStun(): [0x7fac435010 - 3.110.130.122:60414 - TURN create permission] Time taken: 23 ms
2025-07-16 04:54:47.785 DEBUG turnConnectionHandleStun(): [0x7fac435010] Create permission succeeded for peer 3.110.130.122:20734
2025-07-16 04:54:47.785 PROFILE turnConnectionHandleStun(): [0x7fac435010 - 3.110.130.122:20734 - TURN create permission] Time taken: 23 ms
2025-07-16 04:54:47.785 DEBUG turnConnectionHandleStun(): [0x7fac435010] Create permission succeeded for peer 3.110.130.122:25048
2025-07-16 04:54:47.785 PROFILE turnConnectionHandleStun(): [0x7fac435010 - 3.110.130.122:25048 - TURN create permission] Time taken: 23 ms
2025-07-16 04:54:47.785 DEBUG turnConnectionHandleStun(): [0x7fac435010] Create permission succeeded for peer 3.110.130.122:37574
2025-07-16 04:54:47.785 PROFILE turnConnectionHandleStun(): [0x7fac435010 - 3.110.130.122:37574 - TURN create permission] Time taken: 23 ms
2025-07-16 04:54:47.785 DEBUG turnConnectionHandleStun(): TURN Allocation freed.
2025-07-16 04:54:47.960 VERBOSE stepStateMachine(): [ICE] State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000010, Current local state retry count [1], Max local state retry count [0], State transition wait time [0] ms
2025-07-16 04:54:48.582 DEBUG iceUtilsSendStunPacket(): Sending BINDING_RESPONSE_SUCCESS to ip:3.110.130.122, port:56256
2025-07-16 04:54:48.762 VERBOSE stepStateMachine(): [TURN-0x7fac467010] State Machine - Current state: 0x0000000000000040, Next state: 0x0000000000000040, Current local state retry count [1], Max local state retry count [0], State transition wait time [0] ms
2025-07-16 04:54:48.762 DEBUG socketConnectionClosed(): Close socket 13
2025-07-16 04:54:48.762 VERBOSE stepStateMachine(): [TURN-0x7fac435010] State Machine - Current state: 0x0000000000000080, Next state: 0x0000000000000080, Current local state retry count [1], Max local state retry count [0], State transition wait time [0] ms
2025-07-16 04:54:48.785 DEBUG turnConnectionHandleStun(): [0x7fac467010] Channel bind succeeded with peer 3.110.130.122, port: 60414, channel number 16387
2025-07-16 04:54:48.785 PROFILE turnConnectionHandleStun(): [0x7fac467010 - 3.110.130.122:60414:16387 - TURN bind channel] Time taken: 22 ms
2025-07-16 04:54:48.785 DEBUG turnConnectionHandleStun(): [0x7fac467010] Channel bind succeeded with peer 3.110.130.122, port: 20734, channel number 16388
2025-07-16 04:54:48.785 PROFILE turnConnectionHandleStun(): [0x7fac467010 - 3.110.130.122:20734:16388 - TURN bind channel] Time taken: 22 ms
2025-07-16 04:54:48.785 DEBUG turnConnectionHandleStun(): [0x7fac467010] Channel bind succeeded with peer 3.110.130.122, port: 25048, channel number 16389
2025-07-16 04:54:48.785 PROFILE turnConnectionHandleStun(): [0x7fac467010 - 3.110.130.122:25048:16389 - TURN bind channel] Time taken: 22 ms
2025-07-16 04:54:48.785 DEBUG turnConnectionHandleStun(): [0x7fac467010] Channel bind succeeded with peer 3.110.130.122, port: 37574, channel number 16390
2025-07-16 04:54:48.785 PROFILE turnConnectionHandleStun(): [0x7fac467010 - 3.110.130.122:37574:16390 - TURN bind channel] Time taken: 22 ms
2025-07-16 04:54:48.960 VERBOSE stepStateMachine(): [ICE] State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000010, Current local state retry count [1], Max local state retry count [0], State transition wait time [0] ms
2025-07-16 04:54:48.961 DEBUG freeSocketConnection(): close socket with ip: 0000:0000:0000:0000:0000:0000:0000:0000:0. family:0
2025-07-16 04:54:48.961 DEBUG freeSocketConnection(): close socket connected with ip: 13.232.135.239:443. family:1
2025-07-16 04:54:49.355 VERBOSE rtcpReportsCallback(): sender report 1643740084 17015073390617479316 157737752041976 : 0 packets 0 bytes
2025-07-16 04:54:49.355 VERBOSE rtcpReportsCallback(): sender report 1690153301 17015073390618366656 84126801089064 : 0 packets 0 bytes
2025-07-16 04:54:49.493 VERBOSE rtcpReportsCallback(): sender report 1643740084 17015073391211334995 157737752054420 : 0 packets 0 bytes
2025-07-16 04:54:49.612 VERBOSE rtcpReportsCallback(): sender report 1690153301 17015073391722679198 84126801101405 : 0 packets 0 bytes
2025-07-16 04:54:49.647 DEBUG iceUtilsSendStunPacket(): Sending BINDING_RESPONSE_SUCCESS to ip:3.110.130.122, port:56256
2025-07-16 04:54:49.674 VERBOSE rtcpReportsCallback(): sender report 1643740084 17015073391989750573 157737752070732 : 0 packets 0 bytes
2025-07-16 04:54:49.762 VERBOSE stepStateMachine():
Beta Was this translation helpful? Give feedback.
All reactions