Posts

Post not yet marked as solved
0 Replies
815 Views
I have an application in iOS that needs to be stream from a device and display on iPhone. Also the user needs to record the stream to phone storage when they tap a button. Added a pipeline in server side: gst-launch-1.0 -v avfvideosrc device-index=0 ! video/x-raw,framerate=20/1 ! videoscale ! videoconvert ! x264enc tune=zerolatency bitrate=500 speed-preset=superfast ! rtph264pay ! queue ! udpsink host=192.168.0.106 port=5005 also in client side: (GStreamerBackend.m) pipeline = gst_parse_launch("udpsrc port=5005 caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, tune=zerolatency, bitrate=500, speed-preset=superfast, payload=96" ! rtph264depay ! h264parse ! tee name=t t. ! queue ! avimux ! filesink location=/var/mobile/Containers/Data/Application/C40A7960-18CC-480E-9171-520ADF26BB8D/Documents/video1.avi t. ! queue leaky=1 ! decodebin ! videoconvert ! autovideosink sync=false", &error); This will display and record the stream correctly. But how do I separate the display and record? I need to record the stream only on button click. I need to add a new class for start and stop recording. I found the code in .c But need it in objective c. If anybody knows, please let me inform.
Posted
by sreejag.
Last updated
.
Post not yet marked as solved
0 Replies
339 Views
I have fire alarm application. During app is terminated state, a remote push notification with a custom sound is receieved, the app will play the sound. After some time the alarm clearing notification received. I need to stop the custom sound during the second ntoification. Also if the second notification didn't arrive, i need to repeat the sound. The audio which i saved in bundle has 22 sec length.Please respond if anyone have this issue?
Posted
by sreejag.
Last updated
.